I want to calculate the storage volume used by each log type in the Google Secops .
This is a query I used for this. This gives me the log volume values for each ingestion component (Ingestion API, Normalizer, Out-of-Band Processor) used by each log type.
I want to know when it comes to calculating storage volume for each log type , which ingestion component/s can be used?
$comp = ingestion.component
ingestion.log_type != ""
$Log_Type = ingestion.log_type
$Date = timestamp.get_date(ingestion.end_time)
match:
$Log_Type, $comp
outcome:
$Count = math.round(sum(ingestion.log_volume) / (1000 * 1000 * 1000), 2)
$eventc = math.round(sum(ingestion.log_count))
order:
$Count desc