Skip to main content

Datatable in Chronicle

  • Jul 1, 2025 7:21 AM UTC
  • 5 replies
  • 261 views

AfvanJaffer
Forum|alt.badge.img+5

does datatable also append rows on new alerted detections from Yara-l rule, I have only experimented it with a retrohunt(for investigations) ?

I'm hoping the rule saves the detections to the table while on live + alerting. 

5 replies

AfvanJaffer
Forum|alt.badge.img+5
  • Author
  • Bronze 5
  • Jul 1, 2025 7:40 AM UTC

Also how do you define the primary keys of the data table ?


mikewilusz
Staff
Forum|alt.badge.img+10
  • Staff
  • Jul 1, 2025 11:54 AM UTC

AfvanJaffer
Forum|alt.badge.img+5
  • Author
  • Bronze 5
  • Jul 1, 2025 11:57 AM UTC

You can have your rule/detection append to a Data Table. Details here: https://cloud.google.com/chronicle/docs/investigation/data-tables#write_detections_and_alerts_to_data_tables_using_yara-l

-mike


Yea, that's understood. 

I didn't make any detections for the rule till now(the one i'm experimenting with) -- so I only wanted to confirm that the export not only for the retro-hunt. but also exports when the rule naturally make detections ?


mikewilusz
Staff
Forum|alt.badge.img+10
  • Staff
  • Jul 1, 2025 11:58 AM UTC

Yea, that's understood. 

I didn't make any detections for the rule till now(the one i'm experimenting with) -- so I only wanted to confirm that the export not only for the retro-hunt. but also exports when the rule naturally make detections ?


You're correct! A live rule will append to the Data Table when it's active. 

-mike


AfvanJaffer
Forum|alt.badge.img+5
  • Author
  • Bronze 5
  • Jul 1, 2025 12:00 PM UTC

Also how do you define the primary keys of the data table ?


Hello @mikewilusz 

could you also help here, if you aware of it ?