cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do I know if the ingested logs are going to the correct bucket?

WellPP
Participant

We are migrating from a third-party tool to Grail.

We have already started ingesting logs into the dev tenant. The first question: What syntax can I use in Matcer (DQL) so that 100% of the logs go to the created bucket?

Second question, how do I know that Matcher(DQL) is working correctly? How do I know that logs are being pushed to the specific bucket, with the retention period I configured on the bucket? How do I know how many GB are in this bucket?

1 REPLY 1

sinisa_zubic
Dynatrace Champion
Dynatrace Champion

Hi @WellPP 

 

If you want all logs to go to another bucket, then you need to use following matcher

 

isNotNull(content)

 

 

If you want to verify in which bucket a record is stored, just add to the query dt.system.bucket

 

fetch logs
| fieldsAdd dt.system.bucket

 

 

To know how much data is being retained in all log buckets, go to accout manageemtn -> subscription -> overview -> then click on details for "Log management an analytcs - retain".

 

Best,
Sini

Featured Posts