<?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 Trouble converting time (epoch) when using timechart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Trouble-converting-time-epoch-when-using-timechart/m-p/170274#M48723</link>
    <description>&lt;P&gt;I can't seem to convert epoch time when using timechart. I'm trying to get each users first logon of the day over a period of time. Here's my search:&lt;/P&gt;

&lt;P&gt;sourcetype="wineventlog:security" NOT Account_Name="*$" EventCode=4624 | timechart span=1d min(_time) as FirstLogon by user | convert ctime(FirstLogon)&lt;/P&gt;

&lt;P&gt;I could use a fresh set of eyes on this. Any help would be appreciated!&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 16:00:49 GMT</pubDate>
    <dc:creator>dpoon</dc:creator>
    <dc:date>2020-09-28T16:00:49Z</dc:date>
    <item>
      <title>Trouble converting time (epoch) when using timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trouble-converting-time-epoch-when-using-timechart/m-p/170274#M48723</link>
      <description>&lt;P&gt;I can't seem to convert epoch time when using timechart. I'm trying to get each users first logon of the day over a period of time. Here's my search:&lt;/P&gt;

&lt;P&gt;sourcetype="wineventlog:security" NOT Account_Name="*$" EventCode=4624 | timechart span=1d min(_time) as FirstLogon by user | convert ctime(FirstLogon)&lt;/P&gt;

&lt;P&gt;I could use a fresh set of eyes on this. Any help would be appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:00:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trouble-converting-time-epoch-when-using-timechart/m-p/170274#M48723</guid>
      <dc:creator>dpoon</dc:creator>
      <dc:date>2020-09-28T16:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble converting time (epoch) when using timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trouble-converting-time-epoch-when-using-timechart/m-p/170275#M48724</link>
      <description>&lt;P&gt;which version of splunk are you using?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2014 16:04:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trouble-converting-time-epoch-when-using-timechart/m-p/170275#M48724</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-02-28T16:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble converting time (epoch) when using timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trouble-converting-time-epoch-when-using-timechart/m-p/170276#M48725</link>
      <description>&lt;P&gt;I'm using 6.0&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2014 16:08:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trouble-converting-time-epoch-when-using-timechart/m-p/170276#M48725</guid>
      <dc:creator>dpoon</dc:creator>
      <dc:date>2014-02-28T16:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble converting time (epoch) when using timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trouble-converting-time-epoch-when-using-timechart/m-p/170277#M48726</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; sourcetype="wineventlog:security" NOT Account_Name="*$" EventCode=4624| eval FirstLogon=strftime(_time, "%m/%d/%y %H:%M:%S")| timechart span=5m last(FirstLogon) as FirstLogon by user 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 Feb 2014 16:12:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trouble-converting-time-epoch-when-using-timechart/m-p/170277#M48726</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-02-28T16:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble converting time (epoch) when using timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trouble-converting-time-epoch-when-using-timechart/m-p/170278#M48727</link>
      <description>&lt;P&gt;Thank you. Got it working, but had to use 'last(FirstLogon)' instead of 'first(FirstLogon)' since first was pulling the latest logon of the day.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2014 16:50:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trouble-converting-time-epoch-when-using-timechart/m-p/170278#M48727</guid>
      <dc:creator>dpoon</dc:creator>
      <dc:date>2014-02-28T16:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble converting time (epoch) when using timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trouble-converting-time-epoch-when-using-timechart/m-p/170279#M48728</link>
      <description>&lt;P&gt;My bad, I overlooked it. Will update the answer.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2014 16:59:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trouble-converting-time-epoch-when-using-timechart/m-p/170279#M48728</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-02-28T16:59:56Z</dc:date>
    </item>
  </channel>
</rss>

