<?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: GeoJSON data has timezone expressed in minutes offset from UTC in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/GeoJSON-data-has-timezone-expressed-in-minutes-offset-from-UTC/m-p/307470#M57908</link>
    <description>&lt;P&gt;Yes acharlieh, wanted to help a colleague which came up with this question and got carried away with the redundant offset. epoch is UTC so already provides time trustability&lt;BR /&gt;
Yep either setting this with a TIME_PREFIX and TIME_FORMAT combo or setting JSON INDEXED_EXTRACTIONS and TIMESTAMP_FIELDS = time&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 12:54:48 GMT</pubDate>
    <dc:creator>splunk_zen</dc:creator>
    <dc:date>2020-09-29T12:54:48Z</dc:date>
    <item>
      <title>GeoJSON data has timezone expressed in minutes offset from UTC</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/GeoJSON-data-has-timezone-expressed-in-minutes-offset-from-UTC/m-p/307465#M57903</link>
      <description>&lt;P&gt;Trying to consume some seismic data which input has a timestamp expressed in epoch time, but a timezone offset field expressed in&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[-1200, +1200]
Description
Timezone offset from UTC in minutes at the event epicenter.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;the offset above has no correlation with the known props.conf TIME_FORMAT's timezones&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;%z  UTC offset in the form +HHMM 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Was thinking about setting up a custom datetime.xml but couldn't find any "extract=" variable there meant to grab offsets,&lt;BR /&gt;
couldn't find the python module which parses datetime.xml either&lt;/P&gt;

&lt;P&gt;How should we approach this?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 12:05:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/GeoJSON-data-has-timezone-expressed-in-minutes-offset-from-UTC/m-p/307465#M57903</guid>
      <dc:creator>splunk_zen</dc:creator>
      <dc:date>2017-02-17T12:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON data has timezone expressed in minutes offset from UTC</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/GeoJSON-data-has-timezone-expressed-in-minutes-offset-from-UTC/m-p/307466#M57904</link>
      <description>&lt;P&gt;You already have local epoch time.  &lt;/P&gt;

&lt;P&gt;Perhaps just add them together (or delta them, whichever works accurately)  to calculate UTC epoch time. &lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 15:43:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/GeoJSON-data-has-timezone-expressed-in-minutes-offset-from-UTC/m-p/307466#M57904</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-02-17T15:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON data has timezone expressed in minutes offset from UTC</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/GeoJSON-data-has-timezone-expressed-in-minutes-offset-from-UTC/m-p/307467#M57905</link>
      <description>&lt;P&gt;Thanks DalJeanis,&lt;BR /&gt;
Think I jumped the gun when I saw the offset and thus got confused&lt;BR /&gt;
If we already have epoch (meaning UTC), we already have the real time the event happened &lt;/P&gt;

&lt;P&gt;Was concerned about getting _time correct during indexing but UTC already ensures that&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 15:56:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/GeoJSON-data-has-timezone-expressed-in-minutes-offset-from-UTC/m-p/307467#M57905</guid>
      <dc:creator>splunk_zen</dc:creator>
      <dc:date>2017-02-17T15:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON data has timezone expressed in minutes offset from UTC</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/GeoJSON-data-has-timezone-expressed-in-minutes-offset-from-UTC/m-p/307468#M57906</link>
      <description>&lt;P&gt;Is &lt;A href="https://earthquake.usgs.gov/earthquakes/feed/v1.0/geojson.php"&gt;this the format specification&lt;/A&gt; of the data you're working with?  &lt;/P&gt;

&lt;P&gt;If so then you don't need any translation as the &lt;A href="https://earthquake.usgs.gov/data/comcat/data-eventterms.php#time"&gt;time&lt;/A&gt; field is already milliseconds since the UTC epoch. The &lt;A href="https://earthquake.usgs.gov/data/comcat/data-eventterms.php#tz"&gt;tz&lt;/A&gt; field can be used at search time to help group events based on the local time, but per the spec doesn't seem to be needed for parsing events into Splunk correctly.&lt;/P&gt;

&lt;P&gt;You could use a props.conf setting to say &lt;CODE&gt;TIME_FORMAT = %s%3N&lt;/CODE&gt; although this might change slightly (and deployment may change slightly) depending on if you're using INDEXED_EXTRACTIONS, and thus could specify the field that contains the time or not.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 16:00:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/GeoJSON-data-has-timezone-expressed-in-minutes-offset-from-UTC/m-p/307468#M57906</guid>
      <dc:creator>acharlieh</dc:creator>
      <dc:date>2017-02-17T16:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON data has timezone expressed in minutes offset from UTC</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/GeoJSON-data-has-timezone-expressed-in-minutes-offset-from-UTC/m-p/307469#M57907</link>
      <description>&lt;P&gt;... that makes more sense. &lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 16:18:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/GeoJSON-data-has-timezone-expressed-in-minutes-offset-from-UTC/m-p/307469#M57907</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-02-17T16:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON data has timezone expressed in minutes offset from UTC</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/GeoJSON-data-has-timezone-expressed-in-minutes-offset-from-UTC/m-p/307470#M57908</link>
      <description>&lt;P&gt;Yes acharlieh, wanted to help a colleague which came up with this question and got carried away with the redundant offset. epoch is UTC so already provides time trustability&lt;BR /&gt;
Yep either setting this with a TIME_PREFIX and TIME_FORMAT combo or setting JSON INDEXED_EXTRACTIONS and TIMESTAMP_FIELDS = time&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:54:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/GeoJSON-data-has-timezone-expressed-in-minutes-offset-from-UTC/m-p/307470#M57908</guid>
      <dc:creator>splunk_zen</dc:creator>
      <dc:date>2020-09-29T12:54:48Z</dc:date>
    </item>
  </channel>
</rss>

