Purge historical analytics data till date
search cancel

Purge historical analytics data till date

book

Article ID: 276024

calendar_today

Updated On:

Products

CA API Developer Portal

Issue/Introduction

How to purge historical analytics data in Portal (Kubernetes deployment)

Environment

API Developer Portal 5.2

Resolution

Connect to coordinator pod.

kubectl  exec -it coordinator-0 sh

Run these curl commands to reset all analytics data.

curl  --location --request POST "localhost:8081/druid/indexer/v1/supervisor/apim_metrics_hour/reset"
curl  --location --request POST "localhost:8081/druid/indexer/v1/supervisor/apim_metrics/reset"
curl  --location --request POST "localhost:8081/druid/indexer/v1/supervisor/resumeAll"

=> {"status":"success"}/