Can i use two inputs in the config file? HTTP and File?
Yes you can use multiple inputs
input {
beats {
port => 5044
}
file {
path => "/tmp/access_log"
start_position => "beginning"
}
http {
port => 5043
}
}
filter {}
output {
elasticsearch {
hosts => ["http://0.0.0.0:9200"]
index => "%{[@metadata][indexname]}-%{+YYYY.MM.dd}"
}
}
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.