All Apps and Add-ons

Sourcetypes naming standard

a_naoum
Path Finder

Hello,

As far as I check the Windows TA from version 5.x+ the sourcetype name will be WinEventLog and XmlWinEventLog and for compatibility reason there is a rename search-time process to name sourcetype that doesn't follow the above to wineventlog and xmlwineventlog (all lower case).
The sourcetype naming is not working for nested logs like Powershell/Operational or Sysmon/Operational so they are falling to the search-time rename. I found that the reason is that the stanzas ta-windows-fix-xml-source,ta-windows-fix-sourcetype,ta-windows-fix-classic-source doesn't work when there is nested path.

So the question (if someone from Splunk TA Dev team answer will be better): Is there any plan in the future this to be fixed and all sourcetypes will follow the WinEventLog and XmlWinEventLog naming convention or this convention will be applicable only to standard logs (everything not nested)?

bzam
Explorer

I'm finding the same behavior (for powershell, sysmon, dcagent) here, but based on the props stanza in the Windows TA (version 8.0.0):

[(?::){0}WinEventLog:*]


I'm expecting the this to match with the MetaData:source

source::WinEventLog:Security
source::WinEventLog:Microsoft-Windows-Powershell/Operational
source::WinEventLog:Microsoft-AzureADPasswordProtection-DCAgent/Operational
source::WinEventLog:Microsoft-Windows-Sysmon/Operational

Then apply the transform ta-windows-fix-classic-source:

# fix classic source
DEST_KEY = MetaData:Source
REGEX = (?m)^LogName=(.+?)\s*$
FORMAT = source::WinEventLog:$1


I would think this would match these above event logs, unless they are different from what I'm thinking.  

Thanks!

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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