Hi I just installed fluentd and tried to get in_tail plugin to work.
The sample csv file that I use for tailing is:
"try","ry",34
"fd","qq","ggt56"
"ret","a","3ert3"
"er","f","dtet"
"er","g","jty"
"ef","h","hgr4"
"ed","88i","bvg5"
"ytu","y78","we3"
"yu","klo9","as34fr"
My in_tail config stands like this:
<source>
type tail
path /home/user1/sample.csv
pos_file /var/log/td-agent/sample.csv.pos
tag tag1
format csv
keys key1, key1, key3
</source>
On restarting the td_agent, it creates the file sample.csv.pos at /var/log/td-agent/.
But not sure what is the significance of tag ..I just gave it as tag1. In the td-agent.log file it says that could not find pattern like tag1...
Please help.