If you are ever having trouble with elasticsearch on Automate…. Assume the license expired, then go look over here for these two files. Get rid of them if you see them and have already refreshed the license so that it is valid.
On a working Automate system, you should be able to do the following and get a reasonable list of indices
curl -s -k 'http://localhost:8080/elasticsearch/_cat/indices'