syslog chain instead of json
This commit is contained in:
@@ -295,13 +295,13 @@
|
||||
## Uncomment to remove deprecated metrics.
|
||||
# fielddrop = ["uptime_format"]
|
||||
|
||||
[[inputs.tail]]
|
||||
files = ["/var/log/mnml/mnml.log"]
|
||||
name_override = "mnml_log"
|
||||
data_format = "json"
|
||||
json_time_key = "time"
|
||||
json_time_format = "2006-01-02T15:04:05.999999999Z07:00"
|
||||
json_string_fields = ["level", "module", "msg"]
|
||||
# [[inputs.tail]]
|
||||
# files = ["/var/log/mnml/mnml.log"]
|
||||
# name_override = "mnml_log"
|
||||
# data_format = "json"
|
||||
# json_time_key = "time"
|
||||
# json_time_format = "2006-01-02T15:04:05.999999999Z07:00"
|
||||
# json_string_fields = ["level", "module", "msg"]
|
||||
|
||||
[[inputs.syslog]]
|
||||
server = "tcp://:6514"
|
||||
|
||||
Reference in New Issue
Block a user