allow nested JSON fields for rules sampling config #413
Labels
status: help wanted
Seeking more eyes and hands.
type: enhancement
New feature or request
version: bump minor
A PR that adds behavior, but is backwards-compatible.
Is your feature request related to a problem? Please describe.
Yes, our logs have nested JSON fields that we would like to use for sampling decisions. The current code looks like it does not allow this functionality.
Describe the solution you'd like
I would like to modify the code here to also use a get function if the value isn't found in order to have it read nested JSON, but also retain the original functionality for fields with a name including a '.'
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: