Hello, what is the best way when creating a parsing extension to ignore when a field doesnt exist within the raw log? I tried
if [field][field2] - throws: expression must evaluate to bool, instead got map[string]interface
if [field][field2] != "" - throws error: field.field2 not found in state data
if [field][field2] or [field][field2] != "" - cannot be used with the logical operator '||', it is not a bool
What is the best way of a parsing extension to ignore when a field doesn't exist within the raw log?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

