<?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 use a field as timestamp with epoch time for a timechart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529746#M149643</link>
    <description>&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;original message looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ralf_0-1605617721844.png" style="width: 491px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11936i9D58BAB8DEB303C7/image-dimensions/491x325?v=v2" width="491" height="325" role="button" title="Ralf_0-1605617721844.png" alt="Ralf_0-1605617721844.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;after trying with this eval command: - don't know if it is 100% correct&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;eval&lt;/SPAN&gt; &lt;SPAN&gt;_time=&lt;/SPAN&gt;&lt;SPAN&gt;strptime&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;time,"%Y&lt;/SPAN&gt;&lt;SPAN&gt;-%m-%d %H:%M:%S.%Q")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it looks like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 518px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11937iBE5EA48F8B505B38/image-dimensions/518x344?v=v2" width="518" height="344" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Nov 2020 12:59:15 GMT</pubDate>
    <dc:creator>Ralf</dc:creator>
    <dc:date>2020-11-17T12:59:15Z</dc:date>
    <item>
      <title>how to use a field as timestamp with epoch time for a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529551#M149568</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I did already several trials with search commands like "eval _time=strptime(time,"%Y-%m-%dT%H:%M:%S")"&lt;BR /&gt;but was not able to manage that time chart is using my own timestamp in the message uploaded.&lt;/P&gt;&lt;P&gt;The data has originally same _time as the upload is done by bulk upload of a log file that contains then several events with there own timestamp in the format: &amp;nbsp;&lt;SPAN class="key-name"&gt;time&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN class="t string"&gt;2020-11-16T15:15:51.113394&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to show cpu_percentage over my own time stamp.&lt;/P&gt;&lt;P&gt;Hope somebody can help out here&lt;/P&gt;&lt;P&gt;Ralf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 733px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11911i94D2BE3178765C75/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 14:47:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529551#M149568</guid>
      <dc:creator>Ralf</dc:creator>
      <dc:date>2020-11-16T14:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a field as timestamp with epoch time for a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529554#M149569</link>
      <description>&lt;P&gt;Has time been successfully extracted from your events?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 15:03:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529554#M149569</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-11-16T15:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a field as timestamp with epoch time for a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529558#M149571</link>
      <description>&lt;P&gt;yes, &amp;nbsp; &amp;nbsp;time: 2020-11-16T15:15:51.113394. &amp;nbsp;&amp;nbsp;is part of my event&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 15:15:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529558#M149571</guid>
      <dc:creator>Ralf</dc:creator>
      <dc:date>2020-11-16T15:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a field as timestamp with epoch time for a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529708#M149633</link>
      <description>&lt;P&gt;sorry, what do you mean by "extracted" ?&lt;/P&gt;&lt;P&gt;What I can see, please see also the screen dump on my question is, that the time field in the message show a different time than Splunk time.&lt;/P&gt;&lt;P&gt;That I would say can be expected as Splunk recognize the time of uploading&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 10:11:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529708#M149633</guid>
      <dc:creator>Ralf</dc:creator>
      <dc:date>2020-11-17T10:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a field as timestamp with epoch time for a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529727#M149636</link>
      <description>&lt;P&gt;If you expand the event&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ITWhisperer_0-1605612595431.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11934iEE774112FBF5C689/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ITWhisperer_0-1605612595431.png" alt="ITWhisperer_0-1605612595431.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you see time (as well as _time) as a field?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 11:32:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529727#M149636</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-11-17T11:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a field as timestamp with epoch time for a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529734#M149640</link>
      <description>&lt;P&gt;looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ralf_0-1605615486950.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11935i0075665D0A5D5694/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ralf_0-1605615486950.png" alt="Ralf_0-1605615486950.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 12:18:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529734#M149640</guid>
      <dc:creator>Ralf</dc:creator>
      <dc:date>2020-11-17T12:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a field as timestamp with epoch time for a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529736#M149641</link>
      <description>&lt;P&gt;The eval you mentioned should work so long as you do it before the timechart. What do you get if you do the eval and then expand the event as before - does _time = time?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 12:27:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529736#M149641</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-11-17T12:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a field as timestamp with epoch time for a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529746#M149643</link>
      <description>&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;original message looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ralf_0-1605617721844.png" style="width: 491px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11936i9D58BAB8DEB303C7/image-dimensions/491x325?v=v2" width="491" height="325" role="button" title="Ralf_0-1605617721844.png" alt="Ralf_0-1605617721844.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;after trying with this eval command: - don't know if it is 100% correct&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;eval&lt;/SPAN&gt; &lt;SPAN&gt;_time=&lt;/SPAN&gt;&lt;SPAN&gt;strptime&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;time,"%Y&lt;/SPAN&gt;&lt;SPAN&gt;-%m-%d %H:%M:%S.%Q")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it looks like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 518px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11937iBE5EA48F8B505B38/image-dimensions/518x344?v=v2" width="518" height="344" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 12:59:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529746#M149643</guid>
      <dc:creator>Ralf</dc:creator>
      <dc:date>2020-11-17T12:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a field as timestamp with epoch time for a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529748#M149644</link>
      <description>&lt;P&gt;It looks like the eval worked - so timechart should now work as it uses _time&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 13:12:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529748#M149644</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-11-17T13:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a field as timestamp with epoch time for a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529750#M149645</link>
      <description>&lt;P&gt;unfortunately not:&lt;/P&gt;&lt;P&gt;everything looks empty even when I saw the events are there&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ralf_0-1605618870626.png" style="width: 736px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11938iA2B9D272FE42763E/image-dimensions/736x276?v=v2" width="736" height="276" role="button" title="Ralf_0-1605618870626.png" alt="Ralf_0-1605618870626.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 13:15:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529750#M149645</guid>
      <dc:creator>Ralf</dc:creator>
      <dc:date>2020-11-17T13:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a field as timestamp with epoch time for a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529753#M149647</link>
      <description>&lt;P&gt;Interesting picture.&amp;nbsp; You are doing a timechart using values. If you look at the statistics, you will probably see a multivalue field values(cpu_percentage) against each time bucket (quarter of an hour). This cannot be visualised in this way. What is it you are trying to achieve?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 13:33:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-use-a-field-as-timestamp-with-epoch-time-for-a-timechart/m-p/529753#M149647</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-11-17T13:33:33Z</dc:date>
    </item>
  </channel>
</rss>

