<?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: How do I find what is causing my typing queue blockage? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-find-what-is-causing-my-typing-queue-blockage/m-p/379067#M68528</link>
    <description>&lt;P&gt;Steps&lt;BR /&gt;
1) Set under [default] stanza in limits.conf&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;regex_cpu_profiling = true &lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;regex_cpu_profiling =&lt;BR /&gt;
* Enable CPU time metrics for RegexProcessor. Output will be in the &lt;BR /&gt;
  metrics.log file.&lt;BR /&gt;
  Entries in metrics.log will appear per_host_regex_cpu, per_source_regex_cpu,&lt;BR /&gt;
  per_sourcetype_regex_cpu, per_index_regex_cpu.&lt;BR /&gt;
* Default: false&lt;/P&gt;

&lt;P&gt;2) Set under [metrics] stanza in limits.conf&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;maxseries = 50&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;maxseries = &lt;BR /&gt;
* The number of series to include in the per_x_thruput reports in metrics.log.&lt;BR /&gt;
* Default: 10&lt;/P&gt;

&lt;P&gt;3) restart splunk&lt;/P&gt;

&lt;P&gt;4) Wait for typing queue to block.&lt;/P&gt;

&lt;P&gt;5) Goto splunk UI and following queries will be helpful:&lt;/P&gt;

&lt;P&gt;Which source type is taking most of the cpu time.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal host= source=*metrics.log group=per_sourcetype_regex_cpu |timechart max(cpu) by series
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Which source type is taking most of the cpu time per event:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal host= source=*metrics.log group=per_sourcetype_regex_cpu |timechart max(cpupe) by series
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Repeat queries for per_host_regex_cpu, per_source_regex_cpu, and per_index_regex_cpu(if needed)&lt;/P&gt;

&lt;P&gt;cpu &amp;gt; total cpu time for a given series&lt;BR /&gt;
cpupe &amp;gt; cpu time per event for a given series&lt;BR /&gt;
bytes &amp;gt; total bytes processes for a given series&lt;BR /&gt;
ev &amp;gt; total events for a given series&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 21:17:12 GMT</pubDate>
    <dc:creator>hrawat</dc:creator>
    <dc:date>2020-09-29T21:17:12Z</dc:date>
    <item>
      <title>How do I find what is causing my typing queue blockage?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-find-what-is-causing-my-typing-queue-blockage/m-p/379066#M68527</link>
      <description>&lt;P&gt;How do I find sources/source types/hosts/indexes causing typing queue blockage?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 14:44:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-find-what-is-causing-my-typing-queue-blockage/m-p/379066#M68527</guid>
      <dc:creator>hrawat</dc:creator>
      <dc:date>2018-09-19T14:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find what is causing my typing queue blockage?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-find-what-is-causing-my-typing-queue-blockage/m-p/379067#M68528</link>
      <description>&lt;P&gt;Steps&lt;BR /&gt;
1) Set under [default] stanza in limits.conf&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;regex_cpu_profiling = true &lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;regex_cpu_profiling =&lt;BR /&gt;
* Enable CPU time metrics for RegexProcessor. Output will be in the &lt;BR /&gt;
  metrics.log file.&lt;BR /&gt;
  Entries in metrics.log will appear per_host_regex_cpu, per_source_regex_cpu,&lt;BR /&gt;
  per_sourcetype_regex_cpu, per_index_regex_cpu.&lt;BR /&gt;
* Default: false&lt;/P&gt;

&lt;P&gt;2) Set under [metrics] stanza in limits.conf&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;maxseries = 50&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;maxseries = &lt;BR /&gt;
* The number of series to include in the per_x_thruput reports in metrics.log.&lt;BR /&gt;
* Default: 10&lt;/P&gt;

&lt;P&gt;3) restart splunk&lt;/P&gt;

&lt;P&gt;4) Wait for typing queue to block.&lt;/P&gt;

&lt;P&gt;5) Goto splunk UI and following queries will be helpful:&lt;/P&gt;

&lt;P&gt;Which source type is taking most of the cpu time.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal host= source=*metrics.log group=per_sourcetype_regex_cpu |timechart max(cpu) by series
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Which source type is taking most of the cpu time per event:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal host= source=*metrics.log group=per_sourcetype_regex_cpu |timechart max(cpupe) by series
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Repeat queries for per_host_regex_cpu, per_source_regex_cpu, and per_index_regex_cpu(if needed)&lt;/P&gt;

&lt;P&gt;cpu &amp;gt; total cpu time for a given series&lt;BR /&gt;
cpupe &amp;gt; cpu time per event for a given series&lt;BR /&gt;
bytes &amp;gt; total bytes processes for a given series&lt;BR /&gt;
ev &amp;gt; total events for a given series&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:17:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-find-what-is-causing-my-typing-queue-blockage/m-p/379067#M68528</guid>
      <dc:creator>hrawat</dc:creator>
      <dc:date>2020-09-29T21:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find what is causing my typing queue blockage?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-find-what-is-causing-my-typing-queue-blockage/m-p/379068#M68529</link>
      <description>&lt;P&gt;This is a fantastic post. The only thing I would add is that the &lt;CODE&gt;regex_cpu_profiling&lt;/CODE&gt; was added in 6.6. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 19:56:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-find-what-is-causing-my-typing-queue-blockage/m-p/379068#M68529</guid>
      <dc:creator>dshpritz</dc:creator>
      <dc:date>2018-09-19T19:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find what is causing my typing queue blockage?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-find-what-is-causing-my-typing-queue-blockage/m-p/379069#M68530</link>
      <description>&lt;P&gt;It's integrated with DMC as well starting 7.x. However enabling regex_cpu_profiling is required.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:17:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-find-what-is-causing-my-typing-queue-blockage/m-p/379069#M68530</guid>
      <dc:creator>hrawat</dc:creator>
      <dc:date>2020-09-29T21:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find what is causing my typing queue blockage?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-find-what-is-causing-my-typing-queue-blockage/m-p/379070#M68531</link>
      <description>&lt;P&gt;Didn't know that. This post is solid gold!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 20:15:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-find-what-is-causing-my-typing-queue-blockage/m-p/379070#M68531</guid>
      <dc:creator>dshpritz</dc:creator>
      <dc:date>2018-09-19T20:15:20Z</dc:date>
    </item>
  </channel>
</rss>

