Getting Data In

Why is my TCP Input data being cut off? Is there a limit I can configure?

MemoreX42
Explorer

Hello experts,

I am using the TCP input "channel" in order to get data into splunk (inputs.conf):

[tcp://558]
connection_host = dns
index = myIndex
sourcetype = json

However, when I send slightly larger packets, it gets cut off. It seems to be the case that there is some size limit which I am exceeding. Now I am wondering if it is possible to configure these limits and set them higher.

Thanks,
Christian

jnicholsenernoc
Path Finder

Add "Truncate" to your props.conf:

 [tcp://558]
 connection_host = dns
 index = myIndex
 sourcetype = json
TRUNCATE = 16000

http://docs.splunk.com/Documentation/Splunk/6.2.3/Admin/Propsconf

op1ekun
Engager

+1

I'm using TCP socket to stream data to Splunk. Every JSON packet bigger than 10KB is cut off.

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...