Configuration
Copy and paste to fluent.conf
or td-agent.conf
<source>
type tail
path /var/log/foo/bar.log
pos_file /var/log/td-agent/foo-bar.log.pos
tag foo.bar
format /(?<time>[^ ]*)/
time_format %iso8601
</source>
type tail
path /var/log/foo/bar.log
pos_file /var/log/td-agent/foo-bar.log.pos
tag foo.bar
format /(?<time>[^ ]*)/
time_format %iso8601
</source>
Data Inspector
Attributes
Key | Value |
---|---|
time | 2021/11/30 16:40:25 +0000 |
Records
Key | Value |
---|