Hi,
I have a logstash configuration as below. I'm expecting the json file is moved to archive path when reading is completed, but the json file is always there, and archive path is empty. Do I miss out anything in configuration?
input{
file {
mode => "read"
path => ["c:/EDM/tools/dremio_dashboard/sys_jobs_recent.json"]
file_completed_action => "log_and_delete"
file_completed_log_path => "c:/EDM/tools/dremio_dashboard/archive"
sincedb_clean_after => "1 day"
start_position => "beginning"
stat_interval => "1 hour"
codec => json
}
}
filter {
}
output {
stdout {
codec => rubydebug {}
}
elasticsearch {
hosts => ["http://localhost:9200"]
index => "dremio_sys_jobs_recent"
ilm_enabled => "true"
ilm_rollover_alias => "dremio_sys_jobs_data"
ilm_policy => "dremio_policy"
}
}