<?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 create bar chart where I want x axis to display all the value in field even If Y axis don't have value? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/619011#M215137</link>
    <description>&lt;P&gt;Create a separate field for sorting.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="veracode" sourcetype="Veracode" | lookup Veracode.csv find.severity | stats count by Severity
| append [| inputlookup Veracode.csv | stats count by Severity | eval count = 0]
| stats max(count) as count by Severity
| eval sorter = case(Severity="very high", 1, Severity="high", 2, Severity="medium", 3, Severity="Low", 4, Severity="Very Low", 5, 1==1, 99)
| sort + sorter
| fields - sorter&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 31 Oct 2022 20:01:13 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-10-31T20:01:13Z</dc:date>
    <item>
      <title>How do I create bar chart where I want x axis to display all the value in field even If Y axis don't have value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618923#M215106</link>
      <description>&lt;P&gt;I use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;index= main | lookup test1.csv Severity1 | stats &amp;nbsp;count by Severity&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The lookup table have 5 value ( Veryhigh, high, medium, low, verylow) how do I add this to x axis even If I do not have Y axis count for it. I want chart look like&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ouHqm.png" style="width: 375px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22230i72AFB7E961CA79E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="ouHqm.png" alt="ouHqm.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 14:07:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618923#M215106</guid>
      <dc:creator>karu0711</dc:creator>
      <dc:date>2022-10-31T14:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create bar chart where I want x axis to display all the value in field even If Y axis don't have value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618931#M215108</link>
      <description>&lt;LI-CODE lang="markup"&gt;index= main 
| stats  count by Severity 
| append [| inputlookup test1.csv Severity1
  | rename Severity1 as Severity
  | eval count = 0]
| stats sum(count) as count by Severity &lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 31 Oct 2022 14:12:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618931#M215108</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-10-31T14:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create bar chart where I want x axis to display all the value in field even If Y axis don't have value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618933#M215109</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;stats&lt;/FONT&gt; command only counts events that are there.&amp;nbsp; It will not report 'zero' for other values of Severity because the set of such values is infinite (as far as the command knows).&amp;nbsp; There is a workaround, however.&amp;nbsp; Append the full list of severities with a zero count for each.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index= main | lookup test1.csv Severity1 
| stats count by Severity 
[ append [ | inputlookup test1.csv 
  | fields Severity
  } eval count = 0
]
| stats sum(count) as count by Severity&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 14:18:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618933#M215109</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-10-31T14:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create bar chart where I want x axis to display all the value in field even If Y axis don't have value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618961#M215114</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_3659 Small.jpeg" style="width: 320px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22241i271F49327A0F20AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG_3659 Small.jpeg" alt="IMG_3659 Small.jpeg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_3660 Small 2.jpeg" style="width: 320px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22242i4635F4D6BEDD83C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG_3660 Small 2.jpeg" alt="IMG_3660 Small 2.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How do I do join &amp;nbsp;this two table and I want all value in Severity and If "count" column has any value show that if not display "0" In this picture has very high and high has "4" rest have "0" &amp;nbsp;so very high and High to display 4 and rest to display 0&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 15:54:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618961#M215114</guid>
      <dc:creator>karu0711</dc:creator>
      <dc:date>2022-10-31T15:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create bar chart where I want x axis to display all the value in field even If Y axis don't have value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618964#M215117</link>
      <description>&lt;P&gt;Thanks for the quick reply&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 16:01:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618964#M215117</guid>
      <dc:creator>karu0711</dc:creator>
      <dc:date>2022-10-31T16:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create bar chart where I want x axis to display all the value in field even If Y axis don't have value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618965#M215118</link>
      <description>&lt;P&gt;Thanks for quick reply.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 16:02:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618965#M215118</guid>
      <dc:creator>karu0711</dc:creator>
      <dc:date>2022-10-31T16:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create bar chart where I want x axis to display all the value in field even If Y axis don't have value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618966#M215119</link>
      <description>&lt;P&gt;It is not possible to see what your search is doing from a photo.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 16:03:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618966#M215119</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-10-31T16:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create bar chart where I want x axis to display all the value in field even If Y axis don't have value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618969#M215122</link>
      <description>&lt;P&gt;&amp;nbsp;1st search&lt;/P&gt;&lt;P&gt;index="veracode_test" sourcetype="veracode" |lookup Veracode.csv Find_severity | stats count by Severity&amp;nbsp;&lt;/P&gt;&lt;P&gt;2nd search&lt;/P&gt;&lt;P&gt;| inputlookup veracode.csv | fileds Severity |eval count = 0&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want join both search.&lt;/P&gt;&lt;P&gt;1 search return count value = 4&lt;/P&gt;&lt;P&gt;2 nd search return count value = 0&lt;/P&gt;&lt;P&gt;I want to join both search to the Severity fields if there no value I want it to be =0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 16:20:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618969#M215122</guid>
      <dc:creator>karu0711</dc:creator>
      <dc:date>2022-10-31T16:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create bar chart where I want x axis to display all the value in field even If Y axis don't have value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618973#M215124</link>
      <description>&lt;P&gt;I already showed you how to do that.&amp;nbsp; Append the 2nd search to the first then use &lt;FONT face="courier new,courier"&gt;stats sum(count)&lt;/FONT&gt; to combine them.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="veracode_test" sourcetype="veracode" 
