Network Management
Discard syslogs in Syslog Viewer
This page provides a quick guide on how to discard syslogs in Syslog Viewer.
First published date
Last published date
Overview
Product section
Cause
Resolution
- Stop Orion Syslog Service. This stops the syslog table from growing again.
- Edit your Syslog Retention Settings to keep Syslogs for x Days. Also, adjust the severity levels for the Syslog output on your devices to Warning or above.
- For 2019.4 and earlier:
- Go to "Settings" > "Polling Settings" under the "Thresholds & Polling" heading.
- Scroll down to "Database Settings" and look for "Syslog Message Retention".
- Adjust the retention settings (2 days by default).
- For 2019.4 and later versions::
- Go to your Orion Web Console.
- Go to Settings > All Settings > Log and Event.
- Adjust Syslog or Traps to default which is 7 or lower if possible.
- For 2019.4 and earlier:
- Disable sending of Syslog messages on your device.
- Syslog message comes to Orion Syslog Service. You can use rules/filters from Syslog Viewer to determine whether you want to store the syslog message in the database or discard it.
You can check the severity of syslogs here.
Make sure that all rules that are set up to “Discard messages” also contain the line "Stop processing syslog rules". The Syslog and Traps filters/rules work very differently than the Orion Alerting Engine. Each time a syslog message or trap is received it will work through every rule, from the top, until it either gets to the end or hits a rule that specifically tells it to "stop processing rules".
To Discard Syslog Messages:
- Open Syslog Viewer (by default C:\Program Files (x86)\SolarWinds\Orion).
- Go to File > Syslog Server settings > Alert/Filter Rules Tab.
In here you can filter using various methods: by IP address, by Message Type Patterns, Syslog Message Patterns, Severity, etc.
Add the following Alert Actions to your Rule: "Discard Syslog Message" and "Stop processing syslog rules"
"Stop processing syslog rules" rearranges the Syslog Rules so that the ones that filter and discard messages are at the top of the list. This will ensure that they are processed first.