<?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 to include x axis info on chart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-include-x-axis-info-on-chart/m-p/27032#M5240</link>
    <description>&lt;P&gt;I am not sure that this will work, but try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| dbquery "DBNAME" "SELECT useraction FROM usertable" 
| eval useraction=strftime(useraction,"%Y-%d-%m")
| eval _time=strptime(useraction,"%Y-%d-%m")
| timechart span=5m count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hopefully, this will build a timechart with 5 minute increments. You can set the span to something else if you want, but there is a limit to the number of datapoints that can be displayed in a chart. I forget what the limit it, but you should get an error message (red bar) if you try to exceed it.&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2013 05:14:03 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2013-05-08T05:14:03Z</dc:date>
    <item>
      <title>How to include x axis info on chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-include-x-axis-info-on-chart/m-p/27031#M5239</link>
      <description>&lt;P&gt;Hi, I have created a results chart using this search:&lt;/P&gt;

&lt;P&gt;| dbquery "DBNAME" "SELECT useraction FROM usertable" | eval useraction=strftime(useraction,"%Y-%d-%m") | stats count by useraction&lt;/P&gt;

&lt;P&gt;However there are no dates along the x axis, only the title of "useraction"&lt;/P&gt;

&lt;P&gt;How can I get those there for context?&lt;/P&gt;

&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2013 23:05:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-include-x-axis-info-on-chart/m-p/27031#M5239</guid>
      <dc:creator>kbcuait</dc:creator>
      <dc:date>2013-05-07T23:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to include x axis info on chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-include-x-axis-info-on-chart/m-p/27032#M5240</link>
      <description>&lt;P&gt;I am not sure that this will work, but try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| dbquery "DBNAME" "SELECT useraction FROM usertable" 
| eval useraction=strftime(useraction,"%Y-%d-%m")
| eval _time=strptime(useraction,"%Y-%d-%m")
| timechart span=5m count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hopefully, this will build a timechart with 5 minute increments. You can set the span to something else if you want, but there is a limit to the number of datapoints that can be displayed in a chart. I forget what the limit it, but you should get an error message (red bar) if you try to exceed it.&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2013 05:14:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-include-x-axis-info-on-chart/m-p/27032#M5240</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-05-08T05:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to include x axis info on chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-include-x-axis-info-on-chart/m-p/27033#M5241</link>
      <description>&lt;P&gt;Hi and thanks - this gives me No results found&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2013 16:58:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-include-x-axis-info-on-chart/m-p/27033#M5241</guid>
      <dc:creator>kbcuait</dc:creator>
      <dc:date>2013-05-08T16:58:14Z</dc:date>
    </item>
  </channel>
</rss>

