Hi, I am currently into Elasticsearch.
I created a filter inside logstash.conf to extract several fields from log message.
File path:
/usr/share/logstash/pipeline/logstash.conf:
Configuration:
input {
beats {
port => 5044
}
}
filter {
if [container][name] =~ "docker-elk" or [container][name] =~ "docker-jenkins" or [container][name] =~ "rabbitmq" {
drop { }
}
dissect {
mapping => { "message" => "%{?ts} %{log_level} %{component_name} %{guid} %{msg}" }
}
}
output {
elasticsearch {
hosts => "elasticsearch:9200"
manage_template => false
index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
}
stdout { codec => rubydebug }
}
The fields are available on the discover page.

However , I cannot search those fields on "Dashboard" page when trying to create a new visualisation diagram from those fields.
What should I do to have the fields available when I want to create a new visualisation diagram?



