Use Of Regex In DQL

Hello All,

I would like to use regex in dql, please guide me on this.

Below is my use case - If I want to use this below regex in DQL tp create alert  or dashboard how can I achieve it.
1. | rex field=_raw ““PONumber(?<PONumber>.*)””

Thanks.

Hi @abhay-ramekar ,

You cannot use regex in DQL, but you can use  DPL, which replaces regex and does the job more easily.

If you share a dummy log may be we can help to build a query based on DPL.

regards,

Akhil Jayendran