Forum Discussion
alchem_rj
Sep 01, 2020Copper Contributor
Table count from custom log
Hello, I would like to get the count of table name reference in my custom log which is pushed to the Log analytics. The custom log structure is given below. 020-08-31 16:15:38 ProxyEngine [I...
alchem_rj
Sep 17, 2020Copper Contributor
Hi Rafi_Rabo,
Is it possible to fetch the exact matching string from Rawdata using "extract" operator? or any other command?
Rafi_Rabo
Microsoft
Sep 17, 2020Hi alchem_rj.,
You can tweak the regular expression, using the operator $ which means end of match.
In your case:
extend table_name = (extract ("(abc_8val_yy$)", 0, RawData))
Reference for regular expressions supported in Kusto: https://github.com/google/re2/wiki/Syntax
Rafi