Skip to main content

Dashboard to show log consumption per project

  • October 1, 2024
  • 7 replies
  • 24 views

keso
Forum|alt.badge.img+7

Hey, is there a way to know what is the current log consumption per project? This post shows per type [1] but Im not really sure how to filter more to know the log consumption per project. Thank you!

 

[1] https://medium.com/@thatsiemguy/creating-an-asset-dashboard-in-chronicle-siem-3d6642e7edbb

 

 

7 replies

James_E
Staff
Forum|alt.badge.img+8
  • Staff
  • October 2, 2024

@keso What do you mean "per project"? Are you talking about GCP Project or something else?


keso
Forum|alt.badge.img+7
  • Author
  • Bronze 5
  • October 2, 2024

@keso What do you mean "per project"? Are you talking about GCP Project or something else?


Yes, per GCP project.


James_E
Staff
Forum|alt.badge.img+8
  • Staff
  • October 2, 2024

Do you currently have a way to make a distinction between which log types are coming from which GCP project? Meaning, are the logs being labeled or are there already fields within each event that tells you which GCP project that event came from?


keso
Forum|alt.badge.img+7
  • Author
  • Bronze 5
  • October 4, 2024

Do you currently have a way to make a distinction between which log types are coming from which GCP project? Meaning, are the logs being labeled or are there already fields within each event that tells you which GCP project that event came from?


Yes, there is. There are several labels in the UDM Event that contain the information of the project where it came from. To mention a few:

target.cloud.project.name

target.resource.name
principal.asset.attribute.cloud.project.name
 

keso
Forum|alt.badge.img+7
  • Author
  • Bronze 5
  • October 4, 2024

Do you currently have a way to make a distinction between which log types are coming from which GCP project? Meaning, are the logs being labeled or are there already fields within each event that tells you which GCP project that event came from?


I'm close, Im able to get the UDM count per project but not the "Total Size Bytes" per GCP project.

When editing a Title in the dashboards: 

In "Ingestion Metrics" it is not possible to filter by project but it has the "Total Size Bytes" Metric. 

In "UDM" it is possible to use any of the variables from before (such as target.cloud.project.name) but it does not have the "Total Size Bytes" Metric. A lot of metric (such as count) but not the "Total Size Bytes GiB"

 


keso
Forum|alt.badge.img+7
  • Author
  • Bronze 5
  • October 16, 2024

Do you have any idea how to do it @James_E ? 🙏


keso
Forum|alt.badge.img+7
  • Author
  • Bronze 5
  • October 22, 2024

Could someone help here? 🙏