<?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: ISO 8601 TimeStamp Extraction / Formatting and Source Type Config in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/ISO-8601-TimeStamp-Extraction-Formatting-and-Source-Type-Config/m-p/618513#M214979</link>
    <description>&lt;P&gt;Try the following settings:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%7N%Z&lt;BR /&gt;TIME_PREFIX = "TimeGenerated":\s"&lt;/P&gt;</description>
    <pubDate>Thu, 27 Oct 2022 03:10:05 GMT</pubDate>
    <dc:creator>johnhuang</dc:creator>
    <dc:date>2022-10-27T03:10:05Z</dc:date>
    <item>
      <title>ISO 8601 TimeStamp Extraction / Formatting and Source Type Config</title>
      <link>https://community.splunk.com/t5/Splunk-Search/ISO-8601-TimeStamp-Extraction-Formatting-and-Source-Type-Config/m-p/618495#M214971</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a timestamp in a format I havn't dealt with before and I am struggling to get it converted to my timezone using the offset. In raw event form it is like this:&lt;BR /&gt;"TimeGenerated": "2022-10-25T04:21:50.2975103Z"&lt;BR /&gt;&lt;BR /&gt;I have also attached a screenshot of how splunk is indexing it.&lt;/P&gt;&lt;P&gt;My second question is how would I configure the sourcetype to have splunk use TimeGenerated field as _time automatically? I've attached a second screenshot with the sourcetype as well.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DGilbert91_0-1666824153338.png" style="width: 670px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22162iAC4D3158CC181A72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DGilbert91_0-1666824153338.png" alt="DGilbert91_0-1666824153338.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help or links would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 22:44:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/ISO-8601-TimeStamp-Extraction-Formatting-and-Source-Type-Config/m-p/618495#M214971</guid>
      <dc:creator>DGilbert91</dc:creator>
      <dc:date>2022-10-26T22:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: ISO 8601 TimeStamp Extraction / Formatting and Source Type Config</title>
      <link>https://community.splunk.com/t5/Splunk-Search/ISO-8601-TimeStamp-Extraction-Formatting-and-Source-Type-Config/m-p/618513#M214979</link>
      <description>&lt;P&gt;Try the following settings:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%7N%Z&lt;BR /&gt;TIME_PREFIX = "TimeGenerated":\s"&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 03:10:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/ISO-8601-TimeStamp-Extraction-Formatting-and-Source-Type-Config/m-p/618513#M214979</guid>
      <dc:creator>johnhuang</dc:creator>
      <dc:date>2022-10-27T03:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: ISO 8601 TimeStamp Extraction / Formatting and Source Type Config</title>
      <link>https://community.splunk.com/t5/Splunk-Search/ISO-8601-TimeStamp-Extraction-Formatting-and-Source-Type-Config/m-p/618518#M214980</link>
      <description>&lt;P&gt;hey johnhuang,&lt;/P&gt;&lt;P&gt;I have attempted your suggestion and ingested some more data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DGilbert91_0-1666841246381.png" style="width: 682px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22163i2AC699B72CAA3EBD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DGilbert91_0-1666841246381.png" alt="DGilbert91_0-1666841246381.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately it doesn't look like it has updated _time correctly:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DGilbert91_1-1666841276825.png" style="width: 1223px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22164iAB8AE9D85DB22402/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DGilbert91_1-1666841276825.png" alt="DGilbert91_1-1666841276825.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would these settings have any impact as well?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DGilbert91_2-1666841353094.png" style="width: 1135px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22165i19E73D9B18A3A71E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DGilbert91_2-1666841353094.png" alt="DGilbert91_2-1666841353094.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your help, thanks mate&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 03:29:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/ISO-8601-TimeStamp-Extraction-Formatting-and-Source-Type-Config/m-p/618518#M214980</guid>
      <dc:creator>DGilbert91</dc:creator>
      <dc:date>2022-10-27T03:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: ISO 8601 TimeStamp Extraction / Formatting and Source Type Config</title>
      <link>https://community.splunk.com/t5/Splunk-Search/ISO-8601-TimeStamp-Extraction-Formatting-and-Source-Type-Config/m-p/618521#M214981</link>
      <description>&lt;P&gt;If the data is being processed by a heavy forwarder, make sure this is applied there.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 04:11:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/ISO-8601-TimeStamp-Extraction-Formatting-and-Source-Type-Config/m-p/618521#M214981</guid>
      <dc:creator>johnhuang</dc:creator>
      <dc:date>2022-10-27T04:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: ISO 8601 TimeStamp Extraction / Formatting and Source Type Config</title>
      <link>https://community.splunk.com/t5/Splunk-Search/ISO-8601-TimeStamp-Extraction-Formatting-and-Source-Type-Config/m-p/620992#M215855</link>
      <description>&lt;P&gt;This worked perfectly thanks mate!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 05:33:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/ISO-8601-TimeStamp-Extraction-Formatting-and-Source-Type-Config/m-p/620992#M215855</guid>
      <dc:creator>DGilbert91</dc:creator>
      <dc:date>2022-11-16T05:33:11Z</dc:date>
    </item>
  </channel>
</rss>

