Splunk Enterprise

How can I tag the WEC hostname in events while keeping the original client host?

echojosh
Engager

Hi,

I have multiple clients sending their Windows events to a Windows Event Collector (WEC). Each WEC has a Splunk Universal Forwarder installed, which forwards the events into Splunk.

Right now, events show up in Splunk with where the host reflects the original client that generated the event. That’s good, but I also need to know which WEC forwarded the event.

What’s the best way to add the WEC hostname to each event in a scalable way (since I have multiple WECs in the environment)?


Labels (1)
0 Karma

PrewinThomas
Motivator

@echojosh 

Do you have a field called ComputerName in your events which should reflects the original machine that generated the event for events collecting from a WEC.

Regards,
Prewin
If this answer helped you, please consider marking it as the solution or giving a Karma. Thanks!

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...