Hello,
i am trying to create index name same as filename from source but it doesn't seem to work, here's my logstash config file :
input {
beats{
port=> 5044
}
}
filter {
grok {
match => ["source",".*\\%{GREEDYDATA:app_name}"]
}
}
output {
stdout {
codec => rubydebug
}
elasticsearch {
hosts => ["localhost:9200"]
index => "%{app_name}"
}
}
