<?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: use amMap without a lookup? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/use-amMap-without-a-lookup/m-p/55490#M13552</link>
    <description>&lt;P&gt;That will work as well.  Whether you use maxmind, a custom CSV, or the search language ... the goal is the same:  Make sure mapit has &lt;A href="http://splunk-base.splunk.com/answers/4029/how-do-i-use-the-splunk-for-ammap-app-posted-on-splunkbase"&gt;what it needs&lt;/A&gt; to plot your data on an amMap.  Here is an example of plotting two points exclusively using the search language, sans lookup(s):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats count | eval count=1000| eval ip="127.0.0.1" | eval client_city="Santa Claus" | eval client_region="IN" | eval client_country="USA" | eval client_lon="-86.913958" | eval client_lat="38.120445" | eval movie_color="#FF0000" 
| append [| stats count | eval count=100| eval ip="10.0.0.1" | eval client_city="RMS" | eval client_region="Titanic" | eval client_country="Atlantic" | eval client_lon=-41 | eval client_lat=49 | eval movie_color="#8b8b8b"] 
| eval iterator="ip" | eval iterator_label="match or IP" | eval count_label="count" | eval output_file="home_threat_data.xml" | eval app="amMap" | mapit
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 23 Feb 2012 15:12:47 GMT</pubDate>
    <dc:creator>bwooden</dc:creator>
    <dc:date>2012-02-23T15:12:47Z</dc:date>
    <item>
      <title>use amMap without a lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/use-amMap-without-a-lookup/m-p/55489#M13551</link>
      <description>&lt;P&gt;amMap works fine using a lookup, but what if the data already has the client_city, client_region, client_country, client_lon, and client_lat in the events as fields? &lt;/P&gt;

&lt;P&gt;I would like to map these events without generating a lookup table.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:47:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/use-amMap-without-a-lookup/m-p/55489#M13551</guid>
      <dc:creator>nate015</dc:creator>
      <dc:date>2020-09-28T09:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: use amMap without a lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/use-amMap-without-a-lookup/m-p/55490#M13552</link>
      <description>&lt;P&gt;That will work as well.  Whether you use maxmind, a custom CSV, or the search language ... the goal is the same:  Make sure mapit has &lt;A href="http://splunk-base.splunk.com/answers/4029/how-do-i-use-the-splunk-for-ammap-app-posted-on-splunkbase"&gt;what it needs&lt;/A&gt; to plot your data on an amMap.  Here is an example of plotting two points exclusively using the search language, sans lookup(s):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats count | eval count=1000| eval ip="127.0.0.1" | eval client_city="Santa Claus" | eval client_region="IN" | eval client_country="USA" | eval client_lon="-86.913958" | eval client_lat="38.120445" | eval movie_color="#FF0000" 
| append [| stats count | eval count=100| eval ip="10.0.0.1" | eval client_city="RMS" | eval client_region="Titanic" | eval client_country="Atlantic" | eval client_lon=-41 | eval client_lat=49 | eval movie_color="#8b8b8b"] 
| eval iterator="ip" | eval iterator_label="match or IP" | eval count_label="count" | eval output_file="home_threat_data.xml" | eval app="amMap" | mapit
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Feb 2012 15:12:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/use-amMap-without-a-lookup/m-p/55490#M13552</guid>
      <dc:creator>bwooden</dc:creator>
      <dc:date>2012-02-23T15:12:47Z</dc:date>
    </item>
  </channel>
</rss>

