Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-28-2014, 01:48 PM
|
#1
|
LQ Newbie
Registered: Jan 2010
Posts: 26
Rep:
|
Trying to understand what rsyslogd does
Hi,
I have installed Snort and Splunk on the same server.
Splunk is receiving syslog messages on UDP 514 from my router.
However, I am having problems getting Snort to send anything to Splunk.
In the guides I have seen, it entails enabling Rsyslog. What does that do? They are both on the same machine, can't Snort just send to Splunk? Why the third party?
This syslog config for Snort is quite simple:
# syslog
# output alert_syslog: LOG_AUTH LOG_ALERT
output alert_syslog: host=192.168.0.251:514, LOG_AUTH LOG_ALERT
But the syslogs don't arrive at Splunk.
If I do load up rsyslog, Splunk stops receiving syslogs from my router.. I guess there is a conflict with 2 apps trying to listen on the same port.
It is possible to get rsyslog to work on TCP but I honestly don't know if it is sending or receiving.
Confused. Any explanation of how the puzzle fits together would be helpful.
Thanks!
seabro
|
|
|
08-29-2014, 08:01 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
if splunk is on the same box, then you'd just read snorts default local log files in most cases. rsyslog is (from what I understand) being used to bridge between locally logged syslog messages (through a syslog socket, not a network connection) to the generic network world. It does seem that snort can log directly though, so no, rsyslog shouldn't be required.
|
|
|
08-29-2014, 08:21 AM
|
#3
|
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278
|
Splunk is paid software, and will delete anything after 500MB of logs IIRC. So don't use it in production unless you pay for it.
Graylog2 and ELK are free alternatives to Splunk, if you are interested.
Last edited by szboardstretcher; 08-29-2014 at 08:56 AM.
|
|
|
08-29-2014, 01:40 PM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
wow, that's some odd, and unsolicited, hate for an excellent piece of software.
|
|
|
08-29-2014, 01:52 PM
|
#5
|
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278
|
This is a forum. The idea is to chime in if you have something constructive to say. I don't have to be invited to a conversation.
Quote:
hate for an excellent piece of software
|
I made no mention of 'hating' splunk.
Quote:
hate for an excellent piece of software
|
I would appreciate it if you didn't attempt to put words in my mouth.
Last edited by szboardstretcher; 08-29-2014 at 02:01 PM.
|
|
|
All times are GMT -5. The time now is 11:48 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|