How to know if my curator instance is running fine?


(Guillaume boufflers) #1

Hello buds !

I've installed Elasticsearch, Logstash and Kibana lately ..
I've been playing with those tools for a couple of days now and it's been
so cool, great tool !
Now that i've got data in my elasticsearch base, i'd like to remove the
indexes that are older than an hour.
I made some searches on the web and i found the curator tool. seems great.
I did follow the instructions on the github webpage.
This is the command i ran :

curator --host 192.168.1.12 --port 9200 -T hours -d 1

And Here is the output :

2014-05-15T15:34:44.412 INFO main:333 Job starting
...

2014-05-15T15:34:44.413 INFO _new_conn:180 Starting newHTTP connection
(1): 192.168.1.12

2014-05-15T15:34:44.415 INFO log_request_success:49 GET http://192.168.1.12:9200/
[status:200 request:0.002s]

2014-05-15T15:34:44.416 INFO main:359 Deletingindices older than
1 hours...

2014-05-15T15:34:44.418 INFO log_request_success:49 GET http://192.168.1.12:9200/logstash-*/_settings?expand_wildcards=closed
[status:200 request:0.001s]

2014-05-15T15:34:44.418 INFO index_loop:309 DELETE index
operations completed.

2014-05-15T15:34:44.419 INFO main:379 Done in 0:00:
00.010193.

Seems pretty good in fact but the problem (or not) is that i don't see any
difference in my Kibana monitor, i'm still seeing graph from this morning,

i was just wondering if this was a normal behavior or if i did something
wrong with the command i ran.

Is there a way to concretely see if my curator instance is doing the job
just fine ?

Thank you for reading and helping.
Regards, Guillaume.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d01beb3e-c35d-439b-bb18-44b3a5c57557%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Aaron Mildenstein) #2

Sorry this never got responded to. Unless your indices are hourly, and in
a format that curator recognizes, it will not delete anything.

What are your index names, or your naming schema?

--Aaron

On Thursday, May 15, 2014 8:49:00 AM UTC-5, Guillaume boufflers wrote:

Hello buds !

I've installed Elasticsearch, Logstash and Kibana lately ..
I've been playing with those tools for a couple of days now and it's been
so cool, great tool !
Now that i've got data in my elasticsearch base, i'd like to remove the
indexes that are older than an hour.
I made some searches on the web and i found the curator tool. seems great.
I did follow the instructions on the github webpage.
This is the command i ran :

curator --host 192.168.1.12 --port 9200 -T hours -d 1

And Here is the output :

2014-05-15T15:34:44.412 INFO main:333 Job starting
...

2014-05-15T15:34:44.413 INFO _new_conn:180 Starting new
HTTP connection (1): 192.168.1.12

2014-05-15T15:34:44.415 INFO log_request_success:49 GET http://
192.168.1.12:9200/ [status:200 request:0.002s]

2014-05-15T15:34:44.416 INFO main:359 Deleting
indices older than 1 hours...

2014-05-15T15:34:44.418 INFO log_request_success:49 GET http://
192.168.1.12:9200/logstash-*/_settings?expand_wildcards=closed
[status:200 request:0.001s]

2014-05-15T15:34:44.418 INFO index_loop:309 DELETE
index operations completed.

2014-05-15T15:34:44.419 INFO main:379 Done in 0:00
:00.010193.

Seems pretty good in fact but the problem (or not) is that i don't see any
difference in my Kibana monitor, i'm still seeing graph from this morning,

i was just wondering if this was a normal behavior or if i did something
wrong with the command i ran.

Is there a way to concretely see if my curator instance is doing the job
just fine ?

Thank you for reading and helping.
Regards, Guillaume.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9d09a722-f49a-4ca9-824d-cc68ee65d59b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3