Knowledge Management

error message when using backfill script for summary index

alextsui
Path Finder

Hi, When I run the backfill script I get the following error message:

[root@splunk_search_head bin]# ./splunk cmd python fill_summary_index.py -app Catch -name summary_daily_statistics -et -9mon@mon -lt now -owner admin -auth admin:xxxxxx
An instance of fill_summary_index is already running for app=Catch
[root@splunk_search_head bin]#

Any idea on how to fix the problem?

Thanks.

Tags (2)
1 Solution

Lowell
Super Champion

First, make sure that another instance isn't running. A command something like this should do the trick:

ps aux | grep fill_summary_index

If it's not, then check for a temporary file in $SPLUNK_HOME/etc/apps/Catch/log/. If you have a "lock" file in that location, you should be able to remove it and then run fill_summary_index should work after that.

I believe the limitation is running on one instance of fill_summary_index per splunk application.

View solution in original post

Lowell
Super Champion

First, make sure that another instance isn't running. A command something like this should do the trick:

ps aux | grep fill_summary_index

If it's not, then check for a temporary file in $SPLUNK_HOME/etc/apps/Catch/log/. If you have a "lock" file in that location, you should be able to remove it and then run fill_summary_index should work after that.

I believe the limitation is running on one instance of fill_summary_index per splunk application.

lakshman237
Path Finder

Thanks. removing the lock file works

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...