Hi @turri, in this scenario what is the mechanism that you're using to forward the logs to SecOps? Are you using the SecOps forwarder, or some other means to send the logs?
From our documentation page on the ingestion metrics schema, the entry for last_heartbeat_time is described as only being populated if the ingestion source is either the forwarder or the Chronicle API feed. Are you using either of those two methods?
"The last timestamp at which the forwarder or API feed was active, in microseconds. This field is populated if the ingestion source is the Google Security Operations forwarder or Chronicle API feed."
https://cloud.google.com/chronicle/docs/reference/ingestion-metrics-schema
Hi @turri, in this scenario what is the mechanism that you're using to forward the logs to SecOps? Are you using the SecOps forwarder, or some other means to send the logs?
From our documentation page on the ingestion metrics schema, the entry for last_heartbeat_time is described as only being populated if the ingestion source is either the forwarder or the Chronicle API feed. Are you using either of those two methods?
"The last timestamp at which the forwarder or API feed was active, in microseconds. This field is populated if the ingestion source is the Google Security Operations forwarder or Chronicle API feed."
https://cloud.google.com/chronicle/docs/reference/ingestion-metrics-schema
Thank you for your help! I've identified that the ingestion source is causing the issue with my query.
Regarding the potential solution, the end_time field looks promising as a workaround, but before implementing it permanently, I need to understand its exact purpose in our data model.
Could you please clarify what the end_time field represents in the datalake.ingestion_metrics table?
Thank you for your help! I've identified that the ingestion source is causing the issue with my query.
Regarding the potential solution, the end_time field looks promising as a workaround, but before implementing it permanently, I need to understand its exact purpose in our data model.
Could you please clarify what the end_time field represents in the datalake.ingestion_metrics table?
It represents the end time boundary for which you're pulling the metrics for that log type.
Along with start_time, the two fields represent the beginning and end time boundaries for pulling the metrics you're interested in.
I've linked here an excellent post by Chris Martin (@cmmartin_google) about ingestion metrics. It includes multiple examples and explanations that are useful to review.
https://medium.com/@thatsiemguy/chronicle-ingestion-stats-metrics-4fa14386b9fc