I have drop-down named "Program" and Table with static datasource "ds_EHYzbg0g". How to define dataSource for Table dynamically based on value from drop-down "Program"? {
"options": {
"items": [
{
"label": "All",
"value": "*"
}
],
"defaultValue": "*",
"token": "select_program"
},
"dataSources": {
"primary": "ds_8xyubP1c"
},
"title": "Program",
"type": "input.dropdown"
}
{
"type": "splunk.table",
"options": {
"tableFormat": {
"rowBackgroundColors": "> table | seriesByIndex(0) | pick(tableAltRowBackgroundColorsByTheme)"
},
"columnFormat": {
"_raw": {
"data": "> table | seriesByName(\"_raw\") | formatByType(_rawColumnFormatEditorConfig)"
}
},
"count": 50
},
"dataSources": {
"primary": "ds_EHYzbg0g"
},
"context": {
"_rawColumnFormatEditorConfig": {
"string": {
"unitPosition": "after"
}
}
},
"showProgressBar": true,
"containerOptions": {},
"showLastUpdated": false
}
... View more