<?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 timechart time format change in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/timechart-time-format-change/m-p/111751#M29290</link>
    <description>&lt;P&gt;I am trying to tabulate number of specific operation per day using this format&lt;/P&gt;

&lt;P&gt;timechart span=1d count as DLCreateCount&lt;/P&gt;

&lt;P&gt;How do I replace the _time value with a human readable time format ?&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jan 2014 02:14:35 GMT</pubDate>
    <dc:creator>gancw1</dc:creator>
    <dc:date>2014-01-14T02:14:35Z</dc:date>
    <item>
      <title>timechart time format change</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-time-format-change/m-p/111751#M29290</link>
      <description>&lt;P&gt;I am trying to tabulate number of specific operation per day using this format&lt;/P&gt;

&lt;P&gt;timechart span=1d count as DLCreateCount&lt;/P&gt;

&lt;P&gt;How do I replace the _time value with a human readable time format ?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2014 02:14:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-time-format-change/m-p/111751#M29290</guid>
      <dc:creator>gancw1</dc:creator>
      <dc:date>2014-01-14T02:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: timechart time format change</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-time-format-change/m-p/111752#M29291</link>
      <description>&lt;P&gt;See if Ayn's answer here works for you: &lt;A href="http://answers.splunk.com/answers/100969/how-to-format-timechart-time-values-easily"&gt;http://answers.splunk.com/answers/100969/how-to-format-timechart-time-values-easily&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2014 02:19:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-time-format-change/m-p/111752#M29291</guid>
      <dc:creator>jsie_splunk</dc:creator>
      <dc:date>2014-01-14T02:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: timechart time format change</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-time-format-change/m-p/111753#M29292</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
There are many ways.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;timechart ... |convert ctime(_time) 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;will do it as well. But in Splunk 6 you will get it automatically.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2014 03:49:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-time-format-change/m-p/111753#M29292</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-01-14T03:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: timechart time format change</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-time-format-change/m-p/111754#M29293</link>
      <description>&lt;P&gt;this will create additional time column :&lt;/P&gt;

&lt;P&gt;_time    DLCreateCount  Time&lt;/P&gt;

&lt;P&gt;I would like to replace the _time with time&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2014 09:03:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-time-format-change/m-p/111754#M29293</guid>
      <dc:creator>gancw1</dc:creator>
      <dc:date>2014-01-14T09:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: timechart time format change</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-time-format-change/m-p/111755#M29294</link>
      <description>&lt;P&gt;No it replaces the same column where you have the time column.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2014 17:08:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-time-format-change/m-p/111755#M29294</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-01-14T17:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: timechart time format change</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-time-format-change/m-p/111756#M29295</link>
      <description>&lt;P&gt;You could do something like this - an example of using strftime to pull out the name of the Day and then counting over the past seven days. In this case "_time" is replaced by Day. Play with strftime and the time range to get what you want.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... earliest=-7d@d latest=now |  bucket span=1d _time | eval Day=strftime(_time, "%u. %A") |  stats count as DLCreateCount by Day 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Jan 2014 18:39:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-time-format-change/m-p/111756#M29295</guid>
      <dc:creator>jbrodsky_splunk</dc:creator>
      <dc:date>2014-01-14T18:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: timechart time format change</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-time-format-change/m-p/111757#M29296</link>
      <description>&lt;P&gt;Thanks for the suggestion. I managed to get it in the format I want using this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;timechart span=1d count as DLCreateCount | convert ctime(_time) as time | table time DLCreateCount
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Jan 2014 08:11:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-time-format-change/m-p/111757#M29296</guid>
      <dc:creator>gancw1</dc:creator>
      <dc:date>2014-01-22T08:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: timechart time format change</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-time-format-change/m-p/111758#M29297</link>
      <description>&lt;P&gt;I have the same problem and I cannon found a solution (also using 6.1.0.), I tried information from other answers but with no result:&lt;/P&gt;

&lt;P&gt;I cannot use other commands because I need results in many columns, one for each User (timechart span=1w count by User)&lt;/P&gt;

&lt;P&gt;inserting "|convert ctime(_time) as time" after the timechart command adds a column without replacing the _time column&lt;/P&gt;

&lt;P&gt;inserting "|convert ctime(_time) as time" before the timechart command has no effect on the output&lt;/P&gt;

&lt;P&gt;inserting "| fieldformat &lt;EM&gt;time=strftime(&lt;/EM&gt;time,"%+")" before or after the timechart command  I have this result for the time "0NaN-NaN-NaN NaN:NaN:NaN"&lt;/P&gt;

&lt;P&gt;Anyone has an idea?&lt;/P&gt;

&lt;P&gt;Thanks Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2014 15:43:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-time-format-change/m-p/111758#M29297</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2014-06-18T15:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: timechart time format change</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-time-format-change/m-p/111759#M29298</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;eval _time=strftime(_time,"%c")"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Apr 2017 11:44:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-time-format-change/m-p/111759#M29298</guid>
      <dc:creator>3no</dc:creator>
      <dc:date>2017-04-03T11:44:40Z</dc:date>
    </item>
  </channel>
</rss>

