diff --git a/devstack/fluentd-conf/input/18-magnum.conf b/devstack/fluentd-conf/input/18-magnum.conf new file mode 100644 index 0000000..5c73225 --- /dev/null +++ b/devstack/fluentd-conf/input/18-magnum.conf @@ -0,0 +1,14 @@ + + @type tail + path /var/log/kolla/magnum/*.log + pos_file /var/run/td-agent/devstack-openstack_magnum.pos + tag devstack + format multiline + format_firstline /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}.\d{3} \d+ \S+ \S+ \[(\S+ req-\S+ \S+ \S+ \S+ \S+ \S+|-)\]/ + format1 /^(?\S+ \S+) (?\d+) (?\S+) (?\S+) (\[(?\S+) (req-(?\S+) (?\S+) (?\S+) (?\S+) (?\S+) (?\S+)|-)\])? (?.*)?$/ + time_key Timestamp + keep_time_key true + time_format %F %T.%L + ignore_repeated_permission_error true + enable_watch_timer false +