Old Transaction Trace indices are not getting deleted
search cancel

Old Transaction Trace indices are not getting deleted

book

Article ID: 228030

calendar_today

Updated On:

Products

DX Operational Intelligence

Issue/Introduction

On premise DX platform 20.2.

Old Transaction Trace indices are not getting deleted according to the following settings.

There are some older Transaction Trace indices that should be deleted according to the properly "apm.tracestore.data.retention".

Initially, this above properly was set to 4. But there are Transaction Trace indices that are older then 4 days. Now we change the above properly to 1, but we still see that there are Transaction Trace indices that are older then one day.

Environment

Release : 20.2

Component : CA DOI JARVIS & ELASTIC SEARCH

Resolution

Please review the following TechDoc.

https://knowledge.broadcom.com/external/article/207161

Review part: d) In this example, we need to reduce data retention for uim and anomaly indices as below:

The above TechDoc has some good examples.

In our case, we only need to change at doc_type level, thus we will use similar to the following.

{ "product_id":"ao",
  "tenant_id":"XXD8CXXXXXXXXXXXXXXXXX69CF0E7XXXXX",
  "tenant_doc_type_details":[
    {
      "doc_type_id":"apm_tt",
      "doc_type_version":"2",
      "retention_period": 6
    }    
  ]
}