Deleting an index


(W0lverine) #1

I use the command:

curl -XDELETE 'http://lcoalhost:9200/logstash-2016.02.12/'

to delete my index and all I back is a new line without my file path and it does not delete my index. Any suggestionsI feel like this is an easy fix.

Resource:https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-delete-index.html

UPDATE: using the --debug after about 3-5 minutes I get the folllowing back:

url: (7) Failed to connect to lcoalhost port 9200: Connection timed out

But my elasticsearch is running.


(David Pilato) #2

Typo: use localhost


(system) #3