To forward syslog events I know you can add a syslog server under Network Wide > Configure > General > Add a syslog server. However this is for a single site only. We have over 20 sites so I would like to know if there's a way to configure syslog forwarding in a single place for all networks.
Hi ,
Unfortunatly it is not possible. The setting is per network : https://documentation.meraki.com/General_Administration/Monitoring_and_Reporting/Syslog_Server_Overv...
It is not Org-wide
I called support and was told it can also be achieved by using Configuration templates or Dashboard API access along with scripts. I would assume this would raise the level of complexity.
That is correct , both options are possible.
However for templates you have to make sure that (most of ) the settings are identical across all sites.
We have sites of various sizes and settings. From small with 1 vlan to large with more than 10 vlans.
Would that leave Dashboard API access as the only other viable option? And is there a sample script with can use and modify for our purpose?
API is definitely the way to do this.
Firstly you'll need to your organisation ID - Get Organizations - Meraki Dashboard API v1 - Cisco Meraki Developer Hub
Then using that, you'll need to get a list of network ID's that you're applying the change to - Get Organization Networks - Meraki Dashboard API v1 - Cisco Meraki Developer Hub
Finally, you'll need to iterate through each network ID and perform the API call to update the syslog server config - Update Network Syslog Servers - Meraki Dashboard API v1 - Cisco Meraki Developer Hub
The above links provide examples of how to use this call in a variety of programming languages - look on the right hand side of the page and click the tab "Template". You'll need to add in other bits such as the syntax of the for loops etc.
Would I have to modify the script each time new networks are added?