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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...