<?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: multiple field in geostats in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/multiple-field-in-geostats/m-p/447643#M126871</link>
    <description>&lt;P&gt;here i am able to get the field value , but my query is&lt;BR /&gt;
 &lt;EM&gt;"&lt;/EM&gt;&lt;EM&gt;| eval clli_pk=substr(hop4node,1,8)&lt;/EM&gt;*&lt;BR /&gt;
| stats avg(Ave) AS Ave by hop1node hop2node hop3node hop4node hop5node hop6node hop7node hop8node hop9node clli_pk&lt;BR /&gt;
| join type=left clli_pk [| from inputlookup:"CLLI_Address.csv" | table clli_pk latitude longitude ]&lt;BR /&gt;
| &lt;STRONG&gt;geostats median(Ave) by hop4node&lt;/STRONG&gt; latfield=latitude longfield=longitude globallimit=0 binspanlat=1 binspanlong=1 maxzoomlevel=18&lt;BR /&gt;
 here for only one field that is hop4Node is displayed, how can i display all the fields ie.. hop1node,hop2node,hop3node in map.........&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 22:29:12 GMT</pubDate>
    <dc:creator>vikashperiwal</dc:creator>
    <dc:date>2020-09-29T22:29:12Z</dc:date>
    <item>
      <title>multiple field in geostats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multiple-field-in-geostats/m-p/447641#M126869</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;

&lt;P&gt;i am trying to display multiple fields like num1, num2, num 3 in map and trying to gets its lat and long from external csv using join.common field is clli_pk.. how can we display all the values(num 1 , num 2...)&lt;/P&gt;

&lt;P&gt;| rex max_match=15 field=traces_new "(?[0-9]+)\s|(?.*?)\s|((?[0-9]+.[0-9]+.[0-9]+.[0-9]+))\s|(?[0-9]+.[0-9]+)" &lt;BR /&gt;
| table DestNodeName SiteId Ave hop_num node_name hop_ip hop_latency _time HopNo LAT LON &lt;BR /&gt;
| eval Check=if((mvcount(hop_num)=HopNo),0,1) &lt;BR /&gt;
| search Check=0&lt;BR /&gt;
| eval hop1node=trim(mvindex(node_name,0))&lt;BR /&gt;
| eval hop2node=trim(mvindex(node_name,1))&lt;BR /&gt;
| eval hop3node=trim(mvindex(node_name,2))&lt;BR /&gt;
| eval hop4node=trim(mvindex(node_name,3))&lt;BR /&gt;
| eval clli_pk=substr(hop4node,1,8)&lt;BR /&gt;
| stats avg(Ave) AS Ave by hop4node clli_pk&lt;BR /&gt;
| join type=left clli_pk [| from inputlookup:"CLLI_Address.csv" | table clli_pk latitude longitude  ] &lt;/P&gt;

&lt;P&gt;| geostats median(Ave) by hop4node latfield=latitude longfield=longitude globallimit=0 binspanlat=1 binspanlong=1 maxzoomlevel=18&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:29:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multiple-field-in-geostats/m-p/447641#M126869</guid>
      <dc:creator>vikashperiwal</dc:creator>
      <dc:date>2020-09-29T22:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: multiple field in geostats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multiple-field-in-geostats/m-p/447642#M126870</link>
      <description>&lt;P&gt;Instead of &lt;CODE&gt;| join type=left clli_pk [| from inputlookup:"CLLI_Address.csv" | table clli_pk latitude longitude ]&lt;/CODE&gt; use &lt;CODE&gt;| lookup CLLI_Address.csv clli_pk OUTPUT latitude longitude&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Dec 2018 18:00:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multiple-field-in-geostats/m-p/447642#M126870</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-12-15T18:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: multiple field in geostats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multiple-field-in-geostats/m-p/447643#M126871</link>
      <description>&lt;P&gt;here i am able to get the field value , but my query is&lt;BR /&gt;
 &lt;EM&gt;"&lt;/EM&gt;&lt;EM&gt;| eval clli_pk=substr(hop4node,1,8)&lt;/EM&gt;*&lt;BR /&gt;
| stats avg(Ave) AS Ave by hop1node hop2node hop3node hop4node hop5node hop6node hop7node hop8node hop9node clli_pk&lt;BR /&gt;
| join type=left clli_pk [| from inputlookup:"CLLI_Address.csv" | table clli_pk latitude longitude ]&lt;BR /&gt;
| &lt;STRONG&gt;geostats median(Ave) by hop4node&lt;/STRONG&gt; latfield=latitude longfield=longitude globallimit=0 binspanlat=1 binspanlong=1 maxzoomlevel=18&lt;BR /&gt;
 here for only one field that is hop4Node is displayed, how can i display all the fields ie.. hop1node,hop2node,hop3node in map.........&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:29:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multiple-field-in-geostats/m-p/447643#M126871</guid>
      <dc:creator>vikashperiwal</dc:creator>
      <dc:date>2020-09-29T22:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: multiple field in geostats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multiple-field-in-geostats/m-p/447644#M126872</link>
      <description>&lt;P&gt;I'm not sure you can do that, but perhaps someone else will have an idea.  The &lt;CODE&gt;geostats&lt;/CODE&gt; command accepts a single field in the &lt;CODE&gt;by&lt;/CODE&gt; clause so you can do as you did in &lt;CODE&gt;stats&lt;/CODE&gt;.  You could try combining all the fields into a single field using &lt;CODE&gt;| eval hops="" | foreach hop*Node [eval hops=hops."|".&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;] | geostats median(Ave) by hops...&lt;/CODE&gt;, but that will give you stats for every combination of hop nodes.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 13:41:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multiple-field-in-geostats/m-p/447644#M126872</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-12-17T13:41:44Z</dc:date>
    </item>
  </channel>
</rss>

