List ism policies

Is there a easy way to list all the policies that are added to the cluster,

Hey @jathin12,

We don’t have an API for GET policies as of now, but will add one in the future.
In the meantime you can query the index itself like this:

GET .opendistro-ism-config/_search
  "size": 10,
  "query": {
    "exists": {
      "field": "policy"
1 Like

this worked for me. thank you