Reputation: 1611
I'm trying to figure out how Logstash integrates with syslog. Which of the following is true:
rsyslog
), and then configure some kind of bridge between the syslog server and the Logstash server? Or...I'm looking to understand the relationships between syslog client, syslog server, and Logstash.
Upvotes: 2
Views: 4664
Reputation: 17165
If you use the syslog input on logstash (http://logstash.net/docs/1.4.0/inputs/syslog), you are setting up a TCP/UDP syslog server. That means you have to tell your clients (say log4j) where your syslog server is, or configure a syslog instance already running to forward the messages on to your logstash instance (via a *.* @host
syntax in /etc/syslog.conf file).
It really depends on what your requirements are -- if you need to receive logs from a unix domain socket, you'll have to use the forwarding method or setup a file watcher to watch the /var/log/* files directly.
Upvotes: 3