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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...