Getting Data In

Persistent Queue on Intermediate Heavy Forwarder

tech_g706
Path Finder

Hi All,
I would like to confirm whether a persistent queue can be used on an Intermediate Heavy Forwarder that receives logs from Universal Forwarders (UFs) and forwards them to Splunk Cloud.

After reviewing the documentation, I noticed there are certain restrictions on where a persistent queue can be enabled.

Use case:
We want to ensure that logs are stored locally on the Heavy Forwarder for at least 5–6 hours in case of a major outage where the Heavy Forwarder is unable to communicate with Splunk Cloud. Once the connection is restored, all logs stored in the queue or on disk should be forwarded to Splunk Cloud without any data loss. Our daily ingestion is around 300GB

I would appreciate your recommendations on the best steps to implement this setup.

this is the inputs.conf 

 [splunktcp://9997]
disabled = 0
connection_host = ip

 

Labels (2)
0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @tech_g706 

You can create a persistent queue for your input using the following config:

persistentQueueSize = <integer>[KB|MB|GB|TB]

However I would strongly recommend reading https://help.splunk.com/en/splunk-enterprise/get-started/get-data-in/9.4/improve-the-data-input-proc... for more information on how it works, gotchas etc before implementing. 

Remember that there is still risk of data loss if the HF fails whilst queuing data.

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Splunk Enterprise Security: An Automated Phishing Response Workflow

Originally posted on Splunk.com.   Key takeaways  The volume of phishing emails can overwhelm even the most ...

Sharper ES Detections, Agentic AI Integrations, Smarter Workload Management, and More ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Data Outage Monitoring and Reporting

We’ve all been there, right? Living our best life, working on our Splunk environment, when out of nowhere a ...