Getting Data In

WinEventlog Input for [WinEventLog://Microsoft-Windows-Shell-Core/AppDefaults]

dkeck
Influencer

Hi,

I try to monitor Microsoft-Windows-Shell-Core/AppDefaults directory.

I tried adding it to Splunk_TA_windows by adding an input stanza in inputs.conf

looking like:

[WinEventLog://Microsoft-Windows-Shell-Core/AppDefaults]
disabled = 1
start_from = oldest
current_only = 0
checkpointInterval = 5
renderXml=true
index=test_windows

But no data is indexed. I also tried [WinEventLog:Microsoft-Windows-Shell-Core/AppDefaults], makes no difference.

Data is displayed within the event viewer.

Since its a non-default input channel I assume there is no default channel in the Splunk_TA_windows??

Any help is appreciated.

Thank you

David

Tags (2)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @dkeck,
if you used the configuration you shared, the problem is on disable=1 that means no input!
If you want a log, you have to configure disable=0 in that stanza.
Anyway, the correct approach is:

  • take the Splunk TA_Windows,
  • put disable=0 in all the stanzas you need,
  • deploy the TA to your forwarders,
  • restart Splunk on Forwarders.

You can deploy TAs manually or using a Deployment Server.

Ciao.
Giuseppe

View solution in original post

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @dkeck,
if you used the configuration you shared, the problem is on disable=1 that means no input!
If you want a log, you have to configure disable=0 in that stanza.
Anyway, the correct approach is:

  • take the Splunk TA_Windows,
  • put disable=0 in all the stanzas you need,
  • deploy the TA to your forwarders,
  • restart Splunk on Forwarders.

You can deploy TAs manually or using a Deployment Server.

Ciao.
Giuseppe

0 Karma

dkeck
Influencer

Ok thank you.

I was to stupid, disabled 1 always gets me...

Okay its working with [WinEventLog://Microsoft-Windows-Shell-Core/AppDefaults]

0 Karma

gcusello
SplunkTrust
SplunkTrust

No Problem! You're welcomw.
Ciao and next Time.
Giuseppe

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