Getting Data In

Splunk not collecting logs after hostname rename on configuration file

OMohi
Path Finder

Hi:

I had to rename a hostname on splunk client configuration on inputs.conf and server.conf and removed the guid on /etc/instance.cfg to match the hostname of the server with the splunk client configuration in inputs.conf and server.conf files on a linux box. However, I am unable to capture events from the client server. Is there something else I am required to do or re-install Splunk?

Please let me know.

Thanks,

Obaid

0 Karma

woodcock
Esteemed Legend
0 Karma

Lucas_K
Motivator

Does that GUID exist on the old server still?

I'm not sure why would would have changed it. For a host rename just change the inputs/server entries and that's it.

Double check that you don't have GUID's in different files that are different. Upon start up splunk will error out.

"If server.conf has a value of 'guid' AND instance.cfg has a value of 'guid'
AND these values are different, startup halts and error is shown. Operator
must resolve this error. We recommend erasing the value from server.conf
file, and then restarting."

http://docs.splunk.com/Documentation/Splunk/6.3.1511/Admin/Instancecfgconf

also

"the instance.cfg file is not to be modified or removed by user. LEAVE THE

instance.cfg FILE ALONE."

I'd hazard a guess that you've now broken your install.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...