<?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: Displaying on the map using longitude and latitude ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185056#M53327</link>
    <description>&lt;P&gt;When I do count by city ..No result found &lt;BR /&gt;
index="cc_web" sourcetype=* sourcetype= * | rex field=_raw "(?i)^(?P[^ ]+) "| search IP_address="*" | top limit=33 IP_address | iplocation IP_address | geostats count by city&lt;/P&gt;

&lt;P&gt;When I do by Item I get the stats but nothing in Map&lt;BR /&gt;
index="cc_web" sourcetype=* sourcetype= * | rex field=_raw "(?i)^(?P[^ ]+) "| search IP_address="*" | top limit=33 IP_address | iplocation IP_address | geostats first(item_number) as Item&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 18:38:59 GMT</pubDate>
    <dc:creator>puneetkharband1</dc:creator>
    <dc:date>2020-09-28T18:38:59Z</dc:date>
    <item>
      <title>Displaying on the map using longitude and latitude ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185045#M53316</link>
      <description>&lt;P&gt;Hi All, &lt;BR /&gt;
I am very new to Splunk. My task is to display the location on the map using IP address. &lt;BR /&gt;
I am able to succeed getting the Longitude and latitude. What I need next is to display it on the map or I can say point it to the map.&lt;/P&gt;

&lt;P&gt;Please suggest how can I do this. Below is the search string I am using where I am getting the geobin, longitude and latitude&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="cc_web" sourcetype=* sourcetype= * | rex field=_raw "(?i)^(?P[^ ]+) "| search IP_address="*" | top limit=33 IP_address | iplocation IP_address| geostats first(item_number) as Item
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Jan 2015 21:32:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185045#M53316</guid>
      <dc:creator>puneetkharband1</dc:creator>
      <dc:date>2015-01-15T21:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying on the map using longitude and latitude ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185046#M53317</link>
      <description>&lt;P&gt;According to the comment:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;If you see the search string I am pulling Ip addresses ...so If 10 IP's are coming from one location ...I wanna see that location with some display ...lets say 10% abc city.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;The search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="cc_web" sourcetype=* sourcetype= * 
| rex field=_raw "(?i)^(?P[^ ]+) "
| search IP_address="*" 
| top limit=33 IP_address 
| iplocation IP_address
| geostats first(item_number) as Item
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So it sounds like you want to change&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| geostats first(item_number) as Item
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to something like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| geostats count by City
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Jan 2015 21:38:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185046#M53317</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-01-15T21:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying on the map using longitude and latitude ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185047#M53318</link>
      <description>&lt;P&gt;Thanks for your quick response .....but I tried that but I am not able to see the view points on the map ...it just stays blank on the map but below the map it shows the stats table with same values geobin longitude and latitude.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 21:48:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185047#M53318</guid>
      <dc:creator>puneetkharband1</dc:creator>
      <dc:date>2015-01-15T21:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying on the map using longitude and latitude ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185048#M53319</link>
      <description>&lt;P&gt;Try commenting on my answer (rather than answering again) to keep the flow of the conversation going (and keep answer conversations together&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 22:00:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185048#M53319</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-01-15T22:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying on the map using longitude and latitude ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185049#M53320</link>
      <description>&lt;P&gt;Do I need to buy any third party extension to get the maps enabled as I tried the other widgets ..all are showing some data ..only map doesn't show any location ?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 22:01:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185049#M53320</guid>
      <dc:creator>puneetkharband1</dc:creator>
      <dc:date>2015-01-15T22:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying on the map using longitude and latitude ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185050#M53321</link>
      <description>&lt;P&gt;sure I will do from now I was not allowed to comment on that earlier when I tried.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 22:03:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185050#M53321</guid>
      <dc:creator>puneetkharband1</dc:creator>
      <dc:date>2015-01-15T22:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying on the map using longitude and latitude ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185051#M53322</link>
      <description>&lt;P&gt;first of all I do not have permissions to comment to someone's comments.&lt;/P&gt;

&lt;P&gt;When I do | geostats count by Country I get the PIE CHART on my map....but I am looking for city.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 22:15:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185051#M53322</guid>
      <dc:creator>puneetkharband1</dc:creator>
      <dc:date>2015-01-15T22:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying on the map using longitude and latitude ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185052#M53323</link>
      <description>&lt;P&gt;Ah I see. So what should your output look like? A single dot per city, where do you want the item information? &lt;/P&gt;

&lt;P&gt;Check out the &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Viz/PanelreferenceforSimplifiedXML#map"&gt;map object options in XML.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 23:05:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185052#M53323</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-01-15T23:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying on the map using longitude and latitude ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185053#M53324</link>
      <description>&lt;P&gt;No you don't need to buy any third party extensions to get the maps enabled. It's your search string using the first function I think, that is disabling the data from being seen.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 23:11:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185053#M53324</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-01-15T23:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying on the map using longitude and latitude ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185054#M53325</link>
      <description>&lt;P&gt;If you see the search string I am pulling Ip addresses ...so If 10 IP's are coming from one location ...I wanna see that location with some display ...lets say 10% abc city.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jan 2015 14:04:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185054#M53325</guid>
      <dc:creator>puneetkharband1</dc:creator>
      <dc:date>2015-01-16T14:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying on the map using longitude and latitude ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185055#M53326</link>
      <description>&lt;P&gt;I edited my answer.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jan 2015 18:17:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185055#M53326</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-01-16T18:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying on the map using longitude and latitude ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185056#M53327</link>
      <description>&lt;P&gt;When I do count by city ..No result found &lt;BR /&gt;
index="cc_web" sourcetype=* sourcetype= * | rex field=_raw "(?i)^(?P[^ ]+) "| search IP_address="*" | top limit=33 IP_address | iplocation IP_address | geostats count by city&lt;/P&gt;

&lt;P&gt;When I do by Item I get the stats but nothing in Map&lt;BR /&gt;
index="cc_web" sourcetype=* sourcetype= * | rex field=_raw "(?i)^(?P[^ ]+) "| search IP_address="*" | top limit=33 IP_address | iplocation IP_address | geostats first(item_number) as Item&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:38:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Displaying-on-the-map-using-longitude-and-latitude/m-p/185056#M53327</guid>
      <dc:creator>puneetkharband1</dc:creator>
      <dc:date>2020-09-28T18:38:59Z</dc:date>
    </item>
  </channel>
</rss>

