Getting Data In

WinEventLog define sourcetype on forwarder

tprzelom
Path Finder

How do I change the sourcetype for events from Windows eventlog, it is usually WinEventLog:, where logname may be for example System or Application. In the following inputs.conf configuration
[WinEventLog:System]
sourcetype=win_clients
disabled = 0

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

0 Karma

Lowell
Super Champion

Try changing the source as well. It's possible that your events are matching a [source::WinEventLog:*](or similar) stanza in a props.conf file. Some of these contain TRANSFORMS entries that will automatically set (or in your case reset) the sourcetype. Other possibilities depend on your setup. For example, if your input is on a Universal Forwarder, then much of this will depend on the settings on your indexer (or whatever Splunk instances that is receiving the events) may be changing the sourcetype based on a configuration there.

If you could provide additional details about (1) the Splunk version you are running, (2) Which Windows apps (or TAs) you have installed, and (3) your environment (do you have forwarders, or are you on a single box, ...)

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...