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!

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...