I am working on Splunk Enteprise Security.

| savedsearch "Traffic - Total Count" is working fine and giving me desired output in the search but when calling it in source code not showing any result.
{
"type": "ds.savedSearch",
"options": {
"query": "'| savedsearch \"Traffic - Total Count\"'",
"ref": "Traffic - Total Count"
},
"meta": {
"name": "Traffic - Total Count"
}
}
Do I need to do any configurations to get output on this dashboard???