Skip to main content
Question

Is there any API to get ingestion bytes/rate per second for log source?

  • December 29, 2025
  • 3 replies
  • 50 views

Forum|alt.badge.img+10

Hello Team,

 

I am looking to get ingestion bytes/rate per second for log sources. I saw it in Ingestion Dashboard, but not able to get each log bytes. 

I checked the documentation and found log export can provide log with byte information.

https://docs.cloud.google.com/chronicle/docs/reference/data-export-api-enhanced#:~:text=exportedVolume%3A%20For%20completed%20jobs%2C%20the%20actual%20volume%20of%20data%20exported

but i want only ingestion bytes/rate per second for log sources, not the complete log.


Has anyone been able to retrieve this kind of data? 
Any guidance, examples, or best practices would be really helpful.
Thanks in advance!

3 replies

JeremyLand
Staff
Forum|alt.badge.img+7
  • Staff
  • December 29, 2025

That information is available via the Cloud Monitoring API instead of the Chronicle API .

I recommend starting with the `chronicle.googleapis.com/ingestion/log/bytes_count` metric on the projects.timeSeries endpoint.  You can use metric explorer to poke around in the UI and easily see what additional fields are available for filters and/or aggregation. 

Ref: 
https://docs.cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list 
https://docs.cloud.google.com/monitoring/api/metrics_gcp_c#gcp-chronicle


Forum|alt.badge.img+10
  • Author
  • Silver 2
  • January 1, 2026

That information is available via the Cloud Monitoring API instead of the Chronicle API .

I recommend starting with the `chronicle.googleapis.com/ingestion/log/bytes_count` metric on the projects.timeSeries endpoint.  You can use metric explorer to poke around in the UI and easily see what additional fields are available for filters and/or aggregation. 

Ref: 
https://docs.cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list 
https://docs.cloud.google.com/monitoring/api/metrics_gcp_c#gcp-chronicle

Thank you ​@JeremyLand 

I tried this in UI with metric. I am able to get the data as i want, but the minimum interval is 1min. is there any possibility to get 1sec or 10sec interval?


JeremyLand
Staff
Forum|alt.badge.img+7
  • Staff
  • January 2, 2026

AFAIK 1 minute is the shortest interval we have for pulling that ingest rate.