rsyslogd
td-agent
(Fluentd package for Linux and macOS) on Ubuntu Xenial.brew
)._internal
database:test
. This is where we will be storing syslog
data:test
:sudo
to install the plugin./etc/td-agent/td-agent.conf
as follows:td-agent
with sudo service td-agent restart
.rsyslogd
rsyslogd
instances are already collecting data into the aggregator rsyslogd
, the settings for rsyslog
should remain unchanged. However, if this is a brand new setup, start forward syslog
output by adding the following line to /etc/rsyslogd.conf
:182.39.20.2
with the IP address of your aggregator server. Also, there is nothing special about port 42185
(do make sure this port is open though).rsyslogd
:syslog
data should be flowing into InfluxDB every 10 seconds (this is configured by flush_interval
).Explore
brings up the query interface that lets you write SQL queries against your log data.Visualization
and select the line chart:syslog
messages per facility/priority:system.daemon.info
series: