_script index


(Steve Stevens) #1

I can POST to /_scripts/{name} and I can GET /_scripts/{name}, but I can't seem to find an API to listing all stored scripts, or searching for them.
Is there one?

(Alexander Reelsen) #2


this question might be better in the Elasticsearch forum, as it is not x-pack dependent.

Stored scripts are stored in the cluster state, and can thus be retrieved by accessing the cluster state. As they are not stored in an index they are not searchable either.



(system) #3

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