I have the same question...i need that for a link map, for create other dashboard, please is posible to do that?....create a token from unique query?
I try to create "lat_tok" token from a query that getting by main query..
<panel>
<table>
<title>ONTs CON EVENTO POR LOCALIDAD</title>
<search>
<query>sourcetype="snmptrap-accesos-telsur" "DYING_GASP_ALARM" index=main | eval ipaddress=enterprises_5504_2_7_1_1_6 | eval ip_1=split(ipaddress,": ") | eval ip_address=mvindex(ip_1,1) | fields ip_address, alarma_mxk,puerto_ont_mxk | dbxlookup lookup="snmptraps_accesos_telsur" | table tecnologia,modelo,zonal,localidad,sitio,hostname,puerto_ont_mxk | search tecnologia=ZHONE AND modelo=MXK* | eval H-P=hostname."-".puerto_ont_mxk | stats count by zonal,localidad,sitio,hostname,H-P | stats count by zonal,localidad | sort -count | rename zonal as ZONAL,localidad as LOCALIDAD, count as "CANTIDAD DE ONTS"</query>
<earliest>$field1.earliest$</earliest>
<latest>$field1.latest$</latest>
<refresh>1m</refresh>
<finalized >
<condition match=" 'job.resultCount' != 0">
<set token="location">$result.LOCALIDAD$</set>
</condition>
</finalized >
</search>
<drilldown target="My New Window">
<condition field="LOCALIDAD">
<set token="lat_tok"><query>| inputlookup localidad.csv | stats count by ID_ZONAL,DESC_ZONAL,GEOGRAP_LOCATION_ID,GEOGRAP_LOCATION_DESCRIPTION,COORDENADA_X,COORDENADA_Y,ID_FILAMENTO_CDA,FILAMENTO_CDA | where (like(GEOGRAP_LOCATION_DESCRIPTION,"$location$")) | table COORDENADA_Y</query></set>
<link>
<![CDATA[
/app/search/zonales_energia_mapas?location=$row.LOCALIDAD$&lat_tok=$lat_tok$&lon_tok=-72.809973
]]>
</link>
</condition>
</drilldown>
<option name="dataOverlayMode">heatmap</option>
</table>
</panel>
please help me, thanks
... View more