Hi @livehybrid I have tested and it seems working fine, although I got few issues like getting "Invalid array length" (I had to refresh browser to fix this), and table displaying all rows, instead of the number of row I specified (rows displayed = 10). The invalid array length is intermittent I have some follow-up questions just to make sure I understand. Thank you for your help. 1. a. Is there a limitation on the number of data source? b. In my case, I need to change like the following, correct? "ds_index1" : "ds_index1" (not "search1" : "ds_index1") Can you explain what this mean: ds_index1" : "ds_index1"? b. ds_xxxx is a random character created by Splunk, do you usually change it to readable format, or you just leave it? (which one is best practice) c. I also need to change $mysearch$ to $datasource_token$, correct? "viz_gE0iilm3": {
"dataSources": {
"primary": "ds_index1",
"ds_index1": "ds_index1",
"ds_index2": "ds_index2"
},
"options": {
"table": "> $datasource_token$"
},
"type": "splunk.table"
} I was trying to choose the token when clicking single value. Please let me know if this is correct {
"type": "splunk.singlevalue",
"dataSources": {
"primary": "ds_singlevalue1"
},
"title": "Single Value 1",
"eventHandlers": [
{
"type": "drilldown.setToken",
"options": {
"tokens": [
{
"token": "datasource_token",
"value": "ds_index1"
}
]
}
}
]
}
{
"type": "splunk.singlevalue",
"dataSources": {
"primary": "ds_singlevalue2"
},
"title": "Single Value 2",
"eventHandlers": [
{
"type": "drilldown.setToken",
"options": {
"tokens": [
{
"token": "datasource_token",
"value": "ds_index2"
}
]
}
}
],
} Also, it doesn't load at the beginning, so I need to put the default token. Is this correct? "defaults": {
"dataSources": {
"ds.search": {
"options": {
"queryParameters": {
"latest": "-24h@h",
"earliest": "now"
}
}
}
},
"tokens": {
"default": {
"datasource_token": {
"value": "ds_index1"
}
}
}
... View more