Hello, I am building a dashboard in Splunk Enterprise, I included the map with the Choropleth layer type and that worked for me, but I have a table that performs a query based on the region clicked on the map and that part does not work in Splunk Dashboard Studio. I have already defined the token on the map, adjusted the token in the table's query, and it seems that it does not capture the clicked area. I did the same process in Splunk Classic and it worked as expected. below is the source code of the MAP {
"dataSources": {
"primary": "ds_4lhwtNWq"
},
"eventHandlers": [
{
"type": "drilldown.setToken",
"options": {
"tokens": [
{
"key": "row.UF.value",
"token": "clicked_uf"
}
]
}
}
],
"options": {
"backgroundColor": "#294e70",
"center": [
-13.79021870397439,
-52.07072204233867
],
"layers": [
{
"additionalTooltipFields": [
"Quantidade de erros"
],
"areaIds": "> primary | seriesByName('UF')",
"areaValues": "> primary | seriesByName('Quantidade de erros')",
"bubbleSize": "> primary | frameBySeriesNames('Quantidade de erros')",
"choroplethOpacity": 0.5,
"choroplethStrokeColor": "transparent",
"latitude": "> primary | seriesByName('LATITUDE')",
"longitude": "> primary | seriesByName('LONGITUDE')",
"resultLimit": 50000,
"type": "choropleth"
}
],
"scaleUnit": "imperial",
"zoom": 5.38493379665208
},
"title": "mapa",
"type": "splunk.map",
"context": {},
"containerOptions": {},
"showProgressBar": false,
"showLastUpdated": false
} below is the SPL query of the table: index=<index> coderropc="0332"
| eval PC = replace(codpcredeprop, "^0+", "")
| stats count as "Erros por PC" by PC
| join type=left PC [| inputlookup PcFabricante.csv | eval CODPC=replace(CODPC, "^0+", "") | rename CODPC as PC | fields PC NOMEFABR MODELO]
| join type=left PC [| search index=ars source=GO earliest=-30d@d latest=now | eval CODPC=replace(CODPC, "^0+", "") | rename CODPC as PC | fields PC UF]
| search UF="$token_mapa$"
| table PC, NOMEFABR, MODELO, UF, "Erros por PC" Is there any configuration that is different between Splunk classic and Splunk Dashboard Studio? When I add the default value in the map, the table receives the value, but does not register the clicks.
... View more