I am using following if statement, not sure what is wrong here, it is giving me _mutate_error
.
Does the /
cause this error?
if [operationName] == "MICROSOFT.RESOURCES/SUBSCRIPTIONS/RESOURCEGROUPS/DELETE"
{
mutate {
add_field => { "Signal" => "A resource group deletion operation has %{[resultSignature]} by the user %{[identity][claims]http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress]}"}
add_field => { "Priority" => "HIGH"}
add_field => { "category" => "Resource"}
}
}
Also, getting _grokparsefailure
in tag, grok filter is as follows :
if "RESOURCEGROUPS" in [resourceId]
{
grok
{
match => {"[resourceId]" => ".*resourceGroups/%{USERNAME:resourceGroupName}.*"}
}
}
Can anyone help ?