Getting Data In

Adding Fields To Log Events

acnickv
New Member

Good day everyone.

I am looking for a way to add server-specific information to events that are forwarded to my Splunk Indexers via Universal Forwarders.

The additional information would be related to something customer or service specific information that would make searching for logs easier than needing to know server hostnames (which are generic and would not be specific to a customer or function). For instance, logs ingested from Server A would be associated with Customer X and component Y, but the same log files ingested from Server B would be associated with Customer Z and component A. This would help my engineers to find issues with Customer X or component Z without needing to know specific server hostnames - which could change day to day  or week to week.

I have been scouring through the documentation but have not found anything that has jumped out at me as the solution, or something possible.

Is this capability something that exists? And if so, how could it be implemented?

Thank you.

Labels (1)
Tags (2)
0 Karma
Get Updates on the Splunk Community!

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...