All Apps and Add-ons

What is the use of batch and move_policy = sinkhole?

VijaySrrie
Builder

Hi All,

What is the use of 

move_policy = sinkhole

and on which scenario we will use batch (Batch will index the file and delete but in which application or server this should be used?) 

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

The move_policy setting is required with a batch input as a way of making sure the admin understands what he or she is doing.  A batch input might be used to index a file that will not be updated.

---
If this reply helps you, Karma would be appreciated.
0 Karma

VijaySrrie
Builder

what happens when move_policy setting is not given in the batch config?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

I believe the batch input will be ignored if move_policy is missing.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...