Monitoring Splunk

Splunk 9.4.0 - hostname, issues with license manager reports after hostname change

Space_Crawler
Observer

Hi,

 

I have recently changed the OS hostname, followed by Splunk hostname change on a single node deployment. 

I am still seeing old hostname in splunk License Manager reports, which are also showing blanks for both today and historical license consumption. 

 

Followed several articles on things to check, ie https://splunk.my.site.com/customer/s/article/In-the, and https://community.splunk.com/t5/Splunk-Dev/How-to-fix-incorrect-Instance-name-after-change-hostname/...

Same outcome - the license manager still showing incorrect hostname in dropdown, and license usage stats are not reflected in the UX

 

If someone could please provide additional guidance on things I can check?

Labels (2)
0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi 

The license dashboard often uses the RolloverSummary data, which is generated at midnight (usually). If its been less than 24 hours then this could be why you are seeing no data. Also, the search uses a macro `set_local_host` which basically uses the rest endpoint in the SPL below to get the current hostname, this means it may not show the data for the previous 60 days because it will have been saved under the old hostname.

When you run the following, do you get your old server name, or new one?

|rest splunk_server=local /services/server/info | table host

Does this match a host you see in the below?

index=_internal source=*license_usage.log*

Please let me know how you get on and consider adding karma to this or any other answer if it has helped.
Regards

Will

0 Karma

Space_Crawler
Observer

Hey Will, 

 

the hostname has been changed for over 7 days now. 

 

|rest splunk_server=local /services/server/info | table host

returns the correct (updated) hostname, and it does match the hostname of the search query

index=_internal source=*license_usage.log*

 

License Manager report, the drop down in the top-left corner is still somehow uses the old (amazon assigned) hostname that is not reflecting the name change.

 

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...