<?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: Inputlookup file KMZ doesn't work in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399059#M41405</link>
    <description>&lt;P&gt;yes, I have performed step by step the blog.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jun 2018 16:06:52 GMT</pubDate>
    <dc:creator>splunk6161</dc:creator>
    <dc:date>2018-06-21T16:06:52Z</dc:date>
    <item>
      <title>Inputlookup file KMZ doesn't work</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399051#M41397</link>
      <description>&lt;P&gt;I have performed step by step this blog: "&lt;A href="http://blogs.splunk.com/2015/10/01/use-custom-polygons-in-your-choropleth-maps/" target="_blank"&gt;http://blogs.splunk.com/2015/10/01/use-custom-polygons-in-your-choropleth-maps/&lt;/A&gt;" but doesn't work.&lt;BR /&gt;
These are the steps I've done:&lt;BR /&gt;
1- Etxract file cb_2014_us_cd114_500k.kml from cb_2014_us_cd114_500k.zip&lt;BR /&gt;
2- Zip file cb_2014_us_cd114_500k.kml in my_lookup.kmz&lt;BR /&gt;
3- Upload the KMZ file to the Lookup table files manager page (see blog)&lt;BR /&gt;
4- Add new Lookup definitions with the correct XPath (see blog)&lt;/P&gt;

&lt;P&gt;So, in search i tried this SPL "| inputlookup my_lookup", this return more then 1000result but i cant see nothing in "statistics" or "visualization"&lt;/P&gt;

&lt;P&gt;Where am I wrong?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:06:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399051#M41397</guid>
      <dc:creator>splunk6161</dc:creator>
      <dc:date>2020-09-29T20:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Inputlookup file KMZ doesn't work</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399052#M41398</link>
      <description>&lt;P&gt;Just leave out the ".kmz" extension&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 09:02:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399052#M41398</guid>
      <dc:creator>rvany</dc:creator>
      <dc:date>2018-06-21T09:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Inputlookup file KMZ doesn't work</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399053#M41399</link>
      <description>&lt;P&gt;I had written badly in this question, now its correct.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 09:10:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399053#M41399</guid>
      <dc:creator>splunk6161</dc:creator>
      <dc:date>2018-06-21T09:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Inputlookup file KMZ doesn't work</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399054#M41400</link>
      <description>&lt;P&gt;I tried it according to the blog you mentioned and it worked without any complication. Are there any permission problem, e.g. the lookup definition is (app)-private and you try to use it in some different app or context than where you defined it?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 10:05:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399054#M41400</guid>
      <dc:creator>rvany</dc:creator>
      <dc:date>2018-06-21T10:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Inputlookup file KMZ doesn't work</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399055#M41401</link>
      <description>&lt;P&gt;This is my configuration:&lt;BR /&gt;
- Lookup table files: sharing "private" and app "search"&lt;BR /&gt;
- Lookup definitions: sharing "private" and app "search"&lt;BR /&gt;
- Owner: the same who created lookup table and lookup definition and run the SPL code.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 12:27:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399055#M41401</guid>
      <dc:creator>splunk6161</dc:creator>
      <dc:date>2018-06-21T12:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Inputlookup file KMZ doesn't work</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399056#M41402</link>
      <description>&lt;P&gt;Where could you see these "more than 1000 results"? After running this command I was directly led to the "statistics" tab with only 441 results.&lt;/P&gt;

&lt;P&gt;What's in your &lt;CODE&gt;/opt/splunk/etc/users/&amp;lt;your_login_name&amp;gt;/search/lookups&lt;/CODE&gt; directory?&lt;/P&gt;

