<?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: Plot data from TCP to Google Maps in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Plot-data-from-TCP-to-Google-Maps/m-p/49188#M9346</link>
    <description>&lt;P&gt;But how do I get splunk to index the data in the first place?&lt;/P&gt;</description>
    <pubDate>Sun, 03 Mar 2013 07:31:12 GMT</pubDate>
    <dc:creator>streddy</dc:creator>
    <dc:date>2013-03-03T07:31:12Z</dc:date>
    <item>
      <title>Plot data from TCP to Google Maps</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Plot-data-from-TCP-to-Google-Maps/m-p/49186#M9344</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am interested in plotting marine data from:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.marinetraffic.com/ais/exportraw.aspx?id=1234567890&amp;amp;protocol=xml&amp;amp;msgtype=extended&amp;amp;timespan=10"&gt;http://www.marinetraffic.com/ais/exportraw.aspx?id=1234567890&amp;amp;protocol=xml&amp;amp;msgtype=extended&amp;amp;timespan=10&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;onto the google Maps app in Splunk as an example. &lt;/P&gt;

&lt;P&gt;I'd like to know how to point Splunk at the right address.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2013 05:00:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Plot-data-from-TCP-to-Google-Maps/m-p/49186#M9344</guid>
      <dc:creator>streddy</dc:creator>
      <dc:date>2013-03-03T05:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Plot data from TCP to Google Maps</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Plot-data-from-TCP-to-Google-Maps/m-p/49187#M9345</link>
      <description>&lt;P&gt;It appears that your data will have fields named &lt;CODE&gt;LAT&lt;/CODE&gt; and &lt;CODE&gt;LON&lt;/CODE&gt;. Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=shipdata moresearchstuff
| eval _geo = tostring(LAT) + "," + tostring(LON)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will create the &lt;CODE&gt;_geo&lt;/CODE&gt; field that the app expects.&lt;/P&gt;

&lt;P&gt;To get the data into Splunk, you have many choices. You could set up a feed as they describe in the web page. Or you could use the data export function to retrieve the data into a file. Once you have the data in a file, you could upload it into Splunk using the Manager and Data Inputs. It will be easiest if you have already created a &lt;CODE&gt;sourcetype&lt;/CODE&gt; for your data. You could put the following lines in &lt;CODE&gt;$SPLUNK_HOME/etc/system/local/props.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[shipdata]
BREAK_ONLY_BEFORE=\&amp;lt;row
TIME_PREFIX=TIMESTAMP\=\"
MAX_TIMESTAMP_LOOKAHEAD=30
TIME_FORMAT=%Y-%m-%dT%H:%M:%S
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The fields will be extracted for you automatically. If you need more help than this, may I suggest the &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/WhatSplunkcanmonitor"&gt;Getting Data In&lt;/A&gt; manual...&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2013 06:13:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Plot-data-from-TCP-to-Google-Maps/m-p/49187#M9345</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-03-03T06:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Plot data from TCP to Google Maps</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Plot-data-from-TCP-to-Google-Maps/m-p/49188#M9346</link>
      <description>&lt;P&gt;But how do I get splunk to index the data in the first place?&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2013 07:31:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Plot-data-from-TCP-to-Google-Maps/m-p/49188#M9346</guid>
      <dc:creator>streddy</dc:creator>
      <dc:date>2013-03-03T07:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Plot data from TCP to Google Maps</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Plot-data-from-TCP-to-Google-Maps/m-p/49189#M9347</link>
      <description>&lt;P&gt;Thank you so much!!!&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2013 11:36:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Plot-data-from-TCP-to-Google-Maps/m-p/49189#M9347</guid>
      <dc:creator>streddy</dc:creator>
      <dc:date>2013-03-03T11:36:26Z</dc:date>
    </item>
  </channel>
</rss>

