diff --git a/devstack/fluentd-conf/input/02-glance.conf b/devstack/fluentd-conf/input/02-glance.conf new file mode 100644 index 0000000..babd6d7 --- /dev/null +++ b/devstack/fluentd-conf/input/02-glance.conf @@ -0,0 +1,14 @@ + + @type tail + path /var/log/kolla/glance/*.log + pos_file /var/run/td-agent/devstack-openstack_glance.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 + \ No newline at end of file