Skip to content

Commit

Permalink
Merge branch 'main' of github.com:m-cmp/mc-observability
Browse files Browse the repository at this point in the history
  • Loading branch information
ish-hcc committed Oct 31, 2024
2 parents 7ce7f28 + 4c22092 commit 7c73c30
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions java-module/manager-conf/c_2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
data_format = "grok"
grok_patterns = ["%{SYSLOGTIMESTAMP:timestamp} %{HOSTNAME:host} %{HOSTNAME} %{PROG:program}\\[%{NUMBER:pid}\\]: %{GREEDYDATA:message}"]

[[inputs.tail]]
files = ["/var/log/syslog"]
from_beginning = false
watch_method = "inotify"

data_format = "grok"
grok_patterns = ["%{SYSLOGTIMESTAMP:timestamp} %{HOSTNAME:host} %{PROG:program}\\[%{NUMBER:pid}\\]: %{GREEDYDATA:message}"]

[[processors.regex]]
[[processors.regex.fields]]
key = "message"
Expand Down

0 comments on commit 7c73c30

Please sign in to comment.