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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

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