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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...