<?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: Processing queues blocking when thruput/event volume decreases in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Processing-queues-blocking-when-thruput-event-volume-decreases/m-p/648783#M9693</link>
    <description>&lt;P&gt;Unfortunately that information isn't in CMC. You could see from it if there is some additional load on that time or something other suspicious events?&lt;/P&gt;&lt;P&gt;I'm not sure if you could access _introspection index and are there all needed data, but you could try something like this to see IOPS and wait times for your SC instance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_introspection sourcetype=splunk_resource_usage component=IOStats host="idx-*.&amp;lt;your stack name here&amp;gt;.splunkcloud.com"
| eval mount_point = 'data.mount_point' 
| eval reads_ps = 'data.reads_ps' 
| eval writes_ps = 'data.writes_ps' 
| eval interval = 'data.interval' 
| eval op_count = (reads_ps + writes_ps) * interval 
| eval avg_service_ms = 'data.avg_service_ms' 
| eval avg_wait_ms = 'data.avg_total_ms' 
| eval cpu_pct = 'data.cpu_pct' 
| eval network_pct = 'data.network_pct'
| search mount_point = "/opt" 
| timechart minspan=60s partial=f per_second(op_count) as iops, avg(data.cpu_pct) as avg_cpu_pct, avg(data.avg_service_ms) as avg_service_ms, avg(data.avg_total_ms) as avg_wait_ms, avg(data.network_pct) as avg_network_pct
| eval iops = round(iops) 
| eval avg_cpu_pct = round(avg_cpu_pct) 
| eval avg_service_ms = round(avg_service_ms) 
| eval avg_wait_ms = round(avg_wait_ms) 
| eval avg_network_pct = round(avg_network_pct) 
| fields _time, iops avg_wait_ms 
| rename avg_wait_ms as "Wait Time"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;One way to get "correct" queries is use your local splunk instance and its MC. Just look which dashboard gives you that information which you like to see and then copy that query and modify it as needed before run it on SC. Remember that you can expand macros with Ctrl/Cmd+E combination!&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jun 2023 18:10:42 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2023-06-30T18:10:42Z</dc:date>
    <item>
      <title>Processing queues blocking when thruput/event volume decreases</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Processing-queues-blocking-when-thruput-event-volume-decreases/m-p/648768#M9686</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I am currently seeing that processing queues on one of my heavy forwarders appear to be blocking during a 6 hour period at night time when log volume being ingested is much lower (during this period, log volume ingested drops from 10 million to under 3 million events).&lt;/P&gt;&lt;P&gt;Are there are obvious reasons as to why queue block ratios would increase at same time that thruput/event volume decreases? As I'm guessing that the opposite would generally be expected?&lt;/P&gt;&lt;P&gt;We can see that block ratios increase at 1:00 AM below:&lt;/P&gt;&lt;P&gt;index=_internal source=*metrics.log group=queue blocked=true host=HF max_size_kb&amp;gt;0&lt;BR /&gt;| timechart span=30m@m count by name&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2023-06-30 at 09.29.33.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26084i8D83CC1253D3431E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-06-30 at 09.29.33.png" alt="Screenshot 2023-06-30 at 09.29.33.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the same time we can see thruput decrease below:&lt;/P&gt;&lt;P&gt;index=_internal sourcetype=splunkd host=HF group=per_sourcetype_thruput series=*&lt;BR /&gt;| timechart sum(kb) by series&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2023-06-30 at 09.30.12.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26085i7F76FC147D7CD48D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-06-30 at 09.30.12.png" alt="Screenshot 2023-06-30 at 09.30.12.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2023-06-30 at 10.10.49.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26091iBC3C5DD381AD130A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-06-30 at 10.10.49.png" alt="Screenshot 2023-06-30 at 10.10.49.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current queue config and context over last 24h:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-06-30 at 09.34.50.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26087i31F0FD3AC211CB45/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-06-30 at 09.34.50.png" alt="Screenshot 2023-06-30 at 09.34.50.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-06-30 at 09.49.00.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26089iC1478AD0EFAF9D3C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-06-30 at 09.49.00.png" alt="Screenshot 2023-06-30 at 09.49.00.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also noticed a lot of 'Could not send data to output queue (parsingQueue), retrying' errors around the same time:&lt;/P&gt;&lt;P&gt;index=_internal host=HFsource=*splunkd* log_level=ERROR OR log_level=WARN event_message="Could not send data to output queue (parsingQueue), retrying..."&lt;BR /&gt;| timechart span=5m@m count by event_message&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2023-06-30 at 09.53.37.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26090iC68FD5DB4B1CDA5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-06-30 at 09.53.37.png" alt="Screenshot 2023-06-30 at 09.53.37.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate any answers around why queue block ratios would increase at same time that thruput/event volume decreases and also any solutions for getting average queue block ratios as close to 0 as possible - queues currently appear to be blocking throughout the day with highest block ratios occuring 1:00 - 8:00 AM.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 09:16:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Processing-queues-blocking-when-thruput-event-volume-decreases/m-p/648768#M9686</guid>
      <dc:creator>cwhelan</dc:creator>
      <dc:date>2023-06-30T09:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Processing queues blocking when thruput/event volume decreases</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Processing-queues-blocking-when-thruput-event-volume-decreases/m-p/648774#M9687</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I will start to look what is happening on your indexers sides. Are there any heavy backups or other activities which cause heavy IOPS on OS level or your storage system level?&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 09:22:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Processing-queues-blocking-when-thruput-event-volume-decreases/m-p/648774#M9687</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-06-30T09:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Processing queues blocking when thruput/event volume decreases</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Processing-queues-blocking-when-thruput-event-volume-decreases/m-p/648781#M9692</link>
      <description>&lt;P&gt;Hi isoutamo,&lt;/P&gt;&lt;P&gt;Thanks a lot for the reply. Currently, I only have backend access to all of our HFs and front end console, as everything else is in Splunk Cloud.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you suggest I open a Splunk support case? Or is there anything else I can do to try remediate beforehand?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 09:48:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Processing-queues-blocking-when-thruput-event-volume-decreases/m-p/648781#M9692</guid>
      <dc:creator>cwhelan</dc:creator>
      <dc:date>2023-06-30T09:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Processing queues blocking when thruput/event volume decreases</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Processing-queues-blocking-when-thruput-event-volume-decreases/m-p/648783#M9693</link>
      <description>&lt;P&gt;Unfortunately that information isn't in CMC. You could see from it if there is some additional load on that time or something other suspicious events?&lt;/P&gt;&lt;P&gt;I'm not sure if you could access _introspection index and are there all needed data, but you could try something like this to see IOPS and wait times for your SC instance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_introspection sourcetype=splunk_resource_usage component=IOStats host="idx-*.&amp;lt;your stack name here&amp;gt;.splunkcloud.com"
