Hi,
is it possible to use SQL operations like UPDATE or DELETE in statement parameter of Logstash JDBC input plugin? Or only SELECT operation is enabled?
Regads,
Vasek
Hi,
is it possible to use SQL operations like UPDATE or DELETE in statement parameter of Logstash JDBC input plugin? Or only SELECT operation is enabled?
Regads,
Vasek
I found out that it is possible:
statement => "UPDATE logs SET marked_by_logstash = true WHERE marked_by_logstash = false"
statement => "DELETE FROM logs WHERE marked_by_logstash = true"
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.