<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: TCP data input: Why is splunk receiving only some data? Is there a limit that needs to be configured? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/TCP-data-input-Why-is-splunk-receiving-only-some-data-Is-there-a/m-p/253843#M48727</link>
    <description>&lt;P&gt;@jimrantoday,&lt;/P&gt;

&lt;P&gt;Btool shows the configuration that exists on disk, not what's loaded into memory.&lt;/P&gt;

&lt;P&gt;Appreciate the credit for all the help...&lt;/P&gt;

&lt;P&gt;It's like you came up with the answer all on your own...&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jan 2017 03:04:54 GMT</pubDate>
    <dc:creator>jkat54</dc:creator>
    <dc:date>2017-01-27T03:04:54Z</dc:date>
    <item>
      <title>TCP data input: Why is splunk receiving only some data? Is there a limit that needs to be configured?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TCP-data-input-Why-is-splunk-receiving-only-some-data-Is-there-a/m-p/253835#M48719</link>
      <description>&lt;P&gt;Hello team,&lt;/P&gt;

&lt;P&gt;When sent data from my cloudbees syslog java client using tcp data input, only some data is making it to splunk. Exactly 206 records are making it to Splunk even though I am sending data in excess to 1000 records. Is there a limit that needs to be configured? please advise.&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 19:25:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TCP-data-input-Why-is-splunk-receiving-only-some-data-Is-there-a/m-p/253835#M48719</guid>
      <dc:creator>jimrantoday</dc:creator>
      <dc:date>2017-01-25T19:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: TCP data input: Why is splunk receiving only some data? Is there a limit that needs to be configured?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TCP-data-input-Why-is-splunk-receiving-only-some-data-Is-there-a/m-p/253836#M48720</link>
      <description>&lt;P&gt;Tcp and UDP inputs have a receive buffer that doesn't flush to disk until they overflow or Splunk restarts.&lt;/P&gt;

