Splunk AppDynamics

custom time range: fixed same day 6am to 8pm

CommunityUser
Splunk Employee
Splunk Employee

hello,

i've searched here and googled there but didn't find a suitable hint to: custom time ranges for a dashboard public deeplink to show always "the same day" within the 6am to 8pm time window.

anyone needed this before?

regards,

Christian

Labels (1)
Tags (2)
0 Karma
1 Solution

Arun_Dasetty
Super Champion
Hi Christian, This is not possible as of now in UI where user can select same time but dashboard expected to show same period on any day visit but currently user cannot select specific custom time without selecting particular date, only option is to select last 1 hour or last 1 day in UI, we have internal request for this already to address in future version, no ETA yet, Hope that answers.

View solution in original post

Arun_Dasetty
Super Champion
Hi Christian, This is not possible as of now in UI where user can select same time but dashboard expected to show same period on any day visit but currently user cannot select specific custom time without selecting particular date, only option is to select last 1 hour or last 1 day in UI, we have internal request for this already to address in future version, no ETA yet, Hope that answers.

CommunityUser
Splunk Employee
Splunk Employee

Hi akumar,

thanks for the reply and the info. after further digging i sort of concluded the same yesterday and started to build it as external dashboard from API data - halfway through or so.

regards,

Christian

PS. you need a "no solution yet -> roadmap" button with voting option for the others here to help priortize your ETA ... 😉

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Christian, did you ever succeed in doing this ?

0 Karma

CommunityUser
Splunk Employee
Splunk Employee
Hello,
it is definitely not possible up to now. – confirmed by appdynamics as well.
We’ve started to build custom dashboards using the controller API data access to the metrics. Below is a java script snippet showing how to query a static time window of “today” between 6am and 8pm.

var date = new Date();
var start = date.setHours(6), // 6am
end = date.setHours(20); // 8pm
var metricPath = "PATH|TO|YOUR|METRIC";
var url = "https://appd-controller.domain.local/controller/rest/applications/20/metric-data?metric-path="+metri...";

regards,
Christian
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Christian,

Thanks for your answer!

Am i correct in assuming that you are using the resulting JSON not in a native Appdynamics dashboard but in another type ? Say D3 or something like that ?

Either way i would love to hear more, or see any more examples.

Thanks again for your answer

0 Karma

CommunityUser
Splunk Employee
Splunk Employee
Thats right. We are using D3, or for simpler cases bootstrap themes with diverse graph libraries.
0 Karma
Get Updates on the Splunk Community!

Splunk Observability Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud? Learn how unique features like ...