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

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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...