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
SplunkTrust
SplunkTrust

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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...