227d10c01c
Change-Id: I211a9cff3594918e4b79f2b0c43f5e66772c305a
30 lines
765 B
Plaintext
30 lines
765 B
Plaintext
<source>
|
|
@type tail
|
|
path /var/log/barbican/*.log
|
|
pos_file /var/run/td-agent/devstack-openstack_barbican.pos
|
|
tag devstack-barbican
|
|
path_key module
|
|
<parse>
|
|
@type none
|
|
</parse>
|
|
read_from_head false
|
|
ignore_repeated_permission_error true
|
|
enable_watch_timer false
|
|
</source>
|
|
<filter devstack-barbican>
|
|
@type record_transformer
|
|
enable_ruby true
|
|
<record>
|
|
Hostname ${hostname}
|
|
Logger barbican
|
|
programname ${record['module']}
|
|
</record>
|
|
</filter>
|
|
<filter devstack-barbican>
|
|
@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> |