How can I list existing search templates?


(Da Tao) #1

I have created a search template in ElasticSearch, however unfortunately I forget its name so I am trying to retrieve it.

I tried the following ways:

  • GET /_search/template .
    This gives everything in ES.
  • GET /.script/_search
    It is from this post, but it is not working.

Can someone please help me? Thanks!


(Mark Walkom) #2

What version are you on?


(Da Tao) #3

I am on Elastic Cloud, using 2.3.1 now.


(system) #4

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