<?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: Timechart x-axis customized time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Timechart-x-axis-customized-time/m-p/123912#M33477</link>
    <description>&lt;P&gt;You might be able to do something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | eval _time = strptime(date, "%Y%m%d%H%M%S") | timechart ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, do consider if it makes sense to use that date field as the actual &lt;CODE&gt;_time&lt;/CODE&gt; value when indexing future data.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Apr 2014 13:34:48 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2014-04-08T13:34:48Z</dc:date>
    <item>
      <title>Timechart x-axis customized time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-x-axis-customized-time/m-p/123911#M33476</link>
      <description>&lt;P&gt;I am getting date from my device in search date field like date=20140408045219. So i wanted to show the time chart according to date field in x-axis not _time. Any suggestion will be helpful?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2014 12:08:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-x-axis-customized-time/m-p/123911#M33476</guid>
      <dc:creator>abhi144</dc:creator>
      <dc:date>2014-04-08T12:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart x-axis customized time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-x-axis-customized-time/m-p/123912#M33477</link>
      <description>&lt;P&gt;You might be able to do something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | eval _time = strptime(date, "%Y%m%d%H%M%S") | timechart ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, do consider if it makes sense to use that date field as the actual &lt;CODE&gt;_time&lt;/CODE&gt; value when indexing future data.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2014 13:34:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-x-axis-customized-time/m-p/123912#M33477</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-04-08T13:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart x-axis customized time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-x-axis-customized-time/m-p/123913#M33478</link>
      <description>&lt;P&gt;Thanks for your suggestion martin. But it still taking _time on x-axis its not taking my time which is coming through eval _time = strptime(date, "%Y%m%d%H%M%S").&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2014 13:45:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-x-axis-customized-time/m-p/123913#M33478</guid>
      <dc:creator>abhi144</dc:creator>
      <dc:date>2014-04-08T13:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart x-axis customized time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-x-axis-customized-time/m-p/123914#M33479</link>
      <description>&lt;P&gt;When I run this over here:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal | head 1 | eval date="20140408045219" | eval _time = strptime(date, "%Y%m%d%H%M%S") | timechart count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I get a blip at 4:52AM rather than now (3:50PM).&lt;/P&gt;

&lt;P&gt;It's still using the field called &lt;CODE&gt;_time&lt;/CODE&gt;, but with the value you've changed it to.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2014 13:50:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-x-axis-customized-time/m-p/123914#M33479</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-04-08T13:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart x-axis customized time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-x-axis-customized-time/m-p/123915#M33480</link>
      <description>&lt;P&gt;You may want to try the chart command.  "Unlike the timechart command which generates a chart with the _time field as the x-axis, the chart command produces a table with an arbitrary field as the x-axis."&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 15:57:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-x-axis-customized-time/m-p/123915#M33480</guid>
      <dc:creator>HMTODD</dc:creator>
      <dc:date>2016-11-03T15:57:47Z</dc:date>
    </item>
  </channel>
</rss>

