Hey Elasticworld,
I'm current Logstash version 7.9 ,I have a encounter a problem in Logstash, in which have a 4 pipeline which are using "JBDC" driver for inserting data into Elasticsearch. **Now I have to add another pipeline through which I could insert the data in Elasticsearch by a "CSV" on a regular basis. **
I have configured the config file it Run perfectly , but I have to Schedule it at once a day at 1 am every day along with other Scheduler which are set on a different time (for example 3 am and 4am) Can anyone help me out, How can I add a Scheduler in the following added config.
I have seen your post regarding this issue.
[type or paste code here](https://discuss.elastic.co/t/scheduling-a-logsatsh-config-file/67831/4)
input {
file {
type => "CSV"
path => "C:\Users\Administrator\Desktop\abc\**.csv"
start_position => "beginning"
sincedb_path => "/dev/null"
close_older =>"10 second"
exit_after_read => true
mode => "read"
}
}
filter {
csv {
separator => ","
}
}
output {
elasticsearch {
hosts => ["http:XXXXXXX:9200"]
index => ["ABC"]
user => "XXXXX"
password =>"XXXXX"
}
stdout {}
}