Splunk AppDynamics

Creating Custom Metrics of ADQL Query in Analytics via API

Husnain_Ashfaq
New Member

Hi,

I have large number of queries which needs to be created as metrics in Analytics (because we can't retain data more than 8 days in Analytics, so making metrics to retain it).

Is there any tool/API or CURL command we can use to create these metrics by providing Query and Metrics name as payload/arguments?

Creating them manually is error prone and time taking

Labels (1)
Tags (3)
0 Karma

iamryan
Community Manager
Community Manager

Hi @Husnain.Ashfaq,

Were you able to check out and try what was suggested by @Mario.Morelli

0 Karma

Morelz
Builder

Hi Husnain

Don't believe there is an official documented API,

What we did was just open developer tools in your browser and create a new test metric, check the way the payload is structured, you can then automate or build them using Curl or any scripting method of your choice.

Ciao

0 Karma
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...