Run query to database query eql config