Hi,
I was hoping someone can help me get started using the python client form elastic.
Background:
I just upgrades to 8.6 and e python script that reads .watches does not work anymore.
results = es.search(size = 200,index=".watches", body=query)
This is because the . watches index no longer exists and is "replaced" with "/_watcher/_query/watches"
Unfortunately replacing the .watches with _watches does not work. Reading through the very limited documentation Elasticsearch API Reference — Python Elasticsearch client 8.7.0 documentation
it looks like I need " elasticsearch.client.
WatcherClient
"
Does any one got any examples around this or something that can get me started. The examples in de documentation are very limited to say the least.