Getting Data In

How do I rename a DNS named host to an IP address host?

ipops
Path Finder

I have a remote host that is sending logs via a universal forwarder. The logs are arriving with a hostname of "prodsde01"

How can I change this to an IP address instead (i.e 10.201.1.10)

I tried the props/transforms config but I can't get the regex right

Here is the syslog message

Sep 26 20:33:23 prodsde01 scdpd[13592]: Alarm model 10: svSysServiceComponentOnlineNotification: Unavailable Service Component Cleared: svsde
0 Karma

somesoni2
Revered Legend

I would rather update the syslog configuration to update the host format to IP instead of DNS name. You can update to (not recommended, adds overhead to indexing process) an IP address during indexing using props/transforms if both host name and IP are fixed (no dnslookup is available during index time transformation.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...