<?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: Unable to use strptime() function in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Why-am-I-unable-to-use-strptime-function/m-p/630465#M11819</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240743"&gt;@POR160893&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;_time is already in epochtime, even if is displayed in human readable, so you can directlòy use it in timechart:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="ABC"
| timechart span=15m count&lt;/LI-CODE&gt;&lt;P&gt;if instead you want to list all _time in epochtime yu can use rename:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="ABC"
| bin span=15m _time 
| rename _time AS time
| table time&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2023 15:09:28 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2023-02-10T15:09:28Z</dc:date>
    <item>
      <title>Why am I unable to use strptime() function?</title>
      <link>https://community.splunk.com/t5/Reporting/Why-am-I-unable-to-use-strptime-function/m-p/630463#M11818</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am unable to use strptime() here correctly.&lt;BR /&gt;&lt;BR /&gt;My code is:&lt;BR /&gt;index="ABC"&lt;BR /&gt;| eval time=strptime(_time, "%Y-%m-%dT%H:%M:%S")&lt;BR /&gt;| bin time span=15m&lt;BR /&gt;| table time&lt;BR /&gt;&lt;BR /&gt;But the table has no output .....&lt;BR /&gt;&lt;BR /&gt;Can you please help?&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 17:42:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Why-am-I-unable-to-use-strptime-function/m-p/630463#M11818</guid>
      <dc:creator>POR160893</dc:creator>
      <dc:date>2023-02-10T17:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use strptime() function</title>
      <link>https://community.splunk.com/t5/Reporting/Why-am-I-unable-to-use-strptime-function/m-p/630465#M11819</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240743"&gt;@POR160893&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;_time is already in epochtime, even if is displayed in human readable, so you can directlòy use it in timechart:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="ABC"
| timechart span=15m count&lt;/LI-CODE&gt;&lt;P&gt;if instead you want to list all _time in epochtime yu can use rename:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="ABC"
| bin span=15m _time 
| rename _time AS time
| table time&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 15:09:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Why-am-I-unable-to-use-strptime-function/m-p/630465#M11819</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-02-10T15:09:28Z</dc:date>
    </item>
  </channel>
</rss>