&lt;P&gt;Check out _rcv_buffer (I think it's called) in inputs.conf &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:36:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TCP-data-input-Why-is-splunk-receiving-only-some-data-Is-there-a/m-p/253836#M48720</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-09-29T12:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: TCP data input: Why is splunk receiving only some data? Is there a limit that needs to be configured?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TCP-data-input-Why-is-splunk-receiving-only-some-data-Is-there-a/m-p/253837#M48721</link>
      <description>&lt;P&gt;I have searched the inputs.conf documentation and couldn't find anything related to out_rcv_buffer. I tried changing the queueSize to 50mb and restarted the splunk instance but even that didn't help. Could you please check to find the property?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:33:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TCP-data-input-Why-is-splunk-receiving-only-some-data-Is-there-a/m-p/253837#M48721</guid>
      <dc:creator>jimrantoday</dc:creator>
      <dc:date>2020-09-29T12:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: TCP data input: Why is splunk receiving only some data? Is there a limit that needs to be configured?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TCP-data-input-Why-is-splunk-receiving-only-some-data-Is-there-a/m-p/253838#M48722</link>
      <description>&lt;P&gt;Yeah ok it's queueSize but try something much smaller like 1KB&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 21:14:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TCP-data-input-Why-is-splunk-receiving-only-some-data-Is-there-a/m-p/253838#M48722</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2017-01-25T21:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: TCP data input: Why is splunk receiving only some data? Is there a limit that needs to be configured?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TCP-data-input-Why-is-splunk-receiving-only-some-data-Is-there-a/m-p/253839#M48723</link>
      <description>&lt;OL&gt;
&lt;LI&gt;Increased the limits to see if there is an increase in no.of events indexed in Splunk. &lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;-&amp;gt;added the following configuration in \system\local\inputs.conf &lt;BR /&gt;
[tcp://5540] &lt;BR /&gt;
queueSize = 50MB&lt;BR /&gt;
persistentQueueSize = 100MB&lt;/P&gt;

&lt;P&gt;-&amp;gt;Restarted Splunk&lt;BR /&gt;
-&amp;gt; Ran the test and still the no.of events remains 206 (where as the events available to send via TCP are 6500).&lt;/P&gt;

&lt;P&gt;*Note:- When i ran "splunk cmd btool --app=search inputs list", my output was&lt;BR /&gt;
[splunktcp://9997]&lt;BR /&gt;
connection_host = ip&lt;BR /&gt;
[tcp://5540]&lt;BR /&gt;
connection_host = dns&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
sourcetype = syslog&lt;/P&gt;

&lt;P&gt;Looks like my config changes have not been picked up even after the restart.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Decreased the limits to 1KB and the no.of events remain the same (206).&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;What could possibly be the issue here ?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:36:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TCP-data-input-Why-is-splunk-receiving-only-some-data-Is-there-a/m-p/253839#M48723</guid>
      <dc:creator>jimrantoday</dc:creator>
      <dc:date>2020-09-29T12:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: TCP data input: Why is splunk receiving only some data? Is there a limit that needs to be configured?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TCP-data-input-Why-is-splunk-receiving-only-some-data-Is-there-a/m-p/253840#M48724</link>
      <description>&lt;P&gt;Try this instead:&lt;/P&gt;

&lt;P&gt;[tcp://5540] &lt;BR /&gt;
queueSize= 1KB&lt;/P&gt;

&lt;P&gt;Or&lt;/P&gt;

&lt;P&gt;[tcp:5540] &lt;BR /&gt;
queueSize= 1KB&lt;/P&gt;

&lt;P&gt;OR&lt;BR /&gt;
[tcp://*:5540]&lt;BR /&gt;
queueSize= 1KB&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 12:18:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TCP-data-input-Why-is-splunk-receiving-only-some-data-Is-there-a/m-p/253840#M48724</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2017-01-26T12:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: TCP data input: Why is splunk receiving only some data? Is there a limit that needs to be configured?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TCP-data-input-Why-is-splunk-receiving-only-some-data-Is-there-a/m-p/253841#M48725</link>
      <description>&lt;P&gt;Hi  jimrantoday,&lt;BR /&gt;
have you problems of disk performace?&lt;BR /&gt;
One of my customer had this problem because used very slow disks so Indexers didn't index all data and someone of them were loosed.&lt;BR /&gt;
You can verify this using a simple search &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*metrics.log sourcetype=splunkd group=queue host=”your_indexer” blocked | timechart count by name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can verify disk performances using an external tool (like Bonnie++), Splunk requires at least 800 iops.&lt;/P&gt;

&lt;P&gt;To avoid this problem I configured a persistent queue on my indexer:&lt;BR /&gt;
in /opt/splunk/etc/apps/search/local/inputs.conf  file, in udp and tcp rooms, I inserted &lt;CODE&gt;persistentQueueSize = 10MB&lt;/CODE&gt; parameter.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 12:51:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TCP-data-input-Why-is-splunk-receiving-only-some-data-Is-there-a/m-p/253841#M48725</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-01-26T12:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: TCP data input: Why is splunk receiving only some data? Is there a limit that needs to be configured?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TCP-data-input-Why-is-splunk-receiving-only-some-data-Is-there-a/m-p/253842#M48726</link>
      <description>&lt;P&gt;Adding &lt;/P&gt;

&lt;P&gt;[tcp://5540] &lt;BR /&gt;
queueSize = 5KB&lt;BR /&gt;
persistentQueueSize = 10KB&lt;/P&gt;

&lt;P&gt;in inputs.conf at $SPLUNK_HOME/etc/apps/"your app name"/local   location did the trick for me.&lt;/P&gt;

&lt;P&gt;After adding the configuration, you can also check to see if they got picked up or not by typing "splunk cmd btool --app=search inputs list" command in command prompt at Splunk\bin&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 01:27:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TCP-data-input-Why-is-splunk-receiving-only-some-data-Is-there-a/m-p/253842#M48726</guid>
      <dc:creator>jimrantoday</dc:creator>
      <dc:date>2017-01-27T01:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: TCP data input: Why is splunk receiving only some data? Is there a limit that needs to be configured?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TCP-data-input-Why-is-splunk-receiving-only-some-data-Is-there-a/m-p/253843#M48727</link>
      <description>&lt;P&gt;@jimrantoday,&lt;/P&gt;

&lt;P&gt;Btool shows the configuration that exists on disk, not what's loaded into memory.&lt;/P&gt;

&lt;P&gt;Appreciate the credit for all the help...&lt;/P&gt;

&lt;P&gt;It's like you came up with the answer all on your own...&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 03:04:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TCP-data-input-Why-is-splunk-receiving-only-some-data-Is-there-a/m-p/253843#M48727</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2017-01-27T03:04:54Z</dc:date>
    </item>
  </channel>
</rss>

