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!

Enterprise Security Content Update (ESCU) | New Releases

In November, the Splunk Threat Research Team had one release of new security content via the Enterprise ...

Index This | Divide 100 by half. What do you get?

November 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

❄️ Celebrate the season with our December lineup of Community Office Hours, Tech Talks, and Webinars! ...