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
Esteemed Legend

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
Esteemed Legend

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
Esteemed Legend

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

0 Karma
Get Updates on the Splunk Community!

How I Instrumented a Rust Application Without Knowing Rust

As a technical writer, I often have to edit or create code snippets for Splunk's distributions of ...

Splunk Community Platform Survey

Hey Splunk Community, Starting today, the community platform may prompt you to participate in a survey. The ...

Observability Highlights | November 2022 Newsletter

 November 2022Observability CloudEnd Of Support Extension for SignalFx Smart AgentSplunk is extending the End ...