<?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: Plotting points on a Splunk 6 map in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Plotting-points-on-a-Splunk-6-map/m-p/162203#M45929</link>
    <description>&lt;P&gt;It works for me, read below the map for the settings I used:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://answers.splunk.com//storage/maptest.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;I just pulled in this data into Splunk with a sourcetype of geo:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;place1,41.66164,-87.74477
place2,41.66587,-86.894357
place3,41.72614,-85.97314
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I used these field extractions in my props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[geo]
EXTRACT-MAPS = ^(?&amp;lt;location&amp;gt;.+?),(?&amp;lt;latitude&amp;gt;.+?),(?&amp;lt;longitude&amp;gt;.+?)$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And here is my Splunk view:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
        &amp;lt;label&amp;gt;Map&amp;lt;/label&amp;gt;
        &amp;lt;row&amp;gt;
    &amp;lt;map&amp;gt;
                &amp;lt;title&amp;gt;Map&amp;lt;/title&amp;gt;
                &amp;lt;searchString&amp;gt;sourcetype=geo | geostats latfield=latitude longfield=longitude binspanlat=1 binspanlong=1 count&amp;lt;/searchString&amp;gt;
                &amp;lt;earliestTime&amp;gt;0&amp;lt;/earliestTime&amp;gt;
      &amp;lt;option name="mapping.tileLayer.url"&amp;gt;http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png&amp;lt;/option&amp;gt;
                        &amp;lt;option name="mapping.tileLayer.subdomains"&amp;gt;[a,b,c]&amp;lt;/option&amp;gt;
                        &amp;lt;option name="mapping.tileLayer.maxZoom"&amp;gt;24&amp;lt;/option&amp;gt;
                &amp;lt;option name="link.visible"&amp;gt;TRUE&amp;lt;/option&amp;gt;
                &amp;lt;option name="link.exportResults.visible"&amp;gt;TRUE&amp;lt;/option&amp;gt;
                &amp;lt;option name="link.inspectSearch.visible"&amp;gt;TRUE&amp;lt;/option&amp;gt;
                &amp;lt;option name="link.openSearch.ViewTarget"&amp;gt;TRUE&amp;lt;/option&amp;gt;
                &amp;lt;option name="mapping.map.zoom"&amp;gt;9&amp;lt;/option&amp;gt;
                &amp;lt;option name="mapping.markerLayer.markerMaxSize"&amp;gt;50&amp;lt;/option&amp;gt;
                &amp;lt;option name="mapping.map.center"&amp;gt;(41.66587,-86.894357)&amp;lt;/option&amp;gt;
                &amp;lt;option name="link.openSearch.text"&amp;gt;Open in New Search&amp;lt;/option&amp;gt;
                &amp;lt;option name="link.openSearch.search"&amp;gt;sourcetype=geo | geostats latfield=latitude longfield=longitude&amp;lt;/option&amp;gt;
                &amp;lt;option name="link.openSearch.searchEarliestTime"&amp;gt;-30d&amp;lt;/option&amp;gt;
                &amp;lt;option name="link.openSearch.searchLatestTime"&amp;gt;now&amp;lt;/option&amp;gt;
        &amp;lt;/map&amp;gt;
        &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 19 Dec 2013 17:47:40 GMT</pubDate>
    <dc:creator>dmaislin_splunk</dc:creator>
    <dc:date>2013-12-19T17:47:40Z</dc:date>
    <item>
      <title>Plotting points on a Splunk 6 map</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plotting-points-on-a-Splunk-6-map/m-p/162202#M45928</link>
      <description>&lt;P&gt;My data is already coming into splunk lat/lon encoded. I don't need to do any ip geo lookup or anything like that. Each event has a latitude and longitude field. I want to plot each event onto a map. I don't want to group them or do any fancy aggregation. I just want points plotted to a map or maybe possibly a heat map. Is this possible?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 16:58:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plotting-points-on-a-Splunk-6-map/m-p/162202#M45928</guid>
      <dc:creator>fredclown</dc:creator>
      <dc:date>2023-08-10T16:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting points on a Splunk 6 map</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plotting-points-on-a-Splunk-6-map/m-p/162203#M45929</link>
      <description>&lt;P&gt;It works for me, read below the map for the settings I used:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://answers.splunk.com//storage/maptest.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;I just pulled in this data into Splunk with a sourcetype of geo:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;place1,41.66164,-87.74477
