Getting Data In

My coldtofrozen script seems to hang splunk, what can I do?

jrodman
Splunk Employee
Splunk Employee

When my selected coldToFrozenScript runs, which can take 10 minutes, the splunk search interface stops working until the script finishes, what gives?

0 Karma
1 Solution

jrodman
Splunk Employee
Splunk Employee

In splunk v3.x and early versions of 4.0.x, the splunkd blocks nearly entirely while the coldToFrozenScript is running. In current 4.0.x, splunkd does not block for these.

Therefore your remedies are:

  • Upgrade
  • Modify your script to finish rapidly

I recommend a quick-finishing script in any event (such as mv bucket /dir), where you post-process the data in a manner that can be interrupted safely. A once-launched script can be quite difficult to create to work safely regarding unintended downtime.

View solution in original post

0 Karma

jrodman
Splunk Employee
Splunk Employee

In splunk v3.x and early versions of 4.0.x, the splunkd blocks nearly entirely while the coldToFrozenScript is running. In current 4.0.x, splunkd does not block for these.

Therefore your remedies are:

  • Upgrade
  • Modify your script to finish rapidly

I recommend a quick-finishing script in any event (such as mv bucket /dir), where you post-process the data in a manner that can be interrupted safely. A once-launched script can be quite difficult to create to work safely regarding unintended downtime.

0 Karma
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...