11-27-2019 12:42 PM
Hello Experts,
Looking to add a syslog server to MX100, any suggestions?I'm new to building a syslog server. Thanks.
Hubble
Solved! Go to Solution.
11-27-2019 01:28 PM
11-27-2019 12:47 PM
12-01-2019 04:09 PM
11-27-2019 01:16 PM
I use https://papertrailapp.com/. It has a free tier and kind of goes with the cloud concept of Meraki well.
04-26-2021 06:48 PM
@Brandon Svec I see that PaperTrail has pricing based on storage capacity rather than number of endpoints. Are you able to provide an estimate of storage required per switch. I'm looking at deploying around 70 switches. Thanks.
04-27-2021 09:55 AM
@SNSGS I don't think I can estimate and I suppose it will depend on each environment and which messages you choose to send, but I do have dozens of devices sending what seems to be a lot of messages for only $10/mo. You can also filter out messages on the receiving end that will not count toward your quota.
Best.
11-27-2019 01:28 PM
12-01-2019 04:10 PM
Thanks, I’ll try that
11-28-2019 12:01 AM
I like Linux and for be I would be using Ubuntu and its built in syslog service. This is a complete step by step guide.
https://computingforgeeks.com/how-to-configure-rsyslog-centralized-log-server-on-ubuntu-18-04-lts/
12-01-2019 04:10 PM
Thanks I’ll look into it
12-02-2019 07:23 AM
Splunk and ELK (Elasticsearch, Logstash, Kibana) even more so are great tools for monitoring and visualizing. The downside is the steeper learning curve, but it's deinitely worth it!
12-02-2019 11:15 AM
10-20-2022 12:30 PM
@Philip D'Ath Sorry for asking a rather Linux question than a Meraki one but unable to get any syslog info on the rsyslog server installed on ubunto server. Below are the details of the config file.
I am trying to run commands like cat /var/log/messages and tail -f /var/log/messages to get logs from Meraki network.
# /etc/rsyslog.conf Configuration file for rsyslog.
#
# For more information see
# /usr/share/doc/rsyslog-doc/html/rsyslog_conf.html
#
# Default logging rules can be found in /etc/rsyslog.d/50-default.conf
#################
#### MODULES ####
#################
module(load="imuxsock") # provides support for local system logging
module(load="immark") # provides --MARK-- message capability
# provides UDP syslog reception
module(load="imudp")
input(type="imudp" port="514")
# provides TCP syslog reception
module(load="imtcp")
input(type="imtcp" port="514")
$template remote-incoming-logs,"/var/log/%HOSTNAME%/%PROGRAMNAME%.log"
*.* ?remote-incoming-logs
& ~
# provides kernel logging support and enable non-kernel klog messages
module(load="imklog" permitnonkernelfacility="on")
###########################
#### GLOBAL DIRECTIVES ####
###########################
#
# Use traditional timestamp format.
# To enable high precision timestamps, comment out the following line.
#
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
# Filter duplicated messages
$RepeatedMsgReduction on
#
# Set the default permissions for all log files.
#
$FileOwner syslog
$FileGroup adm
$FileCreateMode 0640
$DirCreateMode 0755
$Umask 0022
$PrivDropToUser syslog
$PrivDropToGroup syslog
#
# Where to place spool and state files
#
$WorkDirectory /var/spool/rsyslog
#
# Include all config files in /etc/rsyslog.d/
#
$IncludeConfig /etc/rsyslog.d/*.conf
10-20-2022 12:34 PM
It looks like the filenames might be /var/log/%HOSTNAME%/%PROGRAMNAME%.log.
Do a "ls -l /var/log", and look for any extra log files that might reference the host device.
10-20-2022 01:49 PM
Attached image shows various other files/directories. Name of the server is syslog. Still unable to get any logs out of Meraki.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide