<?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 make a different bar chart for each day in a given timerange ? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-make-a-different-bar-chart-for-each-day-in-a-given/m-p/422379#M27854</link>
    <description>&lt;P&gt;Thanks for the info, but let’s say if I want to compare last 7days should I keep on renaming all the days If so I think there should be a better way. Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 10 Oct 2018 17:07:28 GMT</pubDate>
    <dc:creator>sandeepmakkena</dc:creator>
    <dc:date>2018-10-10T17:07:28Z</dc:date>
    <item>
      <title>How do I make a different bar chart for each day in a given timerange ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-make-a-different-bar-chart-for-each-day-in-a-given/m-p/422375#M27850</link>
      <description>&lt;P&gt;mysearch&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval Status=if(like(_raw, "%POSTING:SUCCEEDED%"), "2.Successful transactions" , "1.Rejected Transactions") 
| timechart count by Status span=1hr | timewrap 1day
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am trying to compare today's total successful transactions and rejected transactions with past 2days, past3days...past7days. I am trying to use the above query, but it is getting me a separate bar graph from successful and rejected( I want them to be stacked) Please help me achieve this. &lt;BR /&gt;
Thank you.,&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 15:32:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-make-a-different-bar-chart-for-each-day-in-a-given/m-p/422375#M27850</guid>
      <dc:creator>sandeepmakkena</dc:creator>
      <dc:date>2018-10-10T15:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a different bar chart for each day in a given timerange ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-make-a-different-bar-chart-for-each-day-in-a-given/m-p/422376#M27851</link>
      <description>&lt;P&gt;You can change the format to stack mode from Visualization format. &lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 15:46:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-make-a-different-bar-chart-for-each-day-in-a-given/m-p/422376#M27851</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2018-10-10T15:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a different bar chart for each day in a given timerange ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-make-a-different-bar-chart-for-each-day-in-a-given/m-p/422377#M27852</link>
      <description>&lt;P&gt;I tried that it didnot work. It is giving me a big bar graph will all days selected with different colors. &lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 15:55:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-make-a-different-bar-chart-for-each-day-in-a-given/m-p/422377#M27852</guid>
      <dc:creator>sandeepmakkena</dc:creator>
      <dc:date>2018-10-10T15:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a different bar chart for each day in a given timerange ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-make-a-different-bar-chart-for-each-day-in-a-given/m-p/422378#M27853</link>
      <description>&lt;P&gt;You need to combine last 2 days as one , you can do that by renaming  and eval. Also since you are comparing current date with last 2 days &lt;BR /&gt;
    |rename "2.Successful transactions_1day_before" as Last_Success_1, rename  "1.Rejected Transactions_1day_before" as Last_Rejected_1, "2.Successful transactions_2day_before" as Last_Success_2, rename  "1.Rejected Ttransactions_2day_before" as Last_Rejected_2&lt;BR /&gt;
    |eval Last_Success=Last_Success_1 + Last_Success_2&lt;BR /&gt;
    |eval Last_Rejected= Last_Rejected_1 + Last_Rejected_2&lt;BR /&gt;
    | fields _time Last_Success Last_Rejected  2.Successful transactions_latest_day "1.Rejected Transactions_latest_day"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:35:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-make-a-different-bar-chart-for-each-day-in-a-given/m-p/422378#M27853</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2020-09-29T21:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a different bar chart for each day in a given timerange ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-make-a-different-bar-chart-for-each-day-in-a-given/m-p/422379#M27854</link>
      <description>&lt;P&gt;Thanks for the info, but let’s say if I want to compare last 7days should I keep on renaming all the days If so I think there should be a better way. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 17:07:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-make-a-different-bar-chart-for-each-day-in-a-given/m-p/422379#M27854</guid>
      <dc:creator>sandeepmakkena</dc:creator>
      <dc:date>2018-10-10T17:07:28Z</dc:date>
    </item>
  </channel>
</rss>

