<?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 modify my search to truncate time displayed on chart? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-modify-my-search-to-truncate-time-displayed-on-chart/m-p/317449#M94960</link>
    <description>&lt;P&gt;Solved by eval function&lt;/P&gt;

&lt;P&gt;eval _time=strftime(_time, "%y-%m-%d %I:%M:%S")&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 13:01:52 GMT</pubDate>
    <dc:creator>AKG1_old1</dc:creator>
    <dc:date>2020-09-29T13:01:52Z</dc:date>
    <item>
      <title>How to modify my search to truncate time displayed on chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-modify-my-search-to-truncate-time-displayed-on-chart/m-p/317448#M94959</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am tracking Splunk startup and stop through graph.&lt;/P&gt;

&lt;P&gt;My search: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action=splunkShuttingDown OR action=splunkStarting | timechart span=1s count by action
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;the time displayed in graph is bit long.&lt;BR /&gt;
Currently displayed : 2017-02-22T00:00:08.000+01:00&lt;/P&gt;

&lt;P&gt;I want it to truncate the part after minutes/seconds. some thing like this.&lt;BR /&gt;
2017-02-22 00:00 or&lt;BR /&gt;
2017-02-22 00:00:08&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Ankit&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 10:51:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-modify-my-search-to-truncate-time-displayed-on-chart/m-p/317448#M94959</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2017-02-24T10:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify my search to truncate time displayed on chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-modify-my-search-to-truncate-time-displayed-on-chart/m-p/317449#M94960</link>
      <description>&lt;P&gt;Solved by eval function&lt;/P&gt;

&lt;P&gt;eval _time=strftime(_time, "%y-%m-%d %I:%M:%S")&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:01:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-modify-my-search-to-truncate-time-displayed-on-chart/m-p/317449#M94960</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2020-09-29T13:01:52Z</dc:date>
    </item>
  </channel>
</rss>

