I have two files that I input in logstash using the file plugin
Is there a way that the first file is parsed first?
input {
file {
path => "abc.txt"
type => "first"
}
file {
path => "xyz.txt"
type => "second"
}
}
filter {
if [type] == "first" {
# Filters that I want to run first
}
if [type] == "second" {
# Filters that I want to run after first
}
}