Hi, I have this search: | spath
| rename object.* as *
| spath path=events{} output=events
| stats by timestamp, events, application, event_type, account_id, context.display_name,
| mvexpand events
| eval _raw=events
| kv
| table timestamp, payload.rule_description, "context.display_name", account_id, "event_type", "application", "payload.rule_url"
| rename account_id as "Account ID", timestamp as "Timestamp", context.display_name as "System", context.host_url as "Host URL", event_type as "Event Type", "title" as "Title", "application" as "Application", "payload.rule_url" as "URL" I have a json with multiple `events, inside this event I have "payload.rule_description", but, some record, doesn't have this "payload.rule_description" object, so, I don't have the "payload.rule_description". How can I check if the record has the "payload.rule_description" if not, brings `event_type` instead? Tried to use `eval title=if(payload.rule_description, payload.rule_description, event_type)` doesn't work. Thanks
... View more