<?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 convert time format? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-convert-time-format/m-p/325610#M60520</link>
    <description>&lt;P&gt;can you please elaborate?&lt;BR /&gt;
not sure i understand what is the anticipated result&lt;/P&gt;</description>
    <pubDate>Wed, 11 Apr 2018 12:11:50 GMT</pubDate>
    <dc:creator>adonio</dc:creator>
    <dc:date>2018-04-11T12:11:50Z</dc:date>
    <item>
      <title>How to convert time format?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-convert-time-format/m-p/325607#M60517</link>
      <description>&lt;P&gt;I have time in Variable End_Time = 23:06 and want to convert this to 2306. How can I do that? I tried Strptime(End_Time, %z) but it is not working.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:58:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-convert-time-format/m-p/325607#M60517</guid>
      <dc:creator>ravicheepa</dc:creator>
      <dc:date>2020-09-29T18:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert time format?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-convert-time-format/m-p/325608#M60518</link>
      <description>&lt;P&gt;hello there,&lt;/P&gt;

&lt;P&gt;what is the use case in converting  &lt;CODE&gt;23:06&lt;/CODE&gt; to &lt;CODE&gt;2306&lt;/CODE&gt;?&lt;BR /&gt;
in any case, run this anywhere and apply:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults count=1 
| eval times = "23:54, 12:35, 14:32, 8:12"
| makemv delim="," times
| mvexpand times
| eval new_time = replace(times,":","")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;hope it helps&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 17:16:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-convert-time-format/m-p/325608#M60518</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-04-10T17:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert time format?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-convert-time-format/m-p/325609#M60519</link>
      <description>&lt;P&gt;Thanks Adonio, it helped. One more thing I am trying to do i.e. Displaying execution time using Single value chart but as there are : in time format it displays the time but not able to do formatting like color change as because of : there colour ranges do not work same with trend line.&lt;/P&gt;

&lt;P&gt;Is there any way to display time in Single value graph as HH:MM:SS along with color and trends option ?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 07:01:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-convert-time-format/m-p/325609#M60519</guid>
      <dc:creator>ravicheepa</dc:creator>
      <dc:date>2018-04-11T07:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert time format?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-convert-time-format/m-p/325610#M60520</link>
      <description>&lt;P&gt;can you please elaborate?&lt;BR /&gt;
not sure i understand what is the anticipated result&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 12:11:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-convert-time-format/m-p/325610#M60520</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-04-11T12:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert time format?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-convert-time-format/m-p/325611#M60521</link>
      <description>&lt;P&gt;I want use Single value chart to display time in HH:MM:SS format and also want to change color on range of time for example time is in between 06:30:00 to 7:30:00 then red color etc.. and want to show past trends as well. &lt;/P&gt;

&lt;P&gt;So is there any way I can make this happen ? I tried passing values in format HH:MM:SS but it seems like single value graph work proper with numeric values only. Because of : in value it is not behaving proper.&lt;/P&gt;

&lt;P&gt;So just need to know if there any way ?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 09:28:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-convert-time-format/m-p/325611#M60521</guid>
      <dc:creator>ravicheepa</dc:creator>
      <dc:date>2018-04-12T09:28:29Z</dc:date>
    </item>
  </channel>
</rss>

