<?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: I am trying to get a bar chart to display a stats count of each violation split by the request status, so for it to display both, how much was blocked or alerted. What am i doing wrong in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/I-am-trying-to-get-a-bar-chart-to-display-a-stats-count-of-each/m-p/166960#M47518</link>
    <description>&lt;P&gt;Can you post the two searches and the results they get you? I've written a nearly identical search to yours and it works perfectly.&lt;/P&gt;

&lt;P&gt;Or possibly I'm misunderstanding something. What is the universe of the possible values for &lt;CODE&gt;violations&lt;/CODE&gt;? By using that at the end of your &lt;CODE&gt;stats&lt;/CODE&gt; clause, that's what you're splitting your results over.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Oct 2014 15:23:12 GMT</pubDate>
    <dc:creator>aweitzman</dc:creator>
    <dc:date>2014-10-20T15:23:12Z</dc:date>
    <item>
      <title>I am trying to get a bar chart to display a stats count of each violation split by the request status, so for it to display both, how much was blocked or alerted. What am i doing wrong</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-am-trying-to-get-a-bar-chart-to-display-a-stats-count-of-each/m-p/166957#M47515</link>
      <description>&lt;P&gt;index="bigip-asm" web_application_name=HTTPCLASS_PROD_SOAENTRYPOINT_EXTERNAL_LIVE request_status=alerted OR blocked | stats count(eval(request_status="blocked")) as blocked count(eval(request_status="alerted")) as alerted by violations&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:54:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-am-trying-to-get-a-bar-chart-to-display-a-stats-count-of-each/m-p/166957#M47515</guid>
      <dc:creator>james_westwood</dc:creator>
      <dc:date>2020-09-28T17:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: I am trying to get a bar chart to display a stats count of each violation split by the request status, so for it to display both, how much was blocked or alerted. What am i doing wrong</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-am-trying-to-get-a-bar-chart-to-display-a-stats-count-of-each/m-p/166958#M47516</link>
      <description>&lt;P&gt;I think you want to replace&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;request_status=alerted OR blocked
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;with&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;request_status=alerted OR request_status=blocked
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 20 Oct 2014 14:49:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-am-trying-to-get-a-bar-chart-to-display-a-stats-count-of-each/m-p/166958#M47516</guid>
      <dc:creator>aweitzman</dc:creator>
      <dc:date>2014-10-20T14:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: I am trying to get a bar chart to display a stats count of each violation split by the request status, so for it to display both, how much was blocked or alerted. What am i doing wrong</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-am-trying-to-get-a-bar-chart-to-display-a-stats-count-of-each/m-p/166959#M47517</link>
      <description>&lt;P&gt;i have tried this but it always seem to just populate one value (Blocked or Alerted) and leaves the other one "0"&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2014 15:12:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-am-trying-to-get-a-bar-chart-to-display-a-stats-count-of-each/m-p/166959#M47517</guid>
      <dc:creator>james_westwood</dc:creator>
      <dc:date>2014-10-20T15:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: I am trying to get a bar chart to display a stats count of each violation split by the request status, so for it to display both, how much was blocked or alerted. What am i doing wrong</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-am-trying-to-get-a-bar-chart-to-display-a-stats-count-of-each/m-p/166960#M47518</link>
      <description>&lt;P&gt;Can you post the two searches and the results they get you? I've written a nearly identical search to yours and it works perfectly.&lt;/P&gt;

&lt;P&gt;Or possibly I'm misunderstanding something. What is the universe of the possible values for &lt;CODE&gt;violations&lt;/CODE&gt;? By using that at the end of your &lt;CODE&gt;stats&lt;/CODE&gt; clause, that's what you're splitting your results over.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2014 15:23:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-am-trying-to-get-a-bar-chart-to-display-a-stats-count-of-each/m-p/166960#M47518</guid>
      <dc:creator>aweitzman</dc:creator>
      <dc:date>2014-10-20T15:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: I am trying to get a bar chart to display a stats count of each violation split by the request status, so for it to display both, how much was blocked or alerted. What am i doing wrong</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-am-trying-to-get-a-bar-chart-to-display-a-stats-count-of-each/m-p/166961#M47519</link>
      <description>&lt;P&gt;all i'm trying to see is the results for both alerted and blocked split by each violation but every time i run this search it seems to on populate either one or the other. so ill get it split by the violation type but if there is results in the alerted then blocked will say zero and vice versa.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2014 08:51:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-am-trying-to-get-a-bar-chart-to-display-a-stats-count-of-each/m-p/166961#M47519</guid>
      <dc:creator>james_westwood</dc:creator>
      <dc:date>2014-10-21T08:51:02Z</dc:date>
    </item>
  </channel>
</rss>

