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

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
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?!?!

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
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

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...