Getting Data In

Help with configuring exclusions for certain errors.

Tellon
New Member

My Goal is to exclude everything I already am for all servers, but only exclude EventIdentifier -2147482339 for two specific servers.

Before

Type=Error OR Type=Warning NOT EventIdentifier=1111 NOT EventIdentifier=1530 NOT EventIdentifier=36888 NOT EventIdentifier=-2046750718 NOT EventIdentifier=36887 host="*LYNC*" NOT EventIdentifier=1112 NOT EventIdentifier=-1073734824 Logfile=Application OR Logfile=System | dedup EventIdentifier sortby host | table Logfile EventIdentifier Message Type _time host

3 Results.

After

Type=Error OR Type=Warning NOT EventIdentifier=1111 NOT EventIdentifier=1530 NOT EventIdentifier=36888 NOT EventIdentifier=-2046750718 NOT EventIdentifier=36887 host="*LYNC*" NOT EventIdentifier=1112 NOT EventIdentifier=-1073734824 NOT EventIdentifier=-2147482339 AND (Host=A OR Host=B) Logfile=Application OR Logfile=System | dedup EventIdentifier sortby host | table Logfile EventIdentifier Message Type _time host

Expected 2 Results
Recieved 0 Results

What should I add for this?

0 Karma

lguinn2
Legend

I would add in parenthesis to make my meaning explicit:

Type=Error OR Type=Warning NOT EventIdentifier=1111 NOT EventIdentifier=1530 NOT EventIdentifier=36888 NOT EventIdentifier=-2046750718 NOT EventIdentifier=36887 host="*LYNC*" NOT EventIdentifier=1112 NOT EventIdentifier=-1073734824 NOT (EventIdentifier=-2147482339 AND (Host=A OR Host=B)) Logfile=Application OR Logfile=System | dedup EventIdentifier sortby host | table Logfile EventIdentifier Message Type _time host
0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...