hello everyone
i have a log in which i have to parse some informations
i have did 7 patterns (7 config files )
and i have to stock this informations in elasticsearch
well when i use logstash to run each config file
it works !
but when i use the directory path
to run them all at the same time does not work!
could ypu please help me
an example of a config file
input {
file {
path => ["C:/Users/THINKPAD/Downloads/logstash-6.2.2/essai/."]
}
}
filter {
grok {
match => { "message"=> "%{TIMESTAMP_ISO8601:timestamp}%{GREEDYDATA:message1}\s+of\s%{NOTSPACE:nom_job}%{GREEDYDATA:statut}\s+executed\sin\s%{GREEDYDATA:duration}"}
}
if "_grokparsefailure" in [tags] {
drop {}
}
}
output {
elasticsearch { hosts => ["localhost:9200"]
index=>"conversion"}
stdout {
codec => rubydebug
}
}