How to use wildcard in get Index java api


(Rajesh) #1

GET logs-*

To get all the index we using (_all)
java api : esClient.admin().indices().prepareStats().all().get().

But if I want to use wildcard ( logs-* ), I can user Get logs-* in kibana but how to archive this in JAVA api ?

Thanks in advance.


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.