<?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: Ingest GPX Files in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Ingest-GPX-Files/m-p/527559#M88966</link>
    <description>&lt;P&gt;Do you have a sample of the data and your config so far?&lt;/P&gt;&lt;P&gt;For the data, we probably only need, like, two or three "individual items" but you'll have to use your thinking cap to decide what 2-3 of those events should look like and copy them out of the gpx file.&lt;/P&gt;&lt;P&gt;Specifically, I'll bet it's the BREAK_ONLY_BEFORE = &amp;lt;trkpt option that's not right.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Nov 2020 16:02:38 GMT</pubDate>
    <dc:creator>Richfez</dc:creator>
    <dc:date>2020-11-02T16:02:38Z</dc:date>
    <item>
      <title>Ingest GPX Files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Ingest-GPX-Files/m-p/526981#M88883</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm using an old copy of a Windows-based running tracking application. The mapping function no longer works. The app can export the tracks in GPX format. I would like to ingest GPX files into Splunk and build reports, dashboards, etc. But GPX is not a native file type for Splunk.&lt;/P&gt;&lt;P&gt;I followed the instructions from this site&amp;nbsp;&lt;A href="https://bigdatabeard.com/splunk-my-ride-and-my-run-and-swim-tridellemcsplunk-part-1/" target="_self"&gt;Splunk My Ride! (and my Run and Swim) Part 1&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;but results were a single event.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;BR /&gt;God bless,&lt;/P&gt;&lt;P&gt;Genesius&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 01:56:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Ingest-GPX-Files/m-p/526981#M88883</guid>
      <dc:creator>genesiusj63</dc:creator>
      <dc:date>2020-10-29T01:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ingest GPX Files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Ingest-GPX-Files/m-p/527559#M88966</link>
      <description>&lt;P&gt;Do you have a sample of the data and your config so far?&lt;/P&gt;&lt;P&gt;For the data, we probably only need, like, two or three "individual items" but you'll have to use your thinking cap to decide what 2-3 of those events should look like and copy them out of the gpx file.&lt;/P&gt;&lt;P&gt;Specifically, I'll bet it's the BREAK_ONLY_BEFORE = &amp;lt;trkpt option that's not right.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 16:02:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Ingest-GPX-Files/m-p/527559#M88966</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2020-11-02T16:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ingest GPX Files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Ingest-GPX-Files/m-p/530656#M89309</link>
      <description>&lt;P&gt;Rich,&lt;/P&gt;&lt;P&gt;My apologies for my delay in replying. I am a Splunk Admin in my regular job, and have been busy on that end. I downloaded Splunk Free for personal, limited use.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I uploaded a new GPX file yesterday, and by some strangeness(?) it worked. I did not change any configurations, etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now that I have a table of &lt;STRONG&gt;time&lt;/STRONG&gt;, &lt;STRONG&gt;lat&lt;/STRONG&gt;, &lt;STRONG&gt;lon&lt;/STRONG&gt;, and &lt;STRONG&gt;ele&lt;/STRONG&gt; I want to calculate the distance between these waypoints, and map them out. I found the &lt;A href="https://splunkbase.splunk.com/app/936/#/details" target="_self"&gt;haversine app&lt;/A&gt; from comments on the forum, and am unable to install. See this new forum post.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Splunk-Enterprise/Need-Help-to-Install-a-Splunkbase-App-in-Splunk-Free/m-p/530652#M4258" target="_blank" rel="noopener"&gt;Need Help to Install a Splunkbase App in Splunk Free&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help, it is much appreciated.&lt;/P&gt;&lt;P&gt;Safe and healthy to you and yours.&lt;/P&gt;&lt;P&gt;God bless and Happy Thanksgiving,&lt;/P&gt;&lt;P&gt;Genesius&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 17:27:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Ingest-GPX-Files/m-p/530656#M89309</guid>
      <dc:creator>genesiusj63</dc:creator>
      <dc:date>2020-11-24T17:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ingest GPX Files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Ingest-GPX-Files/m-p/531271#M89385</link>
      <description>&lt;P&gt;You should probably ask a new question, since this answer isn't really part of the original.&lt;/P&gt;&lt;P&gt;But why not build your own?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults | eval lat1=45, lon1=-90, lat2=39, lon2=-84
| eval earth_diameter_km = 6371
| eval lat1_rad = lat1 * (3.14159 / 180), lat2_rad = lat2 * (3.14159 / 180), lon1_rad = lon1 * (3.14159 / 180), lon2_rad = lon2 * (3.14159 / 180)
| eval diff_rad_lat = lat1_rad - lat2_rad
| eval diff_rad_lon = lon1_rad - lon2_rad
| eval calc1 = pow(sin(diff_rad_lat/2),2) + cos(lat1_rad) * cos(lat2_rad) * pow(sin(diff_rad_lon),2)
| eval calc2 = atan2(sqrt(calc1), sqrt(1-calc1))
| eval distance_km = earth_diameter_km * calc2&lt;/LI-CODE&gt;&lt;P&gt;That's a run-anywhere that roughly calculates the distance between my house and my parent's house.&amp;nbsp; It's based loosely on this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/27928/calculate-distance-between-two-latitude-longitude-points-haversine-formula" target="_blank"&gt;https://stackoverflow.com/questions/27928/calculate-distance-between-two-latitude-longitude-points-haversine-formula&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But understanding what I wrote there is an exercise for the reader.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Nov 2020 21:00:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Ingest-GPX-Files/m-p/531271#M89385</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2020-11-29T21:00:00Z</dc:date>
    </item>
  </channel>
</rss>