&lt;P&gt;I have:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;drwx------. 2 splunk splunk     166 21. Jun 12:00 my_lookup
-rw-------. 1 splunk splunk 5528634 21. Jun 11:58 my_lookup.kmz
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and in the &lt;CODE&gt;my_lookup&lt;/CODE&gt; subdir I got:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;-rw-------. 1 splunk splunk   328032 21. Jun 12:00 grid.key
-rw-------. 1 splunk splunk 63532814 21. Jun 12:00 grid.val
-rw-------. 1 splunk splunk    63384 21. Jun 12:00 ray.key
-rw-------. 1 splunk splunk    63384 21. Jun 12:00 ray.t.key
-rw-------. 1 splunk splunk 13295927 21. Jun 12:00 ray.t.val
-rw-------. 1 splunk splunk 20392363 21. Jun 12:00 ray.val
-rw-------. 1 splunk splunk 16221144 21. Jun 12:00 seg.key
-rw-------. 1 splunk splunk 16221144 21. Jun 12:00 seg.t.key
-rw-------. 1 splunk splunk 63532814 21. Jun 12:00 seg.t.val
-rw-------. 1 splunk splunk 63532814 21. Jun 12:00 seg.val
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you are on Windows I presume it will should look similar - at least regarding the file-/directory names.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 12:59:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399056#M41402</guid>
      <dc:creator>rvany</dc:creator>
      <dc:date>2018-06-21T12:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Inputlookup file KMZ doesn't work</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399057#M41403</link>
      <description>&lt;P&gt;In my  &lt;STRONG&gt;/opt/splunk/etc/users//search/lookups&lt;/STRONG&gt; directory i don't have the subfolder &lt;STRONG&gt;my_lookup&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 14:43:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399057#M41403</guid>
      <dc:creator>splunk6161</dc:creator>
      <dc:date>2018-06-21T14:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Inputlookup file KMZ doesn't work</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399058#M41404</link>
      <description>&lt;P&gt;Did you select type "Geospatial" in the lookup definition?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 16:04:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399058#M41404</guid>
      <dc:creator>rvany</dc:creator>
      <dc:date>2018-06-21T16:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Inputlookup file KMZ doesn't work</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399059#M41405</link>
      <description>&lt;P&gt;yes, I have performed step by step the blog.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 16:06:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399059#M41405</guid>
      <dc:creator>splunk6161</dc:creator>
      <dc:date>2018-06-21T16:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Inputlookup file KMZ doesn't work</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399060#M41406</link>
      <description>&lt;P&gt;I re-defined the lookup in my environment and got the same result again.&lt;/P&gt;

&lt;P&gt;The &lt;CODE&gt;my_lookup&lt;/CODE&gt;-dir is created and filled during the first call to &lt;CODE&gt;| inputlookup my_lookup&lt;/CODE&gt;. So it's not surprising that you don't have it.&lt;/P&gt;

&lt;P&gt;Even after redefinition I got 441 entries in my statistics tab, not more than 1000. So what's in your &lt;CODE&gt;local/transforms.conf&lt;/CODE&gt;-file regarding your my_lookup (located in the same directory as your lookup-dir)?&lt;/P&gt;

&lt;P&gt;To check the source: I use &lt;CODE&gt;cb_2014_us_cd114_500k.zip&lt;/CODE&gt; with a sha256sum of &lt;CODE&gt;100d747b89728dd1249a8d83c311691358072e62a9a7aff592edf49321f22083&lt;/CODE&gt;. My uploaded &lt;CODE&gt;my_lookup.kmz&lt;/CODE&gt; is 5528634 Bytes in size.&lt;/P&gt;

&lt;P&gt;Did you define any other lookup named my_lookup some time before?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 19:37:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399060#M41406</guid>
      <dc:creator>rvany</dc:creator>
      <dc:date>2018-06-21T19:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Inputlookup file KMZ doesn't work</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399061#M41407</link>
      <description>&lt;P&gt;First, read the best treatment of Splunk and mapping anywhere:&lt;BR /&gt;
&lt;A href="https://www.splunk.com/en_us/blog/tips-and-tricks/use-custom-polygons-in-your-choropleth-maps.html"&gt;https://www.splunk.com/en_us/blog/tips-and-tricks/use-custom-polygons-in-your-choropleth-maps.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The &lt;CODE&gt;| inputlookup my_lookup&lt;/CODE&gt; is just to see if you can access the &lt;CODE&gt;featureId&lt;/CODE&gt; and &lt;CODE&gt;geom&lt;/CODE&gt; fields inside of you &lt;CODE&gt;KML&lt;/CODE&gt; or &lt;CODE&gt;KMZ&lt;/CODE&gt; file.  If it is built in such a way that Splunk can use it, you should see many lines returned on the &lt;CODE&gt;Statistics&lt;/CODE&gt; tab.  It sounds like you got this far.  If you did not, consider using the &lt;CODE&gt;Shapester - Geo Shape Editor&lt;/CODE&gt; app on &lt;CODE&gt;Splunkbase&lt;/CODE&gt; (&lt;A href="https://splunkbase.splunk.com/app/2893/"&gt;https://splunkbase.splunk.com/app/2893/&lt;/A&gt;) to build some shapes into a &lt;CODE&gt;KML&lt;/CODE&gt; file that definitely should be Splunk-geo-compatible.  If you then click on the &lt;CODE&gt;Visualization&lt;/CODE&gt; tab, you &lt;EM&gt;should&lt;/EM&gt; be able to see the results on a map but you must do ALL of the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;1: Select the `Choropleth Map` visualization.
2: Keep `zooming` and `centering` your view until it is positioned over the location of the shapes in your file.
3: If your shapes are small, you will find that the default maps do not allow enough `zoom` to see them; to fix this....
4: Click on the `Format` tool (the `paint brush` icon) and go to the `Tiles` section.
5: Look at the comment that says `The URL to use for requesting tiles, ex: &lt;A href="http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png`" target="test_blank"&gt;http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png`&lt;/A&gt; and grab the `http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png` text and paste it into the `URL` field.  Instantly you should have infinite `zoom` detail.  Really, this is probably the `secret magic` that you lacked.  This is not clearly documented anywhere and we only discovered it by accident playing around.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It really helps to take a look at the &lt;CODE&gt;Choropleth Map Color Modes&lt;/CODE&gt; example with &lt;CODE&gt;San Francisco Neighborhoods&lt;/CODE&gt; in the &lt;CODE&gt;Map Elements&lt;/CODE&gt; area of the &lt;CODE&gt;Splunk Dashboard Examples&lt;/CODE&gt; app on &lt;CODE&gt;Splunkbase&lt;/CODE&gt; (&lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;https://splunkbase.splunk.com/app/1603/&lt;/A&gt;).  It shows you how to do everything EXCEPT for the magical  #5 step.  Although the recommended tile set is really good, there are many, MANY, options out there so be sure to try a variety. Here are some  alternative tile sets that render instantly in Splunk: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://wiki.openstreetmap.org/wiki/Tile_servers" target="test_blank"&gt;https://wiki.openstreetmap.org/wiki/Tile_servers&lt;/A&gt;
OpenStreetMaps: &lt;A href="http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" target="test_blank"&gt;http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png&lt;/A&gt;
Wikipedia: &lt;A href="https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png" target="test_blank"&gt;https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png&lt;/A&gt;
OpenCycleMap: &lt;A href="http://tile.thunderforest.com/cycle/{z}/{x}/{y}.png" target="test_blank"&gt;http://tile.thunderforest.com/cycle/{z}/{x}/{y}.png&lt;/A&gt;
Humanitarian Style: &lt;A href="http://a.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png" target="test_blank"&gt;http://a.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png&lt;/A&gt;
Hike and Bike: &lt;A href="https://tiles.wmflabs.org/hikebike/{z}/{x}/{y}.png" target="test_blank"&gt;https://tiles.wmflabs.org/hikebike/{z}/{x}/{y}.png&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Dec 2019 15:22:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Inputlookup-file-KMZ-doesn-t-work/m-p/399061#M41407</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-12-10T15:22:11Z</dc:date>
    </item>
  </channel>
</rss>