| lookup Veracode.csv Find_severity | stats count by Severity 
| append [| inputlookup veracode.csv | fields Severity | eval count = 0 ]
stats sum(count) by Severity&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 16:41:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618973#M215124</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-10-31T16:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create bar chart where I want x axis to display all the value in field even If Y axis don't have value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618974#M215125</link>
      <description>&lt;P&gt;when I apply the search I get the count as&amp;nbsp; "0" only.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 16:50:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618974#M215125</guid>
      <dc:creator>karu0711</dc:creator>
      <dc:date>2022-10-31T16:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create bar chart where I want x axis to display all the value in field even If Y axis don't have value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618976#M215126</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="This what I got" style="width: 640px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22244i6E8AA35D1A5A48C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG_3662 Medium.jpeg" alt="This what I got" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;This what I got&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 16:59:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618976#M215126</guid>
      <dc:creator>karu0711</dc:creator>
      <dc:date>2022-10-31T16:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create bar chart where I want x axis to display all the value in field even If Y axis don't have value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618979#M215128</link>
      <description>&lt;P&gt;You are probably getting those results because the field names do not match your events. If you could share some sample event in a code block &amp;lt;/&amp;gt; not a picture, we might be able to help you more.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 17:04:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618979#M215128</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-10-31T17:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create bar chart where I want x axis to display all the value in field even If Y axis don't have value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618983#M215131</link>
      <description>&lt;P&gt;| inputlookup Veracode.csv | fields Severity | eval count = 0&lt;BR /&gt;| join type=left Severity&lt;BR /&gt;[|search index="veracode" sourcetype="Veracode" | lookup Veracode.csv find.severity | stats count by Severity]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to do with join command&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 17:20:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618983#M215131</guid>
      <dc:creator>karu0711</dc:creator>
      <dc:date>2022-10-31T17:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create bar chart where I want x axis to display all the value in field even If Y axis don't have value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618992#M215133</link>
      <description>&lt;P&gt;This a solution but better/optimal solution is what&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;has provided. Joins are expensive search command in terms of Splunk resources and subsearches have further limitations as well. If above search has worked, the translated Richard's solution would work too (and will work better):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="veracode" sourcetype="Veracode" | lookup Veracode.csv find.severity | stats count by Severity
| append [| inputlookup Veracode.csv | stats count by Severity | eval count = 0]
| stats max(count) as count by Severity&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 31 Oct 2022 18:20:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618992#M215133</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2022-10-31T18:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create bar chart where I want x axis to display all the value in field even If Y axis don't have value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618997#M215135</link>
      <description>&lt;P class="lia-align-right"&gt;I was able to get result using you command but how do I sort the Severity field value in this order&lt;/P&gt;&lt;P class="lia-align-right"&gt;&amp;nbsp;[very high ,high , medium, Low , Very Low]?&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 18:39:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/618997#M215135</guid>
      <dc:creator>karu0711</dc:creator>
      <dc:date>2022-10-31T18:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create bar chart where I want x axis to display all the value in field even If Y axis don't have value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/619011#M215137</link>
      <description>&lt;P&gt;Create a separate field for sorting.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="veracode" sourcetype="Veracode" | lookup Veracode.csv find.severity | stats count by Severity
| append [| inputlookup Veracode.csv | stats count by Severity | eval count = 0]
| stats max(count) as count by Severity
| eval sorter = case(Severity="very high", 1, Severity="high", 2, Severity="medium", 3, Severity="Low", 4, Severity="Very Low", 5, 1==1, 99)
| sort + sorter
| fields - sorter&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 31 Oct 2022 20:01:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/619011#M215137</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-10-31T20:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create bar chart where I want x axis to display all the value in field even If Y axis don't have value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/619140#M215188</link>
      <description>&lt;P&gt;one more request&lt;/P&gt;&lt;P&gt;I also want to customize the x axis value fields such as Very High , High , medium , low diffrent color base. How can I do that?&amp;nbsp; I want similar to this.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ouHqm.png" style="width: 375px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22262iE4AA660A809D190B/image-size/large?v=v2&amp;amp;px=999" role="button" title="ouHqm.png" alt="ouHqm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 15:20:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/619140#M215188</guid>
      <dc:creator>karu0711</dc:creator>
      <dc:date>2022-11-01T15:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create bar chart where I want x axis to display all the value in field even If Y axis don't have value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/619170#M215197</link>
      <description>&lt;P&gt;Try adding a &lt;FONT face="courier new,courier"&gt;charting.fieldColors&lt;/FONT&gt; statement to the panel XML.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
&amp;lt;panel&amp;gt;
  &amp;lt;chart&amp;gt;
    &amp;lt;search&amp;gt;
...
    &amp;lt;/search&amp;gt;
    &amp;lt;option name="charting.fieldColors"&amp;gt;{"Very High": 0xFF0000, "High": 0xFF9900, "Medium":0x0066FF, "Low":0xC4C4C0, "Very Low":0xBEEF00}&amp;lt;/option&amp;gt;
&amp;lt;/panel&amp;gt;
...&lt;/LI-CODE&gt;&lt;P&gt;You'll need to change the hex numbers to represent the colors you want displayed.&amp;nbsp; See&amp;nbsp;&lt;A href="https://www.w3schools.com/colors/colors_picker.asp" target="_blank"&gt;https://www.w3schools.com/colors/colors_picker.asp&lt;/A&gt;&amp;nbsp;for color codes.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 16:59:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/619170#M215197</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-11-01T16:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create bar chart where I want x axis to display all the value in field even If Y axis don't have value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/619173#M215198</link>
      <description>&lt;P&gt;I add fieldscolor to the panel but still no color change&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;test Veracode&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Severity by flaw&amp;lt;/title&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index="veracode_test" sourcetype="Veracode_scan" | lookup Veracode.csv findings{}.severity | stats count by Severity 
| append 
    [| inputlookup Veracode.csv | fields Severity 
    | stats count by Severity | eval count = 0]
| stats max(count) as Total by Severity
| eval sorter = case(Severity="Very High", 5, Severity="High", 4, Severity="medium", 3, Severity="Low",2, Severity="Very Low",1,1==1,99)
| sort + sorter
| fields - sorter&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisX.abbreviation"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY.abbreviation"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.abbreviation"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;gaps&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.showDataLabels"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.fieldColors"&amp;gt;{"Very High": 0xFF0000, "High": 0xFF9900, "medium":0x0066FF, "Low":0xC4C4C0, "Very Low":0xBEEF00}&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.layout.splitSeries.allowIndependentYRanges"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.mode"&amp;gt;standard&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.placement"&amp;gt;right&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.lineWidth"&amp;gt;2&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.scales.shared"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.size"&amp;gt;medium&amp;lt;/option&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 01 Nov 2022 17:07:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-bar-chart-where-I-want-x-axis-to-display-all-the/m-p/619173#M215198</guid>
      <dc:creator>karu0711</dc:creator>
      <dc:date>2022-11-01T17:07:45Z</dc:date>
    </item>
  </channel>
</rss>

