Splunk Enterprise

Please help with how do I get a list of all Windows event codes that are being ingested into Splunk Ent. ? Thx a million

SamHTexas
Builder

How do I get a list of all Windows event codes being ingested into Splunk please?

Labels (1)
Tags (1)
0 Karma

ashvinpandey
Contributor

@SamHTexas Use the below query after adding your index and sourcetype:

Run this in the smart mode and timerange for around 7 days or 30 days if possible to get the total list

 

| search EventCode="*" | stats count by EventCode

 

 

Also, If this reply helps you, an upvote would be appreciated.

0 Karma

bray1111
Explorer

Are you asking for what you have defined in inputs.conf as far as deny or do you want to find what event codes have been ingested?

This question/answer covers the inputs entries related to denies. https://community.splunk.com/t5/Getting-Data-In/How-to-create-more-than-10-blacklists-for-the-same-i...

this search should give you a breakdown of event codes with counts per code.

index=wineventlog
| stats count by EventCode

You'll probably want to expand on that using other fields like source and Name to better understand the codes.

0 Karma
Get Updates on the Splunk Community!

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 ...

Get More Out of Your Security Practice With a SIEM

Get More Out of Your Security Practice With a SIEMWednesday, July 31, 2024  |  11AM PT / 2PM ETREGISTER ...