Syslog Search Regular Expression - RegEx - Exclude - Not
Moderators: Developers, Moderators
Syslog Search Regular Expression - RegEx - Exclude - Not
I see "Enter a regular expression" in the Search field in the Syslog plugin tab. It works as expected for me if I do a simple search for a word, but what if I want the search results to exclude entries with a word? I have not been able to figure out the syntax to enter. I put the word 'successful' in the Search field and I get lines with that word shown, but what do I put in the Search field to show all lines except those containing a word? Thank you.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Syslog Search Regular Expression - RegEx - Exclude - Not
There is a custom SQL option where you can construct a SQL Where expression. Might take some trial and error, but it works.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Syslog Search Regular Expression - RegEx - Exclude - Not
I still have not gotten this to work. Could I please get some details? Or examples please? Thank you.
Re: Syslog Search Regular Expression - RegEx - Exclude - Not
(host like 'vmw1%' or host like 'vmw2%') and message like 'LLDP_%'
Let the Cacti grow!
Who is online
Users browsing this forum: No registered users and 2 guests