Logstash taking so much time to index MySQL query

Hi ALL,

I have a simple sql query with 3 joins. i am trying to index those results in ES via Logstash.

i created a view and try to index it. I was following up until one hour and I left whole night. but then it indexed.

now i am trying to use the query instead of view. I still have the same issue. it's been more than hour and still pipeline is running.

FYI - database is MySQL and the data will be around 10 k records with 30 columns. this is the sample data set.

the actual goal is to index 14 MySQL tables in a single index and the data will be around 15 k records.

please suggest.

thanks in advance