How to get the internal DB object size

How to get the internal DB object size

2515
Created On 03/25/20 09:36 AM - Last Modified 08/26/21 23:45 PM


Objective
You can get stats for the entire Cortex XSOAR database, the partition for a specific month, or a bucket greater than a specified size.

Note: Cortex XSOAR v6.1 does not support filtering and the DB status output displays differently than it does for earlier versions.


Environment
Cortex xSOAR

Procedure
  1. In a web browser, go to  https://<CortexXSOAR_server:443/dbstats.
  2. (Optional) To filter stats by the main DB, go to https://<CortexXSOAR_server:443/dbstats?filter=main.
  3. (Optional) To filter the partition by a specific month, go to https://<CortexXSOAR_server:443/dbstats?filter=122019.
  4. (Optional) To filter by buckets above a certain size, go to https://<CortexXSOAR_server:443/dbstats?minBytes=10000


Additional Information
The expected output will look something like this:
"investigations-288":{"keyN":203,"leafSize":"512 kB"}

where:
  • investigation - <number> is the ID of the item.
  • keyN is the number of entries
  • leafeSize is the amount of data


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000PPEuCAO&lang=en_US%E2%80%A9&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Attachments
Choose Language