You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When this happens logstash stops processing the files, i cannot kill logstash with Ctrl+C and i have to kill it with its pid then flush the sincedb file. I also remove the downloaded xml files to prevent them from being inserted twice in elasticsearch when i start logstash again.
When logstash starts again, the files get parsed without problem...
The files are downloaded with a ".xml.dwl" extention to prevent the file input from using them.
The downloaded files are then transformed then moved in the folder the file watches to a ".xml" extension file.
Is it possible that logstash tries to read the XML files while they're not fully moved to the destination, even though they're 40KB max ?
Is it possible to make logstash fails safely and not interrupt the parsing?
I'm currently running logstash 1.4.2
Cheers.
The text was updated successfully, but these errors were encountered:
Hello All,
I'm using logstash to parse XML files downloaded with wget using XPATH to transform it to JSON data.
It sometimes occurs that the xpath parsing fails resulting in a blocking exception :
When this happens logstash stops processing the files, i cannot kill logstash with Ctrl+C and i have to kill it with its pid then flush the sincedb file. I also remove the downloaded xml files to prevent them from being inserted twice in elasticsearch when i start logstash again.
When logstash starts again, the files get parsed without problem...
The files are downloaded with a ".xml.dwl" extention to prevent the file input from using them.
The downloaded files are then transformed then moved in the folder the file watches to a ".xml" extension file.
Is it possible that logstash tries to read the XML files while they're not fully moved to the destination, even though they're 40KB max ?
Is it possible to make logstash fails safely and not interrupt the parsing?
I'm currently running logstash 1.4.2
Cheers.
The text was updated successfully, but these errors were encountered: