This issue happens when a heavy forwarder is being used to forward data to both a Splunk Indexer and also a third-party system.
Truncated events were detected when checking the information on the syslog server, nonetheless, all data is being received on Splunk Indexer.
Troubleshooting steps:
/opt/splunk/etc/apps/search/local/outputs.conf [syslog:my_syslog_group] server = xx.xxx.xxx.xx:514
index=security sourcetype=xxxx | eval bytes=len(_raw) | eval kb=round(bytes/1024,2) | table _raw, kb
sudo tcpdump -i eth0 dst host <receiver_IP> and 'ip[6:2] & 0x1fff != 0 or (udp and dst port 514)' -nn -s 0 -w /tmp/full_syslog_sending.pcapsudo tcpdump -i eth0 src host <sender_IP> -nn -s 0 -w /tmp/all_packets_received.pcapTo solve this, increase the maxEventSize in the outputs.conf under the [syslog:<target_group>] stanza.
type = [tcp|udp] priority = <<integer>> | NO_PRI maxEventSize = <integer>
In this particular issue, maxEventSize was on default which is 1024 and would be changed to 65535.
Once the maxEventSize value was changed all the events were received by the 3rd party system.
About maxEventSize attribute:
maxEventSize = <integer> * The maximum size of an event, in bytes, that Splunk software will transmit. * All events exceeding this size are truncated. * Optional. * Default: 1024
On the syslog server side, also ensure the MaxMessageSize=65535 in /etc/rsyslog.conf or similar configuration for equivalent syslog server.
A working example of captured sent packets that are fragmented due to the payload over the MTU size:
A working example of captured received packets that are fragmented due to the payload over the MTU size:
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |