Deployment Architecture

DHCP on Splunk UF

inventsekar
SplunkTrust
SplunkTrust

Hi, let's say we got around hundred UF's which are DHCP (their hostname and/or ip address changes often)
1. From UF's perspective, nothing changes. It will send logs to indexers, it will poll the deployment server as usual. Is that correct?!
2. At indexer, i think, events will be still having the old UF hostname/ip address, right?
3. What will happen at the deployment server?

I searched for these dhcp issues, but didn't get answers. Thanks

Tags (2)
0 Karma
1 Solution

solarboyz1
Builder

1. From UF's perspective, nothing changes. It will send logs to indexers, it will poll the deployment server as usual. Is that correct?!

Correct.

2. At indexer, i think, events will be still having the old UF hostname/ip address, right?

When Splunk gets installed, it will try to create a outputs.conf with the line hostname=*
That value will be used as the default hostname for events from the UF, regardless of DHCP changes

3. What will happen at the deployment server?

Deployment server will use the GUID and hostname to track the clients checking in. It should not be effected by DHCP.

View solution in original post

0 Karma

solarboyz1
Builder

1. From UF's perspective, nothing changes. It will send logs to indexers, it will poll the deployment server as usual. Is that correct?!

Correct.

2. At indexer, i think, events will be still having the old UF hostname/ip address, right?

When Splunk gets installed, it will try to create a outputs.conf with the line hostname=*
That value will be used as the default hostname for events from the UF, regardless of DHCP changes

3. What will happen at the deployment server?

Deployment server will use the GUID and hostname to track the clients checking in. It should not be effected by DHCP.

0 Karma

inventsekar
SplunkTrust
SplunkTrust

Thanks for your response..
Let's say the hostname of a UF got changed.
And the deployment server will still be able to identify the UF with its new hostname and the GUID ah?!?!

0 Karma

solarboyz1
Builder

Splunk will not recognize the hostname change, it will continue to use the outputs.conf hostname value.

If the outputs.conf hostname changes, I believe you will get see two records on the deployment server and will need to delete the old entry. (Or not, it really doesnt impact anything).

If you use the hostname to identify which serverclass a host falls into, you would need to fix that.

0 Karma

inventsekar
SplunkTrust
SplunkTrust

That's great, thx.. will test this once on Monday and accept this answer... Thanks again

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

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