Hello, there.
I'm making some automated requests using elasticsearch-py. Those requests take some times but after a while (around 30 minutes) the search task doesn't exist anymore, while the same query using Kibana's console, complete in a less time (maybe because the data it's "fresh").
Running the same script again (with elasticsearch-py) we can get the same data from Kibana, in other words, we can only succesfully gets data only after running the query on Kibana.
Can anyone give me any suggestions how to solve this or why this is happening, please?