Sorry for not being that clear.
I have a nodejs app that calls the Splunk API to do a search query. Example:
splunkService[splunkEnv].oneshotSearch('search index=test SERVICE="myservice" | timechart avg(RESPONSETIME) by SERVICE', searchParams, (err, results) => {
// code here.
});
The output from splunk is JSON data. Wanted to know if there is a way to get chart itself as an output.
In the current case, I have to use the JSON data and chartjs to build the chart myself.
Thanks a lot.
... View more