<?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 is it possible to have multiple levels at x-axis for chart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-have-multiple-levels-at-x-axis-for-chart/m-p/144221#M40132</link>
    <description>&lt;P&gt;I am able to create a timechart graph successfully of what I need. The timechart displays the data for each day.  Now there are events say  A1, A2 .... such that , A1 occured from Mon to tuesday, then A2 occured from wednesday to friday and so on..and they do not overlap. Now imgaine the time chart is showing values for previous week. Now I wanna extract the values on x axis of timechart, search my database for the events which happened in that period. Then append it below x-axis, such that below the time in x axis on timechart it shows A1 from Mon to tuesday , A2 from wednesday to friday and so on, as the second level of x-axis.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Dec 2014 20:55:37 GMT</pubDate>
    <dc:creator>Punit</dc:creator>
    <dc:date>2014-12-05T20:55:37Z</dc:date>
    <item>
      <title>is it possible to have multiple levels at x-axis for chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-have-multiple-levels-at-x-axis-for-chart/m-p/144221#M40132</link>
      <description>&lt;P&gt;I am able to create a timechart graph successfully of what I need. The timechart displays the data for each day.  Now there are events say  A1, A2 .... such that , A1 occured from Mon to tuesday, then A2 occured from wednesday to friday and so on..and they do not overlap. Now imgaine the time chart is showing values for previous week. Now I wanna extract the values on x axis of timechart, search my database for the events which happened in that period. Then append it below x-axis, such that below the time in x axis on timechart it shows A1 from Mon to tuesday , A2 from wednesday to friday and so on, as the second level of x-axis.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2014 20:55:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-have-multiple-levels-at-x-axis-for-chart/m-p/144221#M40132</guid>
      <dc:creator>Punit</dc:creator>
      <dc:date>2014-12-05T20:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to have multiple levels at x-axis for chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-have-multiple-levels-at-x-axis-for-chart/m-p/144222#M40133</link>
      <description>&lt;P&gt;Would you be able to put a quick image of mspaint or something on how it should look like. You can use &lt;A href="http://imgur.com/"&gt;http://imgur.com/&lt;/A&gt; to upload image and provide link here.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2014 22:57:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-have-multiple-levels-at-x-axis-for-chart/m-p/144222#M40133</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-12-05T22:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to have multiple levels at x-axis for chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-have-multiple-levels-at-x-axis-for-chart/m-p/144223#M40134</link>
      <description>&lt;P&gt;Link :&lt;A href="http://i.imgur.com/tv9rzq8.png"&gt;http://i.imgur.com/tv9rzq8.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2014 15:02:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-have-multiple-levels-at-x-axis-for-chart/m-p/144223#M40134</guid>
      <dc:creator>Punit</dc:creator>
      <dc:date>2014-12-08T15:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to have multiple levels at x-axis for chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-have-multiple-levels-at-x-axis-for-chart/m-p/144224#M40135</link>
      <description>&lt;P&gt;Not sure if that is possible, but you can try something like this (work-around)&lt;/P&gt;

&lt;P&gt;Sample search (run anywhere): (selected timerange=2014/12/08 10:00 AM to 2014/12/08 10:15 AM)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal | eval Type=if(date_minute&amp;lt;11,"TypeA","TypeB") | timechart span=1m count first(Type) as Types | eval TypeA=if(Types="TypeA",-1000,null()) | eval TypeB=if(Types="TypeB",-1000,null())  | fields  - Types
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In Panel-&amp;gt;Format-&amp;gt;chart overlay -&amp;gt; select column TypeA and TypeB as overlay columns.&lt;/P&gt;

&lt;P&gt;Sample output:&lt;BR /&gt;
&lt;A href="http://i.imgur.com/sdWw06n.png"&gt;http://i.imgur.com/sdWw06n.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2014 16:53:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-have-multiple-levels-at-x-axis-for-chart/m-p/144224#M40135</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-12-08T16:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to have multiple levels at x-axis for chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-have-multiple-levels-at-x-axis-for-chart/m-p/144225#M40136</link>
      <description>&lt;P&gt;Hi Try this,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your search...| chart count over events by _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 08 Dec 2014 16:55:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-have-multiple-levels-at-x-axis-for-chart/m-p/144225#M40136</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2014-12-08T16:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to have multiple levels at x-axis for chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-have-multiple-levels-at-x-axis-for-chart/m-p/144226#M40137</link>
      <description>&lt;P&gt;Thanks... but my column like the Type in yours, has more values than just two. Is there a method to dynamically achieve this creation of column TypeA, TypeB?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2014 22:06:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-have-multiple-levels-at-x-axis-for-chart/m-p/144226#M40137</guid>
      <dc:creator>Punit</dc:creator>
      <dc:date>2014-12-08T22:06:31Z</dc:date>
    </item>
  </channel>
</rss>

