How do I add a new field and set the value to seven days ago from the current date, snapped to the
beginning of the current date? I know the date syntax should be "earliest=-7d@d", but am unsure if I should use the eval command to add the field and the specific syntax. Thanks.
eval is the command to use to add a new field to an event. Use the relative_time function to help set the value.
| eval newField = relative_time(now(), "-7d@d")
eval is the command to use to add a new field to an event. Use the relative_time function to help set the value.
| eval newField = relative_time(now(), "-7d@d")
Thanks a million!