<?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: Plot error % as timeseries in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Plot-error-as-timeseries/m-p/557288#M158284</link>
    <description>&lt;P&gt;Splunk Cloud (Version:8.2.2105.2).&lt;/P&gt;&lt;P&gt;Iam new to Splunk, if you can help me to get the information you are looking for, I can send it. However in verbose mode (events) I could not get any information.&lt;/P&gt;</description>
    <pubDate>Sun, 27 Jun 2021 10:41:06 GMT</pubDate>
    <dc:creator>sudhakar_mnsr</dc:creator>
    <dc:date>2021-06-27T10:41:06Z</dc:date>
    <item>
      <title>Plot error % as timeseries</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plot-error-as-timeseries/m-p/557270#M158271</link>
      <description>&lt;P&gt;How to plot http error % as timeseries? (when I add _time or timeseries count Iam getting DAG: Execution exception (search cancelled)).&lt;/P&gt;&lt;P&gt;Query:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;index=abc source=efg cdn=pqr "message.reqHost"="*xyz*" earliest=-15m latest=now&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| eventstats count As Total&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| eval Status=case(like(dm_status,"4%"),"HTTPERR", like(dm_status,"5%"),"HTTPERR") | stats count AS ERR_Count by Status, Total&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| eval ERR_PERCENTAGE=round(((ERR_Count)/Total)*100,2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| eval ERR_PERCENTAGE = if(isnull(ERR_PERCENTAGE),"0",ERR_PERCENTAGE)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jun 2021 02:35:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plot-error-as-timeseries/m-p/557270#M158271</guid>
      <dc:creator>sudhakar_mnsr</dc:creator>
      <dc:date>2021-06-27T02:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Plot error % as timeseries</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plot-error-as-timeseries/m-p/557280#M158276</link>
      <description>&lt;P&gt;Can you share the search that doesn't work as well as the one that does?&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jun 2021 09:07:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plot-error-as-timeseries/m-p/557280#M158276</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-27T09:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Plot error % as timeseries</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plot-error-as-timeseries/m-p/557281#M158277</link>
      <description>&lt;P&gt;Thanks for looking into this. Please find the query that give error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;index=abc source=efg dm_cdn=pqr "message.reqHost"=xyz earliest=-15m latest=now&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| eventstats count As Total&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| eval Status=case(like(dm_status,"4%"),"HTTP4XX")| stats count AS ERR_Count by Status, Total, _time&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| eval ERR_PERCENTAGE=round(((ERR_Count)/Total)*100,2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| eval ERR_PERCENTAGE = if(isnull(ERR_PERCENTAGE),"0",ERR_PERCENTAGE) | fields _time, ERR_PERCENTAGE&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| timechart span=10s count by ERR_PERCENTAGE&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jun 2021 09:13:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plot-error-as-timeseries/m-p/557281#M158277</guid>
      <dc:creator>sudhakar_mnsr</dc:creator>
      <dc:date>2021-06-27T09:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Plot error % as timeseries</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plot-error-as-timeseries/m-p/557285#M158281</link>
      <description>&lt;P&gt;Which version of splunk are you using? Is there any useful information in the job inspector?&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jun 2021 09:58:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plot-error-as-timeseries/m-p/557285#M158281</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-27T09:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Plot error % as timeseries</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plot-error-as-timeseries/m-p/557288#M158284</link>
      <description>&lt;P&gt;Splunk Cloud (Version:8.2.2105.2).&lt;/P&gt;&lt;P&gt;Iam new to Splunk, if you can help me to get the information you are looking for, I can send it. However in verbose mode (events) I could not get any information.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jun 2021 10:41:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plot-error-as-timeseries/m-p/557288#M158284</guid>
      <dc:creator>sudhakar_mnsr</dc:creator>
      <dc:date>2021-06-27T10:41:06Z</dc:date>
    </item>
  </channel>
</rss>

