Splunk Search

How do I search if a windows Event code xxxx from the Security logs is being ingested into Splunk?

SamHTexas
Builder

Please share a SPL to show if a certain event code ( Windows) from Security logs is being ingested into Splunk. I appreciate a response in advance.

Labels (2)
Tags (1)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

What do you mean by "is being"? Because a question for a simple field=value search seems a bit lazy 😉

0 Karma

SamHTexas
Builder

I mean a certain event code is being pulled into Splunk so we see it in the event logs. Thank u

Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @SamHTexas,

as @PickleRick said, you have only to add a simple filter to your main search, so e.g. if you want to find the login, logout and logfail events:

index=wineventlog (EventCode=4624 OR EventCode=4625 OR EventCode=4634=
| ...

The only problem is identify the EventCodes that you need.

Ciao.

Giuseppe

Get Updates on the Splunk Community!

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...