<?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: How do I display negative values through geostats? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247494#M73833</link>
    <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | eval category = case(TEMP &amp;lt; 0, "freezing", TEMP &amp;lt; 15, "cold", TEMP &amp;lt; 25, "temperate", TEMP &amp;lt; 35, "hot", true(), "boiling")
| geostats latfield=LAT longfield=LON count by category
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 27 Nov 2016 00:04:30 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2016-11-27T00:04:30Z</dc:date>
    <item>
      <title>How do I display negative values through geostats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247490#M73829</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm busy mapping temperatures for locations around the world and in some cases the value is negative.  Unfortunately negative values are not displayed in the map through the geostats command, so I was wondering how to enable them?  I've tried setting the marker sizes so that it is the same for all values:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="mapping.markerLayer.markerMaxSize"&amp;gt;10&amp;lt;/option&amp;gt;
&amp;lt;option name="mapping.markerLayer.markerMinSize"&amp;gt;10&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But this only makes positive values the same size, negative values are still missing...&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;

&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Sat, 26 Nov 2016 17:28:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247490#M73829</guid>
      <dc:creator>andrewtrobec</dc:creator>
      <dc:date>2016-11-26T17:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display negative values through geostats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247491#M73830</link>
      <description>&lt;P&gt;Maybe it's just me, but I cannot picture a pie slice or marker with a negative-sized area.&lt;/P&gt;

&lt;H1&gt;KelvinFTW&lt;/H1&gt;</description>
      <pubDate>Sat, 26 Nov 2016 19:36:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247491#M73830</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-11-26T19:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display negative values through geostats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247492#M73831</link>
      <description>&lt;P&gt;I know what you mean, but I don't want the marker to expand or contract based on the value being displayed.  I want it to be a constant size despite being a positive or negative value.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Nov 2016 23:28:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247492#M73831</guid>
      <dc:creator>andrewtrobec</dc:creator>
      <dc:date>2016-11-26T23:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display negative values through geostats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247493#M73832</link>
      <description>&lt;P&gt;The marker is a pie chart of your various temperature categories, with the temperature used as the size of that category's slice. If you have a negative temperature, you're drawing a pie slice of negative size.&lt;/P&gt;

&lt;P&gt;Zoom way out, to let two markers merge into one - you should see the pie.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2016 00:01:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247493#M73832</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-11-27T00:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display negative values through geostats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247494#M73833</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | eval category = case(TEMP &amp;lt; 0, "freezing", TEMP &amp;lt; 15, "cold", TEMP &amp;lt; 25, "temperate", TEMP &amp;lt; 35, "hot", true(), "boiling")
| geostats latfield=LAT longfield=LON count by category
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 27 Nov 2016 00:04:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247494#M73833</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-11-27T00:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display negative values through geostats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247495#M73834</link>
      <description>&lt;P&gt;Hey Martin,&lt;/P&gt;

&lt;P&gt;This makes it visible since it's a count (a positive value) and not the temperature (negative value).  I'd like to have the marker so that when I put by cursor on it, it shows the temperature and not the count.&lt;/P&gt;

&lt;P&gt;Is this possible you think?&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2016 00:12:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247495#M73834</guid>
      <dc:creator>andrewtrobec</dc:creator>
      <dc:date>2016-11-27T00:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display negative values through geostats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247496#M73835</link>
      <description>&lt;P&gt;You could round to whole degrees, and do a &lt;CODE&gt;count by TEMP&lt;/CODE&gt;... then colour all reasonable values accordingly.&lt;/P&gt;

&lt;P&gt;As long as the negative temperature is considered a value and not a split-by field, this visualization will attempt to draw a pie slice of negative area. Geometry doesn't do that.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2016 00:15:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247496#M73835</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-11-27T00:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display negative values through geostats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247497#M73836</link>
      <description>&lt;P&gt;I'm not sure what you mean by "round to whole degrees. and do a &lt;CODE&gt;count by TEMP&lt;/CODE&gt;" .  Wouldn't this still make every value 1?&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2016 11:08:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247497#M73836</guid>
      <dc:creator>andrewtrobec</dc:creator>
      <dc:date>2016-11-27T11:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display negative values through geostats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247498#M73837</link>
      <description>&lt;P&gt;That would make the value the number of cities underneath the marker with that temperature, and would make the label the temperature.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2190iA06F8BFD4EDD9579/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2016 13:24:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247498#M73837</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-11-27T13:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display negative values through geostats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247499#M73838</link>
      <description>&lt;P&gt;This is great!  The negative value now appears, thank you so much!  I can't make this comment the answer... is there a way for you to move it to be an answer?&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2016 21:34:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-display-negative-values-through-geostats/m-p/247499#M73838</guid>
      <dc:creator>andrewtrobec</dc:creator>
      <dc:date>2016-11-27T21:34:03Z</dc:date>
    </item>
  </channel>
</rss>

