create filter to remove entries

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
pgh2011
Posts: 11
Joined: Tue Feb 28, 2017 7:36 am

create filter to remove entries

Post by pgh2011 »

Hi,

Can someone give me an example on howto remove a logentry from the dashboard with a filter.
On the dashboard I can create a (temp) filter; but it doesn't show how to use this as a logstash filter.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: create filter to remove entries

Post by mcapra »

There's a distinct difference between dashboard filters and Logstash filters. They don't work in the same way.

Are you looking or a Logstash filter rule that will drop/delete certain traffic? That might look something like this:

Code: Select all

if [conditions] {
    drop{}
}
Be very careful using that though. Once the traffic is dropped, it is really really hard to get it back.
Former Nagios employee
https://www.mcapra.com/
Locked