<?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: Splunk Indexer Parsing Queue Blocking in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexer-Parsing-Queue-Blocking/m-p/583399#M102786</link>
    <description>In the first step is to figure out what is the reason for that issue. Then you can start to fix it e.g. with limits or much probably fixing some other configurations like setting timestamp recognition on props.conf.</description>
    <pubDate>Wed, 02 Feb 2022 14:17:04 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2022-02-02T14:17:04Z</dc:date>
    <item>
      <title>Splunk Indexer Parsing Queue Blocking</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexer-Parsing-Queue-Blocking/m-p/583312#M102776</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I just recently restarted my splunk enterprise instance in order to add an app and once it was back up, i noticed that one of the health checks was failing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-02-01 at 9.16.38 PM.png" style="width: 589px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17781iFF3CD345BE0E8B64/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-02-01 at 9.16.38 PM.png" alt="Screen Shot 2022-02-01 at 9.16.38 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also no new logs were showing up in the search.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked at the monitoring console and noticed the parsing queue was full.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-02-01 at 9.19.58 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17782i64AF6A7A6091A974/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-02-01 at 9.19.58 PM.png" alt="Screen Shot 2022-02-01 at 9.19.58 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also checked the metrics.log and saw some of the queues were full.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-02-01 at 9.36.03 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17783i406DD7F3666575CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-02-01 at 9.36.03 PM.png" alt="Screen Shot 2022-02-01 at 9.36.03 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I'm understanding the data pipeline hierarchy correctly, it's the parsing queue that's actually blocked and causing the other queues to be blocked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also checked the splunkd.log and didn't really anything that seemed related. There were some SSL errors which didn't seem related. And this other error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ERROR HttpInputDataHandler - Failed processing http input, token name=kube, channel=n/a, source_IP=172.17.8.66, reply=9, events_processed=4, http_input_body_size=7256, parsing_err="Server is busy"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but that seems to be a result of the full queue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked into my resource usage from the monitoring console and top tool and neither cpu or mem go higher than 50% utilization.&lt;/P&gt;&lt;P&gt;I also restarted splunk multiple times but the queue always goes to 100% instantly. I did notice a warning on startup:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Bad regex value: '(::)?...', of param: props.conf / [(::)?...]; why: this regex is likely to apply to all data and may break summary indexing, among other Splunk features.&lt;/LI-CODE&gt;&lt;P&gt;However, I didn't make any changes to props.conf and everything was working before I restarted the first time so I assume this is not related.&lt;/P&gt;&lt;P&gt;Not sure what else to try. Any help would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 02:48:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexer-Parsing-Queue-Blocking/m-p/583312#M102776</guid>
      <dc:creator>ayeheyis</dc:creator>
      <dc:date>2022-02-02T02:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Indexer Parsing Queue Blocking</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexer-Parsing-Queue-Blocking/m-p/583323#M102780</link>
      <description>&lt;P&gt;&amp;nbsp;A bottleneck in the pipeline (e.g. parsing queue) will cause the upstream buffer to be maxed out. You can:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Increase the size limit of your queue buffer will allow more time for your CPU to process backlogs.&lt;/LI&gt;&lt;LI&gt;Throw more hardware at it, e.g. offload to another heavy forwarder.&lt;/LI&gt;&lt;LI&gt;Optimize the regex in your parsing queue (props.conf transform.conf), starting with your largest sourcetypes.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;Here's a query to calculate the average, peak, and max size limit for the different queues. You can use this to determine which queue needs to be increased.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal source=*metrics.log group=queue host=&amp;lt;splunk_host&amp;gt; max_size_kb=* earliest=-1d
