Hello All,
I'm trying to setup the following for sending logs from my security event manger to my Hadoop cluster using Fluentd:
Q-Radar Seim ---> FluentD -----> Webhdfs on my hadoop cluster
Q-Radar is configured to send syslog events to Fluentd on port 5000, tcp. Using tcpdump I can see Q-Radar making the connection on the correct port to my datanode where Fluentd is running.
The connection from Fluentd to my namenode is created as logged in the td-agent-log. However no events from Q-Radar are processed.
+++++++++++++++++++++++++++++++
tail -50 /var/log/td-agent/td-agent.log
+++++++++++++++++++++++++++++++
2015-10-20 09:03:39 -0700 [info]: starting fluentd-0.12.12
2015-10-20 09:03:39 -0700 [info]: gem 'fluent-mixin-config-placeholders' version '0.3.0'
2015-10-20 09:03:39 -0700 [info]: gem 'fluent-mixin-plaintextformatter' version '0.2.6'
2015-10-20 09:03:39 -0700 [info]: gem 'fluent-plugin-mongo' version '0.7.10'
2015-10-20 09:03:39 -0700 [info]: gem 'fluent-plugin-rewrite-tag-filter' version '1.4.1'
2015-10-20 09:03:39 -0700 [info]: gem 'fluent-plugin-s3' version '0.5.9'
2015-10-20 09:03:39 -0700 [info]: gem 'fluent-plugin-scribe' version '0.10.14'
2015-10-20 09:03:39 -0700 [info]: gem 'fluent-plugin-td' version '0.10.27'
2015-10-20 09:03:39 -0700 [info]: gem 'fluent-plugin-td-monitoring' version '0.2.1'
2015-10-20 09:03:39 -0700 [info]: gem 'fluent-plugin-webhdfs' version '0.4.1'
2015-10-20 09:03:39 -0700 [info]: gem 'fluentd' version '0.12.12'
2015-10-20 09:03:39 -0700 [info]: adding match pattern="hdfs.*.*" type="webhdfs"
2015-10-20 09:03:39 -0700 [info]: adding source type="syslog"
2015-10-20 09:03:39 -0700 [info]: using configuration file: <ROOT>
<source>
type syslog
port 5000
bind 0.0.0.0
tag system
with_priority true
</source>
<match hdfs.*.*>
type webhdfs
port 50070
username hdfs
flush_interval 10s
time_slice_format %Y%m%d%H
</match>
</ROOT>
++++++++++++++++++++++
td-agent.conf
++++++++++++++++++++++
# setup for accepting evnets and sending to hdfs
# Receive events from 5000/tcp
# This is used by log forwarding and the fluent-cat command
<source>
type syslog
port 5000
bind 0.0.0.0
tag system
</source>
<match hdfs.*.*>
type webhdfs
port 50070
path /user/log/%Y%m%d_%H/access.log.${hostname}
username hdfs
flush_interval 10s
</match>
Given the above what have I missed?
Regards
TimW