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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...