Getting Data In

Why is windows log going to the wrong sourcetype?

So76
Explorer

Logs are going to source= WinEventLog:Application and sourcetype="WinEventLog" instead of source="WinEventLog:Security" sourcetype="WinEventLog:Security"

Ran this search

index=*** sourcetype="*wineventlog*" rha***s-wds EventCode=517 signature="The audit log was cleared"

Tags (2)
0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@So76  - Can you please share the following information?

  • Splunk version
  • inputs.conf contains that is collecting the logs
  • Do you have any parsing stage dynamic metadata changing attributes?
    • Search for "MetaData:Sourcetype" in transforms.conf on your indexers and heavy forwarders.
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Also you should told if you are using Splunk_TA_windows (also version) or have you just created those configurations by yourself? 

If you are using it have you installed it on all needed layers (UF - HF/IDX - SH) or only in some?

r. Ismo

0 Karma

So76
Explorer

Below is the config in TA_windows. No props or transforms. I did not configure it

[WinEventLog://Application]
disabled=0
index=*****

[WinEventLog://Security]
disabled=0
index=rhr_windows
blacklist=4674,5156

[WinEventLog://System]
disabled=0
index=*****

[WinEventLog://Microsoft-Windows-AppLocker/EXE and DLL]
disabled = 0
start_from = oldest
current_only = 0
checkpointInterval = 5
index=*****
renderXml=false

[WinEventLog://Microsoft-Windows-AppLocker/MSI and Script]
disabled = 0
start_from = oldest
current_only = 0
checkpointInterval = 5
index=*****
renderXml=false

[WinEventLog://Microsoft-Windows-AppLocker/Packaged app-Deployment]
disabled = 0
start_from = oldest
current_only = 0
checkpointInterval = 5
index=*****
renderXml=false

[WinEventLog://Microsoft-Windows-AppLocker/Packaged app-Execution]
disabled = 0
start_from = oldest
current_only = 0
checkpointInterval = 5
index=*****

0 Karma

So76
Explorer

Splunk Version 8.2 but HF is on 8.1.5

0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

Your configuration seems okay. I personally have not heard of any bug reported for Splunk that generates data in wrong sourcetypes.

You are also using the recent version of Splunk so that is even less likely to have that issue.

If you are sure that there are no props.conf or transforms.conf stanzas added/updated related to this data then you can contact Splunk support.

0 Karma

So76
Explorer

Will contact splunk support

0 Karma

isoutamo
SplunkTrust
SplunkTrust

One thing what you should still do is check those with btool on your HF (/UF). 

# For inputs on source system HF or was it UF?
splunk btool inputs list <stanza name here> --debug
# And for sourcetypes on your HF
splunk btool props list <sourcetype name here> --debug

That shows if there still is some other config files which overrides those settings. 

r. Ismo 

0 Karma

So76
Explorer

Will run btool as suggested. Will get back to you

Tags (1)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Raw Data to Executive-Ready Stories, Faster

Build Data Stories for Every Audience  A dashboard is rarely just a dashboard. It might be the view an ...

Guided Onboarding with Auto-schema Is Now Generally Available

  We are excited to announce the General Availability of Guided Onboarding with Auto-Schematization ...

ATTENTION: We’re Moving! (AGAIN!)

The Splunk Community Slack is undergoing a system migration to keep our workspace secure and ...