Splunk Search

Why is my search returning no events after data entry?

jip31
Motivator

Hello

I have done a data entry in Splunk for the log event below :

[WinEventLog://Microsoft-Windows-PowerCfg/Diagnostic]
checkpointInterval = 5
current_only = 0
disabled = 0
index = windows
start_from = oldest

But when I'm doing a search on this sourcetype, i have no events
I think its because these event logs don't exist in the event viewer?
if its the case is anybody knows how to create it?
thanks

Tags (1)
0 Karma

woodcock
Esteemed Legend

If there are no events in the Windows Event Viewer on that server, then you are correct: there is nothing to be sent to Splunk so you will not have any events to search.

0 Karma

inventsekar
Ultra Champion

from this host, do you have other logfiles being sent to Splunk?!?! are they reaching splunk indexer properly?!?!
after added the inputs.conf on that windows system, did you do splunk service restart?!?!

0 Karma

jip31
Motivator

yes for all your questions....

0 Karma

adonio
Ultra Champion

try to put index=windows or index=* before your search

0 Karma

jip31
Motivator

I done it but no events....

0 Karma

adonio
Ultra Champion
0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...