You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the logging framework from the power tools, I am trying to create a query in CloudWatch Log Insights to find the value of a key/value json array.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When using the logging framework from the power tools, I am trying to create a query in CloudWatch Log Insights to find the value of a key/value json array.
A bare minimum json example:
In this example, how can you write a query to find all the value of the
value
property whenmessage.parent.child.extras[*].name="Fizz"
?I understand we can create a query get the value by using a direct json path, i.e.,
However, that that requires knowing the index of the key/value array. Is it possible to create a query when the index is unknown?
Beta Was this translation helpful? Give feedback.
All reactions