AIOps - How to view the TTL of a device/entity in TAS
search cancel

AIOps - How to view the TTL of a device/entity in TAS

book

Article ID: 374974

calendar_today

Updated On:

Products

DX Operational Intelligence DX Application Performance Management

Issue/Introduction

After looking at the DX OI inventory, there appear to be a lot of entities that we expect to have been deleted - the TTL in apm_bridge probe is 43200s so entities should be deleted after 12hr. 

How can we check the TTL of an given entity?

Environment

  • DX Operational Intelligence 2x
  • DX AIOps 2x

Resolution

The endTime of the entity will tell when the entity will expire 
 
Option 1:  If you know the externalID of the entity use the following DX Platform > TAS query using postman
 
EndPoint: <http(s)://apmservices-gateway-<your domain>/tas/graph/query
Set the Authorization
Set the Body = 
 
Example:
 
 
{
    "filter": {
        "op": "VERTEX",
        "externalId": [
            "ACN:V-CAPC$Spectrum-1301c6e7-3868-4b26-b530-f21ef634bcfd"
        ]
    }
}
 
 
Option 2: If you know the name of the entities, use the alternative query
 
Example:
 
{
    "filter": {
        "op": "TAKE_VERTICES",
        "input": {
            "op": "ATTRIBUTE",
            "expressions": [
                {
                    "name": "name",
                    "values": [
                        "entityName1",
                        "entityName2"
                    ],
                    "operator": "IN"
                }
            ]
        }
    },
    "projection": "NO_TYPE"
}
 
 
From the output, convert epoch to date format, you can use the epoch converter tool
 
"endTime": 1723692405723
 

Additional Information