Splunk AppDynamics

Difference in granularity between UI and API

JohnGregg
Path Finder

All,

I'm using the SaaS controller.  I'm familiar with metric rollup but there is a difference in data granularity between the SaaS UI and the output from the metric-data REST endpoint.

Currently I'm looking at some data in the UI and it shows 1 minute intervals for a week ago.  However when I query the same approximate time range from the REST API, it's giving me 1 hour intervals.  Rollup is false.  I've tried adjusting the start time of my REST query to be < 1 week ago.  The time range of my query is 2 hours.

Through trial and error, it looks like the API returns 1 hour granularity for times more than about 24 hours ago.  Somewhere between 12-24 hours ago, I get 10 minute granularity and 1 minute for less than that.

Is there a way I can get the 1 minute granularity from REST.  Obviously the data exists if the UI is showing it to me.

thanks

Labels (3)
Tags (2)
0 Karma

Hirokazu_Mori1
Path Finder

Thank you for your question on the community!

First of all, the granularity you can get via REST API is different from the Controller UI.
You can get recent data with only the following granularity via REST API:
- 1-minute granularity for the last 1 day.
- 10-minute granularity for the last 2 day.

On the other hand, a resolution of metric data on the controller UI depends on a time range you select.
Also please take note that all data at 1-minute resolution is deleted after 8 days as described in the link below:


Best regards,

Hirokazu
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Event Series: The Agentic SOC: Trust Before Autonomy

AI is fundamentally changing security operations, but true progress requires more than just automation—it ...

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...