Skip to content

Instantly share code, notes, and snippets.

View stecog's full-sized avatar

Stefano stecog

View GitHub Profile
@stecog
stecog / logstash-cantaloupe.conf
Last active November 20, 2021 09:11
Logstash cantaloupe pattern
filter {
if [fields][from] == "cantaloupe" {
grok {
match => { "message" => "%{NOTSPACE:date} %{NOTSPACE:time} %{LOGLEVEL:loglevel} %{NOTSPACE:taskid} %{NOTSPACE:class} %{GREEDYDATA:message}" }
add_field => [ "logtype", "cantaloupe" ]
}
}
}