Elk_huh
(Brian)
January 5, 2021, 2:44pm
1
How do i do query for
event.code == 4625
winlog.event_data.targetusername != "*svc"
this is what i have and doesnt seem to work
{
"bool": {
"must": [
{
"match_all": {}
}
],
"filter": [
{
"match_phrase": {
"event.code": "4625"
}
}
],
"must_not": [
{
"term": {
"winlog.event_data.TargetUserName": "*svc"
}
}
]
}
}
Elk_huh
(Brian)
January 5, 2021, 3:49pm
2
Ive tried this too
{
"bool": {
"must": [
{
"match_all": {}
}
],
"filter": [
{
"match_phrase": {
"event.code": "4625"
}
}
],
"must_not": [
{
"regexp": {
"winlog.event_data.TargetUserName": {
"value": "*$"
}
}
}
]
}
}
system
(system)
Closed
February 2, 2021, 3:49pm
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.