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 /(?<log>.*)/
</source>
type tail
path /var/log/foo/bar.log
pos_file /var/log/td-agent/foo-bar.log.pos
tag foo.bar
format /(?<log>.*)/
</source>
Data Inspector
Attributes
Key | Value |
---|---|
time | 2024/09/06 17:25:35 +0000 |
Records
Key | Value |
---|---|
log | hosta.co.jp - - [24/Dec/2013:15:11:59 +0900] "GET /server?auto HTTP/1.1" 200 1186 "-" "curl/7.15.5 (i486-pc-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8c |