Hello gentlemen.
I have 2 pipelines running by my LOGSTASH.
the first input FILE pipeline is running normally and processing .csv data
the second pipeline of input type Elasticsearch it runs only the first time, then it has finished status.
How do I make this second pipeline of the input type Elasticsearch run in certain periods automatically by LOGSTASH?
input {
elasticsearch {
hosts => ["xxx.xxx.xxx.xxx"]
index => "dados-csv"
query => '{
"_source": ["Box or Label","Scan Time","Uid Value"],
"query": {
"range": {
"@timestamp": {
"gte": "now-22h/h",
"lt": "now/d"
}
}
}
}'
user => "*****"
password => "12345678"
ssl => false
size => 1000
scroll => "5m"
docinfo => true
}
}
filter {
}
output {
elasticsearch {
}
}