<?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: Heat map using a zip code in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Heat-map-using-a-zip-code/m-p/296283#M89396</link>
    <description>&lt;P&gt;Still kinda stuck even after changing my data set.  The new data set looks like this.  Just took out the count of the zip code.  So if there are 100 90210 zip codes instead of summarizing them I just left all 100 in the data set and let splunk count them by the below query and still no luck&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="cox_heatmap" sourcetype="csv"|geostats globallimit=0 latfield=LAT longfield=LONG count by ZIP_CODE

ZIP_CODE    LAT LONG
85629   31.91   -110.9
85742   32.43   -111.03
85629   31.91   -110.9
85710   32.22   -110.82
85747   32.1    -110.68
85730   32.17   -110.79
85713   32.19   -110.98
85713   32.19   -110.98
85747   32.1    -110.68
85641   31.95   -110.69
85756   32.07   -110.92
85705   32.26   -111
85756   32.07   -110.92
85629   31.91   -110.9
85629   31.91   -110.9
85745   32.25   -111.08
85730   32.17   -110.79
85756   32.07   -110.92
85756   32.07   -110.92
85050   33.69   -112
85085   33.75   -112.14
85382   33.65   -112.24
85345   33.57   -112.25
85008   33.46   -111.98
85748   32.21   -110.75
85629   31.91   -110.9
85713   32.19   -110.98
85712   32.25   -110.87
85712   32.25   -110.87
85629   31.91   -110.9
85710   32.22   -110.82
85710   32.22   -110.82
85745   32.25   -111.08
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 21 Aug 2017 21:40:46 GMT</pubDate>
    <dc:creator>dbcase</dc:creator>
    <dc:date>2017-08-21T21:40:46Z</dc:date>
    <item>
      <title>Heat map using a zip code</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Heat-map-using-a-zip-code/m-p/296281#M89394</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have the below data in a csv file.  I'd like to create a heat map with the count(zip_code) number inside the marker.  Any thoughts on how I would go about this?  Many thanks!!!&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ZIP_CODE    COUNT(ZIP_CODE) LAT Long
89148   1052    36.06   -111.87
85255   924 33.66   -111.94
85254   799 33.61   -112.24
85383   787 33.76   -112.18
85308   672 33.66   -97.76
73099   666 35.51   -76.3
23320   656 36.67   -111.89
85260   654 33.61   -76.04
23456   644 36.73   -115.13
89031   636 36.27   -76.04
23464   629 36.73   -95.78
74012   615 36.03   -97.41
73013   601 35.67   -115.04
89012   586 36  -76.04
23462   569 36.73   -97.51
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Aug 2017 20:24:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Heat-map-using-a-zip-code/m-p/296281#M89394</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2017-08-21T20:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Heat map using a zip code</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Heat-map-using-a-zip-code/m-p/296282#M89395</link>
      <description>&lt;P&gt;I've tried this query and its close but not quite.  The zipcode count column totals to just over 150K and when using this query the values in the heat map only total about 3500.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="cox_heatmap" sourcetype="csv"| geostats globallimit=0 latfield=LAT longfield=Long count by COUNT_ZIP_CODE
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Aug 2017 20:44:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Heat-map-using-a-zip-code/m-p/296282#M89395</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2017-08-21T20:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Heat map using a zip code</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Heat-map-using-a-zip-code/m-p/296283#M89396</link>
      <description>&lt;P&gt;Still kinda stuck even after changing my data set.  The new data set looks like this.  Just took out the count of the zip code.  So if there are 100 90210 zip codes instead of summarizing them I just left all 100 in the data set and let splunk count them by the below query and still no luck&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="cox_heatmap" sourcetype="csv"|geostats globallimit=0 latfield=LAT longfield=LONG count by ZIP_CODE

ZIP_CODE    LAT LONG
85629   31.91   -110.9
85742   32.43   -111.03
85629   31.91   -110.9
85710   32.22   -110.82
85747   32.1    -110.68
85730   32.17   -110.79
85713   32.19   -110.98
85713   32.19   -110.98
85747   32.1    -110.68
85641   31.95   -110.69
85756   32.07   -110.92
85705   32.26   -111
85756   32.07   -110.92
85629   31.91   -110.9
85629   31.91   -110.9
85745   32.25   -111.08
85730   32.17   -110.79
85756   32.07   -110.92
85756   32.07   -110.92
85050   33.69   -112
85085   33.75   -112.14
85382   33.65   -112.24
85345   33.57   -112.25
85008   33.46   -111.98
85748   32.21   -110.75
85629   31.91   -110.9
85713   32.19   -110.98
85712   32.25   -110.87
85712   32.25   -110.87
85629   31.91   -110.9
85710   32.22   -110.82
85710   32.22   -110.82
85745   32.25   -111.08
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Aug 2017 21:40:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Heat-map-using-a-zip-code/m-p/296283#M89396</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2017-08-21T21:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Heat map using a zip code</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Heat-map-using-a-zip-code/m-p/296284#M89397</link>
      <description>&lt;P&gt;Try something like this...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index="cox_heatmap" sourcetype="csv"
| rename 'COUNT(ZIP_CODE)' as mycount
|geostats globallimit=0 latfield=LAT longfield=LONG sum(mycount) as TheCount by ZIP_CODE
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Aug 2017 23:18:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Heat-map-using-a-zip-code/m-p/296284#M89397</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-08-21T23:18:22Z</dc:date>
    </item>
  </channel>
</rss>

