<?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: For HEC (httpInputQ) set maxSize in server.conf in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/For-HEC-httpInputQ-set-maxSize-in-server-conf/m-p/683976#M9969</link>
    <description>&lt;P&gt;We are updating docs to reflect layering of multiple http stanzas with different queueSize values.&lt;BR /&gt;Eventually all tokens share one input queue httpInputQ. Once all tokens are read in-memory the first token(shorted in ascending order) wins and creates final&amp;nbsp;httpInputQ. Other queueSize values are no-op since the queue is already created.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Above is also applicable for multiple splunktcpin or tcpin ports having different queueSize but sharing splunktcp queue or tcpin queue.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2024 21:51:04 GMT</pubDate>
    <dc:creator>hrawat</dc:creator>
    <dc:date>2024-04-11T21:51:04Z</dc:date>
    <item>
      <title>For HEC (httpInputQ) set maxSize in server.conf</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/For-HEC-httpInputQ-set-maxSize-in-server-conf/m-p/681034#M9926</link>
      <description>&lt;P&gt;There is a practice of setting &lt;FONT color="#FF0000"&gt;&lt;SPAN class=""&gt;queueSize&lt;/SPAN&gt;&lt;/FONT&gt; in inputs.conf [http://&amp;lt;token&amp;gt;] stanza. &lt;FONT color="#FF0000"&gt;&lt;SPAN class=""&gt;queueSize&lt;/SPAN&gt;&lt;/FONT&gt; over writes server.conf stanza&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[queue=httpInputQ]
maxSize&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now if you have multiple tokens with different &lt;SPAN class=""&gt;&lt;FONT color="#FF0000"&gt;queueSize&lt;/FONT&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;inputs.conf
[http://1]
queueSize=1

[http://2]
queueSize=2

[http://3]
queueSize=3

[http://4]
queueSize=4&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Globally only one inputs.conf stanza wins for final httpInputQ size.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;This setting should only be set&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;if setting 'persistentQueueSize' as well.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;If there are multiple http inputs configured and each input has set 'queueSize'&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;but persistentQueueSize is not is set, splunkd will create one in-memory queue&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;and pick the 'queueSize' value from first stanza after sorting http stanzas&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;with matching token of first received http event in ascending order. With multiple&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;pipelines configured, each pipeline will create one in-memory queue depending&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;on the first http event received by the pipeline thus each pipeline might have&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;different sized httpInputQ created. If there are multiple http stanzas configured and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'persistentQueueSize' is not set, prefer to set 'maxSize' under 'queue=httpInputQ'&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;stanza in server.conf.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;So best practice would be to never set per token &lt;SPAN class=""&gt;&lt;FONT color="#FF0000"&gt;queueSize&lt;/FONT&gt; in inputs.conf&lt;/SPAN&gt;. Instead set one time in server.conf, if not setting&amp;nbsp;&lt;SPAN class=""&gt;&lt;FONT color="#FF0000"&gt;persistentQueueSize&lt;/FONT&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[queue=httpInputQ]
maxSize&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2024 16:34:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/For-HEC-httpInputQ-set-maxSize-in-server-conf/m-p/681034#M9926</guid>
      <dc:creator>hrawat</dc:creator>
      <dc:date>2024-04-20T16:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: For HEC (httpInputQ) set maxSize in server.conf</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/For-HEC-httpInputQ-set-maxSize-in-server-conf/m-p/681041#M9927</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/118813"&gt;@hrawat&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just check this from docs and nether inputs.conf, server.conf or Set up and use HTTP Event Collector with configuration files says anything that there is only one value for queueSize. At least me, as non native English speaker, cannot get that conclusion based on those documents. It's much easier to understand this just opposite way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you already asked fixes/additional information for those documents?&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 14:32:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/For-HEC-httpInputQ-set-maxSize-in-server-conf/m-p/681041#M9927</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-03-18T14:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: For HEC (httpInputQ) set maxSize in server.conf</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/For-HEC-httpInputQ-set-maxSize-in-server-conf/m-p/681054#M9928</link>
      <description>&lt;P&gt;Yes. That is how I'd interpret the inputs.conf spec as well.&lt;/P&gt;&lt;P&gt;I can understand though why would just one value be effective (it's after all just one input bound to one port and the data is just internally split between various tokens) but the docs are ambiguous on this one to say the least.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 15:19:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/For-HEC-httpInputQ-set-maxSize-in-server-conf/m-p/681054#M9928</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-03-18T15:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: For HEC (httpInputQ) set maxSize in server.conf</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/For-HEC-httpInputQ-set-maxSize-in-server-conf/m-p/683976#M9969</link>
      <description>&lt;P&gt;We are updating docs to reflect layering of multiple http stanzas with different queueSize values.&lt;BR /&gt;Eventually all tokens share one input queue httpInputQ. Once all tokens are read in-memory the first token(shorted in ascending order) wins and creates final&amp;nbsp;httpInputQ. Other queueSize values are no-op since the queue is already created.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Above is also applicable for multiple splunktcpin or tcpin ports having different queueSize but sharing splunktcp queue or tcpin queue.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 21:51:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/For-HEC-httpInputQ-set-maxSize-in-server-conf/m-p/683976#M9969</guid>
      <dc:creator>hrawat</dc:creator>
      <dc:date>2024-04-11T21:51:04Z</dc:date>
    </item>
  </channel>
</rss>

