tag in in_tail

40 views
Skip to first unread message

Sivaraman Viswanathan

unread,
May 7, 2013, 10:44:46 AM5/7/13
to flu...@googlegroups.com
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.

Masahiro Nakagawa

unread,
May 7, 2013, 6:42:52 PM5/7/13
to flu...@googlegroups.com
Hi Sivaraman,

Could you paste the entire logs and configuration file?
I assume you forgot to add <match tag1> section.


Masahiro


--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages