<?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 plot multiple coordinates from a CSV file on a Splunk map to embed in a dashboard? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-plot-multiple-coordinates-from-a-CSV-file-on-a-Splunk-map/m-p/287096#M86897</link>
    <description>&lt;P&gt;But how do i put Google Maps inside the normal Splunk dashboard without Advanced XML?&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2016 00:50:22 GMT</pubDate>
    <dc:creator>qiaojing</dc:creator>
    <dc:date>2016-06-07T00:50:22Z</dc:date>
    <item>
      <title>How to plot multiple coordinates from a CSV file on a Splunk map to embed in a dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-plot-multiple-coordinates-from-a-CSV-file-on-a-Splunk-map/m-p/287094#M86895</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I'm trying to plot all carpark locations on the Splunk Map. I have a lookup CSV file with the following columns:&lt;/P&gt;

&lt;P&gt;CPK_ID, Latitude, Longitude &lt;/P&gt;

&lt;P&gt;I do not have the lat and lon data inside the Splunk environment, so I'm trying to match the CPK_ID in the CSV file with that in the event. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | lookup cpk_coord_lookup NUM_CPK as NUM_CPK | geostats latfield=NUM_LATD longfield=NUM_LNGTD count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, I'm unable to plot all the carpark locations on the Splunk Map. &lt;/P&gt;

&lt;P&gt;Any idea what I can do? Eg using openstreetmap or Google maps? Eventually I would want to embed it into the normal Splunk dashboard. &lt;/P&gt;

&lt;P&gt;Thank you very much! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 09:09:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-plot-multiple-coordinates-from-a-CSV-file-on-a-Splunk-map/m-p/287094#M86895</guid>
      <dc:creator>qiaojing</dc:creator>
      <dc:date>2016-06-06T09:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot multiple coordinates from a CSV file on a Splunk map to embed in a dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-plot-multiple-coordinates-from-a-CSV-file-on-a-Splunk-map/m-p/287095#M86896</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;

&lt;P&gt;You may try using Splunk Add-on for Google Maps &lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/368/"&gt;https://splunkbase.splunk.com/app/368/&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 10:10:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-plot-multiple-coordinates-from-a-CSV-file-on-a-Splunk-map/m-p/287095#M86896</guid>
      <dc:creator>splunkdevabhi</dc:creator>
      <dc:date>2016-06-06T10:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot multiple coordinates from a CSV file on a Splunk map to embed in a dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-plot-multiple-coordinates-from-a-CSV-file-on-a-Splunk-map/m-p/287096#M86897</link>
      <description>&lt;P&gt;But how do i put Google Maps inside the normal Splunk dashboard without Advanced XML?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 00:50:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-plot-multiple-coordinates-from-a-CSV-file-on-a-Splunk-map/m-p/287096#M86897</guid>
      <dc:creator>qiaojing</dc:creator>
      <dc:date>2016-06-07T00:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot multiple coordinates from a CSV file on a Splunk map to embed in a dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-plot-multiple-coordinates-from-a-CSV-file-on-a-Splunk-map/m-p/287097#M86898</link>
      <description>&lt;P&gt;Hi qiaojing,&lt;/P&gt;

&lt;P&gt;if your lookup contains the following header &lt;CODE&gt;CPK_ID, Latitude, Longitude&lt;/CODE&gt; you should use the &lt;CODE&gt;Latitude, Longitude&lt;/CODE&gt; in the &lt;CODE&gt;geostats&lt;/CODE&gt; command as well:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; ... | lookup cpk_coord_lookup NUM_CPK as NUM_CPK | geostats latfield=Latitude longfield=Longitude count by CPK_ID
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As well check the event field name and the lookup field name for the carpark number as you use &lt;CODE&gt;NUM_CPK&lt;/CODE&gt; but mention the lookup header &lt;CODE&gt;CPK_ID&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;There is no need for the above mentioned App, this was used in older Splunk releases to get mapping working.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 01:26:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-plot-multiple-coordinates-from-a-CSV-file-on-a-Splunk-map/m-p/287097#M86898</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-06-07T01:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot multiple coordinates from a CSV file on a Splunk map to embed in a dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-plot-multiple-coordinates-from-a-CSV-file-on-a-Splunk-map/m-p/287098#M86899</link>
      <description>&lt;P&gt;Hi thanks for your answer, sorry i just realised, the naming of the csv that i posted previously was wrong. It's supposed to be &lt;CODE&gt;NUM_CPK, NUM_LATD, NUM_LNGTD&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;I managed to plot the points onto Splunk Map. However, i realised something strange, the map shown in the search query (using Verbose Mode) has a lot more points (100+pts) plotted than the one i saved to dashboard (30pts). It seems like some points were not displayed after saving to dashboard. &lt;/P&gt;

&lt;P&gt;Any idea why is this so?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 01:59:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-plot-multiple-coordinates-from-a-CSV-file-on-a-Splunk-map/m-p/287098#M86899</guid>
      <dc:creator>qiaojing</dc:creator>
      <dc:date>2016-06-07T01:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot multiple coordinates from a CSV file on a Splunk map to embed in a dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-plot-multiple-coordinates-from-a-CSV-file-on-a-Splunk-map/m-p/287099#M86900</link>
      <description>&lt;P&gt;look at the base search (everything before the first &lt;CODE&gt;|&lt;/CODE&gt; ) used in the dashboard and try to re-use it.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 02:19:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-plot-multiple-coordinates-from-a-CSV-file-on-a-Splunk-map/m-p/287099#M86900</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-06-07T02:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot multiple coordinates from a CSV file on a Splunk map to embed in a dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-plot-multiple-coordinates-from-a-CSV-file-on-a-Splunk-map/m-p/287100#M86901</link>
      <description>&lt;P&gt;sorry, what do you mean by re-using it?&lt;/P&gt;

&lt;P&gt;My entire search is &lt;BR /&gt;
&lt;CODE&gt;sourcetype="UDBCUNIT.TF_PRKNG_MVMNT"   | lookup cpk_coord_lookup NUM_CPK as NUM_CPK OUTPUT NUM_LNGTD, NUM_LATD | geostats latfield=NUM_LATD longfield=NUM_LNGTD maxzoomlevel=18 globallimit=0 count by NUM_CPK&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 02:21:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-plot-multiple-coordinates-from-a-CSV-file-on-a-Splunk-map/m-p/287100#M86901</guid>
      <dc:creator>qiaojing</dc:creator>
      <dc:date>2016-06-07T02:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot multiple coordinates from a CSV file on a Splunk map to embed in a dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-plot-multiple-coordinates-from-a-CSV-file-on-a-Splunk-map/m-p/287101#M86902</link>
      <description>&lt;P&gt;You asked why it shows a different set of results. &lt;BR /&gt;
If both searches are the same, check the time range used for the search or the dashboard. Not to forget the zoom level will also effect the number of shown results.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 02:34:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-plot-multiple-coordinates-from-a-CSV-file-on-a-Splunk-map/m-p/287101#M86902</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-06-07T02:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot multiple coordinates from a CSV file on a Splunk map to embed in a dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-plot-multiple-coordinates-from-a-CSV-file-on-a-Splunk-map/m-p/287102#M86903</link>
      <description>&lt;P&gt;okay i will try again, thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 03:07:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-plot-multiple-coordinates-from-a-CSV-file-on-a-Splunk-map/m-p/287102#M86903</guid>
      <dc:creator>qiaojing</dc:creator>
      <dc:date>2016-06-07T03:07:01Z</dc:date>
    </item>
  </channel>
</rss>

