XQL Query for calculating XDR log ingestion

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

XQL Query for calculating XDR log ingestion

L4 Transporter

Hi, 
As this is covered by the XDR license and not visible in the data ingestion widgets..

Does anyone have a query to look at data ingestion for XDR agents only?

 

thanks in adv

3 REPLIES 3

L3 Networker

Hi,

 

Thanks for reaching out LC.

 

You can use the below query example below and filter by the product you want to view:

 

dataset = metrics_source
| fields _vendor , _product , total_size_bytes , total_size_rate
| comp sum(total_size_bytes ) as ingestion by _product
| alter Ingestion_by_MB = divide(round(multiply(divide(ingestion , pow(2,20)),10000)),10000)
| fields _product ,Ingestion_by_MB
| sort desc Ingestion_by_MB

 

Regards.

 

If you feel this answered your inquiry please mark As Solution.

Visit our Cortex XDR Customer Corner on Live Community to access resources for your product journey, engage in discussions with community members and subject matter experts, and register for upcoming events: Cortex XDR Customer Corner

L4 Transporter

Thanks Mavega

..that does work.. but, it shows the metrics for xdrc - the xdr collector only. not xdr agents.

 

any ideas?

thanks

L2 Linker

I'm not aware of any log size's metrics for endpoints, but being familiar with the log counts per xdr agent should bring you closer to your goal  

dataset = xdr_data 
| filter   _product = "XDR agent"
| comp count() as logs by agent_id , agent_hostname 
| sort desc logs

 

  • 221 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!