venus/devstack/fluentd-conf/input/zun.conf
jiasirui cab2e0f560 remove useless label of zun
Change-Id: I20f2f9f4795fca1659f343cb005187f07419cd15
2022-09-14 16:08:37 +08:00

30 lines
735 B
Plaintext

<source>
@type tail
path /var/log/zun/*.log
pos_file /var/run/td-agent/devstack-openstack_zun.pos
tag devstack-zun
path_key module
<parse>
@type none
</parse>
read_from_head false
ignore_repeated_permission_error true
enable_watch_timer false
</source>
<filter devstack-zun>
@type record_transformer
enable_ruby true
<record>
Hostname ${hostname}
Logger zun
programname ${record['module']}
</record>
</filter>
<filter devstack-zun>
@type parser
key_name message
format /^(?<Timestamp>\S+ \S+) (?<Pid>\d+) (?<log_level>\S+) (?<python_module>\S+) (?<Payload>.*)?$/
time_format %F %T.%L
reserve_data true
emit_invalid_record_to_error false
</filter>