Getting Data In

How to override Source Type for Windows Eventlog

FritzWittwer_ol
Contributor

How do I change the sourcetype for evenets from Windows eventlog, it is usualy WinEventLog:, where logname may be for exameple System or Application. In the following inputs.conf configuration

[WinEventLog:System]
sourcetype=tidal_evtl
disabled = 0

the events arrive with a sourcetype of WinEventLog:System instead of tidal_evtl.

0 Karma

treinke
Builder

Using the props.conf file on the indexer might be the way to go. The following should make everything with a source of WinEventLog:System have a sourcetype of tidal_evtl.

[source::WinEventLog:System]
sourcetype = tidal_evtl
There are no answer without questions

FritzWittwer_ol
Contributor

Well this will not solve my problem, I have to assign different source types to the same event log on different servers, so I have to change it on the forwarder, not on the indexer.
I know not the proper way to do it in Splunk, but his is an app I inherited which relays on this.

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

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