Hi everyone,
I'm working on a Google SecOps Preview Dashboard and need to calculate the length of a string.
I have a use case where I need to calculate the length of string field (f1) and then compute the average length across all events.
For example:
ID | f1 | len(f1) |
1 | "val-1" | 5 |
2 | "v-2" | 3 |
3 | "value-3" | 7 |
I need to display AVG(len(f1)).
Is there a built-in function for this, or is there any workaround to achieve it?
Any guidance would be greatly appreciated!
Thanks,
Prashant Nakum