Hi,
there is an index in my elastic search which i want to close and subsequently delete.
The index created is with name falog-%{[time_stamp]}
I tried to execute the curl like
curl -XPOST 'http://localhost:9200/falog-%{[time_stamp]}/_close'
it gave the error curl: (3) [globbing] nested braces not supported at pos 31
i tried with
curl -XPOST -g 'http://localhost:9200/falog-%{[time_stamp]}/_close'
It gave me the error {"error":"IllegalArgumentException[invalid escape sequence `%{[' at index 6 of: falog-%{[time_stamp]}]","status":500}
Could you please suggest how can i close and hence delete the index.