/opt/splunkforwarder/bin/splunk add monitor /path/to/app/logs/ -index main -sourcetype %app%
Other than that, nothing is being forwarded.
A little insight to my setup:
SO is the most recent version running as standalone. The Splunk server is a Server 2008 R2 machine and Splunk is running the trial version. Splunk has all required apps to work with SO.
I have installed and configured the Universal forwarder on the SO server as well as installed the app on the SO server from here:
http://apps.splunk.com/app/1095/
And followed the install directions here:
http://eyeis.net/2012/07/announcing-security-onion-for-splunk-serversensor-add-on/
But nothing but the Bro logs are being forwarded. Did I miss something?
Thank you in advance for your time...
/opt/splunkforwarder/etc/apps/securityonion_addon/default/inputs.conf
You should see a lot more bro lines than this, but these are 2 of them as an example:
[monitor:///nsm/bro/logs/current/conn.log]
disabled = 0
followTail = 0
sourcetype = bro_conn
[monitor:///nsm/bro/logs/current/dns.log]
disabled = 0
followTail = 0
sourcetype = bro_dns
/opt/splunkforwarder/etc/apps/securityonion_addon/default/inputs.conf
Hi Greg,
Thanks for your response. Here is a snippet of what my inputs.conf looks like:
[monitor:///nsm/bro/logs/current/communication.log]
disabled = 1
followTail = 0
sourcetype = bro_communication
[monitor:///nsm/bro/logs/current/conn.log]
disabled = 0
followTail = 0
sourcetype = bro_conn
[monitor:///nsm/bro/logs/current/dns.log]
disabled = 0
followTail = 0
sourcetype = bro_dns
[monitor:///nsm/bro/logs/current/dpd.log]
disabled = 0
followTail = 0
sourcetype = bro_dpd
[monitor:///nsm/bro/logs/current/ftp.log]
disabled = 0
followTail = 0
sourcetype = bro_ftp
[monitor:///nsm/bro/logs/current/http*.log]
disabled = 0
followTail = 0
sourcetype = bro_http
It all looks correct, however, when I browsed out to /nsm/bro/logs/current to find if those log files were actually present, they weren't. The only log files in the "current" directory were communication, reporter, stderr and stdout.
Any ideas why those would be missing?
What I found to be the fix was running broctl install followed by broctl restart. The logs magically appeared when I did that. Not sure if that is something I missed while setting up SO, or if it happened because of another reason.
So, data is flowing to Splunk...for the most part. Bro logs seem complete with the exception of the http.log. I've checked inputs.conf and it was pointing to /nsm/bro/logs/current/http*.log which certainly should work, but it wasnt pushing any data. So, I renamed it to be the exact name of the http_eth1.log and still no luck...