How to get the internal DB object size

How to get the internal DB object size

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

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.

Cortex xSOAR

  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"}

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

  • Print
  • Copy Link

Choose Language