Created
October 31, 2019 16:38
-
-
Save dlee35/e42a93890cff5dd63e78e529e18ab644 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filter { | |
if "autorunstowin" in [tags] { | |
kv { | |
prefix => "[event_data]" | |
remove_char_key => "\ " | |
transform_key => "lowercase" | |
field_split => "\n" | |
value_split => ":" | |
} | |
mutate { | |
replace => { "type" => "autoruns" } | |
} | |
mutate { | |
rename => { "[beat][hostname]" => "hostname" } | |
rename => { "[event_data][category]" => "category" } | |
rename => { "[event_data][company]" => "company" } | |
rename => { "[event_data][entry]" => "entry" } | |
rename => { "[event_data][entrylocation]" => "entry_location" } | |
rename => { "[event_data][imagepath]" => "image_path" } | |
rename => { "[event_data][launchstring]" => "launch_string" } | |
rename => { "[event_data][profile]" => "profile" } | |
rename => { "[event_data][signer]" => "signer" } | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment