-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
input {
file {
path => "/path/to/your/vmware/logfile.log"
start_position => "beginning"
}
}
filter {
grok {
match => { "message" => "%{TIMESTAMP_ISO8601:vmware_timestamp} %{GREEDYDATA:vmware_message}" }
}
mutate {
add_field => {
"CEFVersion" => "0"
"DeviceVendor" => "VMware"
"DeviceProduct" => "YourVMwareProduct"
"DeviceVersion" => "YourVMwareVersion"
"DeviceEventClassId" => "YourVMwareEventID"
"Name" => "%{vmware_message}"
"Severity" => "Unknown" # Assuming a default value, you can change it according to your needs.
}
replace => { "message" => "CEF:%{CEFVersion}|%{DeviceVendor}|%{DeviceProduct}|%{DeviceVersion}|%{DeviceEventClassId}|%{Name}|%{Severity}|rt=%{vmware_timestamp}" }
}
}
output {
file {
path => "/path/to/output/file"
}
}
Metadata
Metadata
Assignees
Labels
No labels