| stats max(max_size_kb) AS max_limit_kb max(current_size_kb) AS peak_size_kb avg(current_size_kb) AS avg_size_kb by name
| eval avg_size_kb=ROUND(avg_size_kb, 2)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 06:43:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexer-Parsing-Queue-Blocking/m-p/583323#M102780</guid>
      <dc:creator>johnhuang</dc:creator>
      <dc:date>2022-02-02T06:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Indexer Parsing Queue Blocking</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexer-Parsing-Queue-Blocking/m-p/583328#M102782</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you said that you just installed a new app there? Probably it contains something which broke the data pipeline?&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should start with the next documents to understanding what can cause this issue:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.4/Deploy/Datapipeline" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.4/Deploy/Datapipeline&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://conf.splunk.com/files/2019/slides/FN1570.pdf" target="_blank"&gt;https://conf.splunk.com/files/2019/slides/FN1570.pdf&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://wiki.splunk.com/Community:HowIndexingWorks" target="_blank"&gt;https://wiki.splunk.com/Community:HowIndexingWorks&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.4/DMC/IndexingDeployment" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.4/DMC/IndexingDeployment&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.splunk.com/t5/Monitoring-Splunk/What-can-be-done-when-the-parsing-and-aggregation-queues-are/m-p/462319" target="_blank"&gt;https://community.splunk.com/t5/Monitoring-Splunk/What-can-be-done-when-the-parsing-and-aggregation-queues-are/m-p/462319&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;As the parsing Queue is full I start to looking those actions which are happening in parsing pipeline&lt;/P&gt;&lt;P&gt;---8&amp;lt;---&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Parsing&lt;/STRONG&gt;&lt;BR /&gt;During the parsing segment, Splunk software examines, analyzes, and transforms the data. This is also known as event processing. It is during this phase that Splunk software breaks the data stream into individual events.The parsing phase has many sub-phases:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Breaking the stream of data into individual lines.&lt;/LI&gt;&lt;LI&gt;Identifying, parsing, and setting timestamps.&lt;/LI&gt;&lt;LI&gt;Annotating individual events with metadata copied from the source-wide keys.&lt;/LI&gt;&lt;LI&gt;Transforming event data and metadata according to regex transform rules.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;---8&amp;lt;--&lt;/P&gt;&lt;P&gt;There is unofficial trick to use wildcard on props.conf. Just use&amp;nbsp;&lt;SPAN&gt;(?::){0} in&amp;nbsp;beginning of your e.g. sourcetype stanza. Probably someone has remember this wrongly and put those in wrong order?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;r. Ismo&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 07:32:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexer-Parsing-Queue-Blocking/m-p/583328#M102782</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-02-02T07:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Indexer Parsing Queue Blocking</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexer-Parsing-Queue-Blocking/m-p/583395#M102785</link>
      <description>&lt;P class="lia-align-justify"&gt;Thanks for the response. Do you know which properties I should set? I went thru the limits.conf documentation and I couldn't figure which properties relate to the queue sizes.&lt;/P&gt;&lt;P&gt;Also I'm not able to see any logs for the index _internal. I'm assuming it's caused by the blockage in the data pipeline.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 13:45:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexer-Parsing-Queue-Blocking/m-p/583395#M102785</guid>
      <dc:creator>ayeheyis</dc:creator>
      <dc:date>2022-02-02T13:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Indexer Parsing Queue Blocking</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexer-Parsing-Queue-Blocking/m-p/583399#M102786</link>
      <description>In the first step is to figure out what is the reason for that issue. Then you can start to fix it e.g. with limits or much probably fixing some other configurations like setting timestamp recognition on props.conf.</description>
      <pubDate>Wed, 02 Feb 2022 14:17:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexer-Parsing-Queue-Blocking/m-p/583399#M102786</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-02-02T14:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Indexer Parsing Queue Blocking</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexer-Parsing-Queue-Blocking/m-p/583440#M102791</link>
      <description>&lt;P&gt;Just to close the loop on this, as I was going thru the logs I noticed the app I recently installed was still enabled even tho I could've sworn I disabled it. I disabled the app and restarted using the web interface. Not sure if that matters but when I did it thru the CLI, everything seems to be working again.&lt;BR /&gt;&lt;BR /&gt;Thanks for all your help!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 18:35:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexer-Parsing-Queue-Blocking/m-p/583440#M102791</guid>
      <dc:creator>ayeheyis</dc:creator>
      <dc:date>2022-02-02T18:35:45Z</dc:date>
    </item>
  </channel>
</rss>