place2,41.66587,-86.894357
place3,41.72614,-85.97314
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I used these field extractions in my props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[geo]
EXTRACT-MAPS = ^(?&amp;lt;location&amp;gt;.+?),(?&amp;lt;latitude&amp;gt;.+?),(?&amp;lt;longitude&amp;gt;.+?)$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And here is my Splunk view:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
        &amp;lt;label&amp;gt;Map&amp;lt;/label&amp;gt;
        &amp;lt;row&amp;gt;
    &amp;lt;map&amp;gt;
                &amp;lt;title&amp;gt;Map&amp;lt;/title&amp;gt;
                &amp;lt;searchString&amp;gt;sourcetype=geo | geostats latfield=latitude longfield=longitude binspanlat=1 binspanlong=1 count&amp;lt;/searchString&amp;gt;
                &amp;lt;earliestTime&amp;gt;0&amp;lt;/earliestTime&amp;gt;
      &amp;lt;option name="mapping.tileLayer.url"&amp;gt;http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png&amp;lt;/option&amp;gt;
                        &amp;lt;option name="mapping.tileLayer.subdomains"&amp;gt;[a,b,c]&amp;lt;/option&amp;gt;
                        &amp;lt;option name="mapping.tileLayer.maxZoom"&amp;gt;24&amp;lt;/option&amp;gt;
                &amp;lt;option name="link.visible"&amp;gt;TRUE&amp;lt;/option&amp;gt;
                &amp;lt;option name="link.exportResults.visible"&amp;gt;TRUE&amp;lt;/option&amp;gt;
                &amp;lt;option name="link.inspectSearch.visible"&amp;gt;TRUE&amp;lt;/option&amp;gt;
                &amp;lt;option name="link.openSearch.ViewTarget"&amp;gt;TRUE&amp;lt;/option&amp;gt;
                &amp;lt;option name="mapping.map.zoom"&amp;gt;9&amp;lt;/option&amp;gt;
                &amp;lt;option name="mapping.markerLayer.markerMaxSize"&amp;gt;50&amp;lt;/option&amp;gt;
                &amp;lt;option name="mapping.map.center"&amp;gt;(41.66587,-86.894357)&amp;lt;/option&amp;gt;
                &amp;lt;option name="link.openSearch.text"&amp;gt;Open in New Search&amp;lt;/option&amp;gt;
                &amp;lt;option name="link.openSearch.search"&amp;gt;sourcetype=geo | geostats latfield=latitude longfield=longitude&amp;lt;/option&amp;gt;
                &amp;lt;option name="link.openSearch.searchEarliestTime"&amp;gt;-30d&amp;lt;/option&amp;gt;
                &amp;lt;option name="link.openSearch.searchLatestTime"&amp;gt;now&amp;lt;/option&amp;gt;
        &amp;lt;/map&amp;gt;
        &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Dec 2013 17:47:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plotting-points-on-a-Splunk-6-map/m-p/162203#M45929</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2013-12-19T17:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting points on a Splunk 6 map</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plotting-points-on-a-Splunk-6-map/m-p/162204#M45930</link>
      <description>&lt;P&gt;I showed you in the pictures that I linked that the points are being put on the map but when going to zoom 5 instead of 9 like you have it set they are being grouped together and I would like to know if there is a way to have them NOT group.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2013 19:50:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plotting-points-on-a-Splunk-6-map/m-p/162204#M45930</guid>
      <dc:creator>MattZerfas</dc:creator>
      <dc:date>2013-12-19T19:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting points on a Splunk 6 map</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plotting-points-on-a-Splunk-6-map/m-p/162205#M45931</link>
      <description>&lt;P&gt;Yes, using binspanlat and binspanlong.  I updated the XML above too and show the search below with the documentation reference.&lt;/P&gt;

&lt;P&gt;sourcetype=geo | geostats latfield=latitude longfield=longitude binspanlat=1 binspanlong=1 count&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/SearchReference/Geostats"&gt;http://docs.splunk.com/Documentation/Splunk/6.0/SearchReference/Geostats&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2013 20:02:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plotting-points-on-a-Splunk-6-map/m-p/162205#M45931</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2013-12-19T20:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting points on a Splunk 6 map</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plotting-points-on-a-Splunk-6-map/m-p/162206#M45932</link>
      <description>&lt;P&gt;Thanks for the all the help. Sorry my situation seems to be so confusing. I was able to acheive what I want my setting the binspanlat=.1 and binspanlong=.1 and the globallimit to 1.&lt;/P&gt;

&lt;P&gt;Here is my end result.&lt;BR /&gt;
&lt;A href="https://dl.dropboxusercontent.com/u/7913972/map.png"&gt;https://dl.dropboxusercontent.com/u/7913972/map.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2013 21:50:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plotting-points-on-a-Splunk-6-map/m-p/162206#M45932</guid>
      <dc:creator>MattZerfas</dc:creator>
      <dc:date>2013-12-19T21:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting points on a Splunk 6 map</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plotting-points-on-a-Splunk-6-map/m-p/162207#M45933</link>
      <description>&lt;P&gt;Not a problem.  Happy to help.  Very nice use case &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2013 22:00:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plotting-points-on-a-Splunk-6-map/m-p/162207#M45933</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2013-12-19T22:00:31Z</dc:date>
    </item>
  </channel>
</rss>

