ORDER BY in SQL query for Logstash JDBC Input


(Architha) #1

Hi All,

When Order by is used in the SQL Query we give as a JDBC input to Logstash , will the order be maintained as we have mentioned in the query ? As of now i see that the document is ordered according to my query but i'm doubtful if it happens this way always .
Kindly Clarify .
Thanks in Advance!


(Magnus B├Ąck) #2

Maintained where, after the documents end up in Elasticsearch? No, you can't rely on any order there.


(Architha) #3

Yes , maintained after documents are on Elastic Search.
Thanks for the quick reply !


(system) #4