There are two HF's which are in different locations. There are issues which had occurred when the destination HF stopped listening from some sources sent by the source HF, which resulted in data not being forwarded.
1. Network Connectivity :-
I. Ping Test: Check if the source HF and can reach the destination HF using a ping test with the below command -
#ping <destination-HF-IP>
II. Telnet Test : Use tools like "telnet" or "nc (netcat)" to verify that the port used for forwarding (typically TCP 9997) is open or any custom port configured -
telnet <destination-HF-IP> 9997
nc -z -v <destination-HF-IP> 9997
-If the connection fails , the port might be blocked by a firewall, or the destination HF might not be a listening on that port.
2. SSL/TLS Configuration :-
- Check outputs.conf for SSL configuration: If the SSL/TLS is enabled, outputs.conf should include SSL-related settings:
[tcpout: destinationHFGroup]
server = <destination-HF-IP>:9997
useSSL=true
[SSL]
sslRootCAPath = $SPLUNK_HOME/etc/auth/cacert.pem
sslPassword= <password>
Note - Ensure that both the source and destination HF's have the correct SSL certificates and that they trust each other certificates.
3. Data Queue and Throttling :-
-Check Data queue Status: Review the internal metrics on the source HF to check the status of the data queues with the below command:
$SPLUNK_HOME/bin/splunk show queues
-Look for any queues that are full or approaching their maximum capacity (typingQueue, AggQueue, etc.).
-Check the splunkd.log file on the source HF for warning or errors related to queues with the below command
tail -f $SPLUNK_HOME/var/log/splunk/splunkd.log | grep 'Queue'
-On the UI, the queue blockages can be checked using the below SPL
index=_internal (sourcetype=metrics OR sourcetype=splunkd) group=queue "" host=<host name>
| eval max=if(isnotnull(max_size_kb),max_size_kb,max_size)
| eval curr=if(isnotnull(current_size_kb),current_size_kb,current_size)
| eval fill_perc=round((curr/max)*100,2)
| timechart p90(fill_perc) by name useother=false limit=15 span=5min | fields _time,
stashparsing, execprocessorinternalq, fschangemanager_queue, aeq, aq, auditqueue, tcpin_queue, splunktcpin, fifointernalq, httpinputq, parsingqueue, aggqueue, typingqueue, indexqueue, nullqueue, udp_queue, tcpout_*
| rename stashparsing as "1 [inputs] stashparsing", execprocessorinternalq as "1 [inputs] execprocessorinternalq", fschangemanager_queue as "1 [inputs] fschangemanager_queue", aeq as "1 [inputs] aeq (archive processor queue)",
aq as "1 [inputs] aq (archive processor queue)", auditqueue as "1 [inputs] auditqueue", tcpin_queue as "1 [inputs] tcpin_queue", splunktcpin as "1 [inputs] splunktcpin", fifointernalq as "1 [inputs] fifointernalq", httpinputq as "1 [inputs] httpinputq",
parsingqueue as "2 [parsing] parsingqueue", aggqueue as "3 [aggregation] aggqueue", typingqueue as "4 [typing] typingqueue", indexqueue as "5 [indexing] indexqueue", nullqueue as "5 [indexing] nullqueue", udp_queue as "6 [outputs] udp_queue", tcpout_* as "6 [outputs] tcpout_*"
4. Permissions and Firewall Rules :-
-Verify that firewall rules on both HF's , and any intermediate network devices, allow traffic on the forwarding port.
-Ensure there are no ACLs or security groups blocking traffic between the source and destination HFs.
5.Monitor Logs for Errors :-
-Review logs on both the HF's for any error messages :
tail -f $SPLUNK_HOME/var/log/splunk/splunkd.log
tail -f $SPLUNK_HOME/var/log/splunk/metrics/log
Look for messages related to connectivity issues, authentication errors, queues overflows, or SSL/TLS handshake Failures
6. Forwarder Configuration :-
-Use the btool command which helps to validate the configuration and ensures no syntax errors exist in outputs.conf
$SPLUNK_HOME/bin/splunk btool outputs list --debug
1. Setting "dropEventsOnQueueFull = 10s" for output groups on source HF (preferably all the output groups) in the outputs.conf and the path for the conf file in /opt/splunk/etc/system/local/outputs.conf which will wait before the output queue throws out all new events until it has space.
dropEventsOnQueueFull = <integer>[ms|s|m]
* The amount of time to wait before the output queue throws out all new events until it has space.
* If set to 0ms(milliseconds), 0s(seconds), or 0m(minutes), the queue immediately throws out all new events until it has space.
* If set to a positive number, the queue waits the specified number of milliseconds, seconds, or minutes before throwing out all new events.
If "ms", "s", or "m" is not specified, the default unit is seconds.
* If set to -1 or 0, the output queue is blocked because it is full, but events are not dropped.
* If any target group queue is blocked, no more data reaches any other target group.
* CAUTION: Do not set to a positive integer if you are monitoring files because the files will not be fully ingested if the queue remains blocked for the specified amount of time.
* Default: -1
2. Do check if there are any OS related issues or architecture issues. If yes, please consider to reinstall the HF and do the configuration from scratch.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |