<?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 get my SPLUNK csv excel data to display via a horizontal bar chart? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-my-SPLUNK-csv-excel-data-to-display-via-a/m-p/222169#M188195</link>
    <description>&lt;P&gt;For your bar chart, you can use commands like these&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | stats sum("SUM_VALUE_") as SUM_VALUE by CDC_DVN_VERSION_ 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | chart sum("SUM_VALUE_") as SUM_VALUE by CDC_DVN_VERSION_ 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To add PRODUCT_ID_, as filter, create a form input with token productid and use the token as filter in your base search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search PRODUCT_ID_="$productid$" | chart sum("SUM_VALUE_") as SUM_VALUE by CDC_DVN_VERSION_ 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;See this for examples for how to create form/form input.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.2/Viz/Buildandeditforms" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.2/Viz/Buildandeditforms&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 10:34:56 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2020-09-29T10:34:56Z</dc:date>
    <item>
      <title>How do I get my SPLUNK csv excel data to display via a horizontal bar chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-my-SPLUNK-csv-excel-data-to-display-via-a/m-p/222167#M188193</link>
      <description>&lt;P&gt;My data displays in splunk and ![I was able to generate a correct table via running the command index=cmadam host=kot source= "/media/sf_aaa/log1.csv" | multikv | table PRODUCT_ID_, CDC_DVN_VERSION_, SUM_VALUE_ which covers all my needed variables at the moment. My goal is a table similar to this&lt;IMG src="https://community.splunk.com/storage/temp/153246-acs.png" alt="alt text" /&gt;&lt;BR /&gt;
When I press visualization I create a graph where the axis are correctly labeled, but no bars show up. What commands are best for creating this visualizations. I'd like the x to be CDC_DVN_VERSION_ and the y to be SUM_VALUE_ which can be filtered by a changing PRODUCT_ID_ later to be defined. Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:34:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-my-SPLUNK-csv-excel-data-to-display-via-a/m-p/222167#M188193</guid>
      <dc:creator>vstrash</dc:creator>
      <dc:date>2020-09-29T10:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get my SPLUNK csv excel data to display via a horizontal bar chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-my-SPLUNK-csv-excel-data-to-display-via-a/m-p/222168#M188194</link>
      <description>&lt;P&gt;The above chart is what I hope to mimic or create similar to.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 19:31:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-my-SPLUNK-csv-excel-data-to-display-via-a/m-p/222168#M188194</guid>
      <dc:creator>vstrash</dc:creator>
      <dc:date>2016-08-10T19:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get my SPLUNK csv excel data to display via a horizontal bar chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-my-SPLUNK-csv-excel-data-to-display-via-a/m-p/222169#M188195</link>
      <description>&lt;P&gt;For your bar chart, you can use commands like these&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | stats sum("SUM_VALUE_") as SUM_VALUE by CDC_DVN_VERSION_ 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | chart sum("SUM_VALUE_") as SUM_VALUE by CDC_DVN_VERSION_ 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To add PRODUCT_ID_, as filter, create a form input with token productid and use the token as filter in your base search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search PRODUCT_ID_="$productid$" | chart sum("SUM_VALUE_") as SUM_VALUE by CDC_DVN_VERSION_ 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;See this for examples for how to create form/form input.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.2/Viz/Buildandeditforms" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.2/Viz/Buildandeditforms&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:34:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-my-SPLUNK-csv-excel-data-to-display-via-a/m-p/222169#M188195</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-09-29T10:34:56Z</dc:date>
    </item>
  </channel>
</rss>

