Splunk Search

Is it required to set a static ip on the localhost for Splunk with Universal Forwarder to work?

elsaddiq
Engager

I'm a student running the free Community Edition in my homelab. My host currently receives a dynamic IP. Is a static IP required or recommended? Thank you.

0 Karma

vishaltaneja070
Motivator

Hello @elsaddiq

For sending data from Forwarder to Indexer, you need to mention the IP or DNS name of the indexer, if the ip is changing then it will be a issue as data sending will be stopped. So recommended is to have a static ip.

jas_go
New Member

Is this still the case? I have an EC2 instance that has dynamic ips and I would like to set up a splunk forwarder. Am I still able to get the logs over to the correct data lake?

0 Karma

PickleRick
SplunkTrust
SplunkTrust

Well... there is a possibility of defining an output using a short-ttl DNS name (dyn-DNS), it's not something I'd recommend. Static addresses definitely make your life easier.

0 Karma

Anam
Community Manager
Community Manager

Hi @elsaddiq

Did the answer by @vishaltaneja07011993 help provide a working solution to your question? If yes, please don't forget to resolve this post by clicking "Accept". If no, please leave a comment with more feedback.

Thanks!

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...