| eval mount_point = 'data.mount_point' 
| eval reads_ps = 'data.reads_ps' 
| eval writes_ps = 'data.writes_ps' 
| eval interval = 'data.interval' 
| eval op_count = (reads_ps + writes_ps) * interval 
| eval avg_service_ms = 'data.avg_service_ms' 
| eval avg_wait_ms = 'data.avg_total_ms' 
| eval cpu_pct = 'data.cpu_pct' 
| eval network_pct = 'data.network_pct'
| search mount_point = "/opt" 
| timechart minspan=60s partial=f per_second(op_count) as iops, avg(data.cpu_pct) as avg_cpu_pct, avg(data.avg_service_ms) as avg_service_ms, avg(data.avg_total_ms) as avg_wait_ms, avg(data.network_pct) as avg_network_pct
| eval iops = round(iops) 
| eval avg_cpu_pct = round(avg_cpu_pct) 
| eval avg_service_ms = round(avg_service_ms) 
| eval avg_wait_ms = round(avg_wait_ms) 
| eval avg_network_pct = round(avg_network_pct) 
| fields _time, iops avg_wait_ms 
| rename avg_wait_ms as "Wait Time"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;One way to get "correct" queries is use your local splunk instance and its MC. Just look which dashboard gives you that information which you like to see and then copy that query and modify it as needed before run it on SC. Remember that you can expand macros with Ctrl/Cmd+E combination!&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 18:10:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Processing-queues-blocking-when-thruput-event-volume-decreases/m-p/648783#M9693</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-06-30T18:10:42Z</dc:date>
    </item>
  </channel>
</rss>

