Getting Data In

Can we add additional parameters (IP and hostname) to the logs which are collected thorough a Windows universal forwarder?

akif_kayapinar
New Member

I am kind of new in Splunk and I am curious about something. When I install universal forwarder to a Windows server, it sends only name or ip, and by default, it sends the name of the server (can be configured with inputs.conf file). I also want to add another field that sends the ip of the server. Since not all servers are in domain, I can't find the ip address when I try to lookup from the DNS. The other thing is, since I am not a part of the systems team when i see only IP addresses, it also doesn't tell much to me. So I need both ip and hostname. Can we do it?

0 Karma

lguinn2
Legend

You can create a lookup table on the search head that will map server names to IP addresses. You can also use the built-in DNS lookup to do something similar.

But you cannot add additional information to the data that the forward sends to the indexers.

0 Karma

akif_kayapinar
New Member

Thank you for the answer. I will try the first one. Since some of the servers are not in domain and dont have a dns record, dns lookup wont do much for me.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...