Add fields to logstash based off of filebeat data
问题 So, I have a hostname that is being set by filebeat (and I've written a regex that should grab it), but the following isn't adding fields the way that I think it should.. grok{ patterns_dir => "/config/patterns" match =>{ "beat.hostname" => ["%{INSTALLATION}-%{DOMAIN}-%{SERVICE}"] } add_field => { "[installation]" => "%{INSTALLATION}"} add_field => { "[domain]" => "%{DOMAIN}"} add_field => { "[service]" => "%{SERVICE}"} } I can't seem to access beat.hostname, hostname, host or anything like