Insert into logstash select data from database


(Architha) #1

Hi All,

I have been following the article on inserting select data from database to Logstash by Tal Levy.
(URL: https://www.elastic.co/blog/logstash-jdbc-input-plugin )
My query is can we include multiple query statements(like in a stored Procedure) in the "Statement" in the .conf file.

input {
jdbc{
...
...
statement => "----query statement---"
}

Kindly help. Thanks in advance!


(Mark Walkom) #2

No, it's just the one query.
If you want multiple then you can create multiple input sections.


(system) #3