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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Classic British Rock Bands

This puzzle series (first published here) is based on extracting information from statements about well-known ...

New to the Community? Join Us for an Exclusive Post .conf26 Welcome Session (Plus a ...

Keep the .conf26 Energy Going: Welcome to the Splunk Community! Whether we scanned your badge at the Community ...

Accelerate Splunk App Development with AI

  Learn how to automate the repetitive parts of your build cycle.   Register to Attend   Join our Tech Talk ...