Getting Data In

Splunk stop indexing after restart

beyourwish
New Member

Hi,

After I restart splunk, Log files doesn't get indexed.

Any idea how can I overcome this issue?

I tried,

splunk restart

splunk stop splunkd -> start again

on splunk-server:8089/services/admin/inputstatus/

that file status : batch processing

Thanks

Tags (1)
0 Karma

adamw
Communicator

Splunk takes a little while to spin up after a restart, how long are you waiting for these logs to show up after a restart?

Also depending on how you have the input set up, you could potentially speed up the process.

If you have
[monitor:/var/log/*]

Splunk will (on restart) iterate through the entire /var/log/ directory, listing all files in the directory and all subdirectories, then it will begin traversing down a directory level and on and on until it has finished. Then it will start indexing the files.

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 at Splunk .conf24 ...

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