28 Dec 2023 10:52 PM - last edited on 24 Jan 2024 11:10 AM by Michal_Gebacki
I have created a log metric and data is successfully ingested
but now i need to remove the metric all together from dynatrace (including all the ingested data points)
Solved! Go to Solution.
29 Dec 2023 06:39 PM - edited 29 Dec 2023 06:40 PM
hello @pallepavan you can do this on a bucket level for the log data, if you defined a specific bucket where the log data goes, you can truncate or delete the bucket.
You need the storage:bucket-definitions:truncate permission to be able to do it.
In this tip you have more details to use the Grail API.
And for the metric you can use the API. But have in mind that you can't delete a metric if it has data points ingested within the last two hours.