Is there a way to set marvel to delete the marvel indices after 7 days. It looks like Marvel is generating around 2 GB of data everyday. Our disk got full 2 times because of Marvel data. Is there a way to reduce the amount of data generated by marvel ?
Also is there any plan to add alert mechanisms in Marvel.
For example if the Marvel status goto red it will be good to get an email for a specified user. I see Marvel status as red. But it doesnt show why it is causing red. It will be good to get some alerts with the details when the cluster status goes red.
Is there a way to set marvel to delete the marvel indices after 7 days. It
looks like Marvel is generating around 2 GB of data everyday. Our disk got
full 2 times because of Marvel data. Is there a way to reduce the amount of
data generated by marvel ?
Also is there any plan to add alert mechanisms in Marvel.
For example if the Marvel status goto red it will be good to get an email
for a specified user. I see Marvel status as red. But it doesnt show why it
is causing red. It will be good to get some alerts with the details when
the cluster status goes red.
Ivan's advice is correct. Currently, curator is the way to go. There is
also talk about building an index level TTL in elasticsearch but this is
not reality yet.
As to reducing data - first question is whether your using version 1.1.X of
marvel - this one has greatly reduced the data signature. If not, upgrading
would be the easiest option. O.w. you can also look at the interval
settings in the agent. You can get it up to 30s if you want to.
At the moment there is no alerting built into Marvel. You can use the
marvel data & easily write a nagios script (or similar) to add it to your
monitoring data.
Regarding RED status explanations - working on it - watch for the upcoming
release
Cheers,
Boaz
On Monday, May 12, 2014 10:30:00 PM UTC+2, Ivan Brusic wrote:
Is there a way to set marvel to delete the marvel indices after 7 days. It
looks like Marvel is generating around 2 GB of data everyday. Our disk
got
full 2 times because of Marvel data. Is there a way to reduce the amount
of
data generated by marvel ?
Also is there any plan to add alert mechanisms in Marvel.
For example if the Marvel status goto red it will be good to get an email
for a specified user. I see Marvel status as red. But it doesnt show why
it
is causing red. It will be good to get some alerts with the details when
the cluster status goes red.
Thanks for the responses. I will checkout Curator. I already got the latest version of marvel last week using this command.
bin/plugin -i elasticsearch/marvel/latest
I am getting some warning when I tried to delete the marvel index using
curator.
github]# /usr/lib/python2.6/site-packages/curator/curator.py -d 3 -p
.marvel
2014-05-14T18:07:44.691 INFO main:333 Job
starting...
2014-05-14T18:07:44.692 INFO _new_conn:180 Starting new
HTTP connection (1): localhost
2014-05-14T18:07:44.694 INFO log_request_success:49 GET http://localhost:9200/ [status:200 request:0.003s]
2014-05-14T18:07:44.695 INFO main:359 Deleting
indices older than 3 days...
2014-05-14T18:07:44.698 INFO log_request_success:49 GET http://localhost:9200/.marvel*/_settings?expand_wildcards=closed[status:200
request:0.002s]
2014-05-14T18:07:44.722 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.07
2014-05-14T18:07:44.722 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.08
2014-05-14T18:07:44.722 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.09
2014-05-14T18:07:44.722 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.10
2014-05-14T18:07:44.722 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.11
2014-05-14T18:07:44.723 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.12
2014-05-14T18:07:44.723 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.13
2014-05-14T18:07:44.723 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.14
2014-05-14T18:07:44.723 INFO index_loop:309 DELETE index
operations completed.
2014-05-14T18:07:44.723 INFO main:379 Done in
0:00:00.037963.
[root@node05 github]# ls -ltr
/var/lib/elasticsearch/bigdatadev/nodes/0/indices/.marvel*
/var/lib/elasticsearch/bigdatadev/nodes/0/indices/.marvel-2014.05.10:
total 8
drwxr-xr-x. 2 elasticsearch elasticsearch 4096 May 10 01:00 _state
drwxr-xr-x. 5 elasticsearch elasticsearch 4096 May 10 01:00 0
Thanks for the responses. I will checkout Curator. I already got the
latest version of marvel last week using this command.
bin/plugin -i elasticsearch/marvel/latest
Thanks, Deepak
If you reply to this email, your message will be added to the discussion
below:
Can you try the command with a hyphen at the end -
/usr/lib/python2.6/site-packages/curator/curator.py -d 3 -p .marvel-
For some reason, curator doesn't match the marvel indices when using
".marvel" as the prefix.
Regards,
On Thursday, May 15, 2014 1:14:14 AM UTC+8, Deepak Subhramanian wrote:
Hi Ivan/Boaz,
I am getting some warning when I tried to delete the marvel index using
curator.
github]# /usr/lib/python2.6/site-packages/curator/curator.py -d 3 -p
.marvel
2014-05-14T18:07:44.691 INFO main:333 Job
starting...
2014-05-14T18:07:44.692 INFO _new_conn:180 Starting new
HTTP connection (1): localhost
2014-05-14T18:07:44.694 INFO log_request_success:49 GET http://localhost:9200/ [status:200 request:0.003s]
2014-05-14T18:07:44.695 INFO main:359 Deleting
indices older than 3 days...
2014-05-14T18:07:44.698 INFO log_request_success:49 GET http://localhost:9200/.marvel*/_settings?expand_wildcards=closed[status:200 request:0.002s]
2014-05-14T18:07:44.722 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.07
2014-05-14T18:07:44.722 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.08
2014-05-14T18:07:44.722 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.09
2014-05-14T18:07:44.722 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.10
2014-05-14T18:07:44.722 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.11
2014-05-14T18:07:44.723 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.12
2014-05-14T18:07:44.723 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.13
2014-05-14T18:07:44.723 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.14
2014-05-14T18:07:44.723 INFO index_loop:309 DELETE index
operations completed.
2014-05-14T18:07:44.723 INFO main:379 Done in
0:00:00.037963.
[root@node05 github]# ls -ltr
/var/lib/elasticsearch/bigdatadev/nodes/0/indices/.marvel*
/var/lib/elasticsearch/bigdatadev/nodes/0/indices/.marvel-2014.05.10:
total 8
drwxr-xr-x. 2 elasticsearch elasticsearch 4096 May 10 01:00 _state
drwxr-xr-x. 5 elasticsearch elasticsearch 4096 May 10 01:00 0
Thanks for the responses. I will checkout Curator. I already got the
latest version of marvel last week using this command.
bin/plugin -i elasticsearch/marvel/latest
Thanks, Deepak
If you reply to this email, your message will be added to the
discussion below:
Can you try the command with a hyphen at the end -
/usr/lib/python2.6/site-packages/curator/curator.py -d 3 -p .marvel-
For some reason, curator doesn't match the marvel indices when using
".marvel" as the prefix.
Regards,
On Thursday, May 15, 2014 1:14:14 AM UTC+8, Deepak Subhramanian wrote:
Hi Ivan/Boaz,
I am getting some warning when I tried to delete the marvel index using
curator.
github]# /usr/lib/python2.6/site-packages/curator/curator.py -d 3 -p
.marvel
2014-05-14T18:07:44.691 INFO main:333 Job
starting...
2014-05-14T18:07:44.692 INFO _new_conn:180 Starting
new HTTP connection (1): localhost
2014-05-14T18:07:44.694 INFO log_request_success:49 GET http://localhost:9200/ [status:200 request:0.003s]
2014-05-14T18:07:44.695 INFO main:359 Deleting
indices older than 3 days...
2014-05-14T18:07:44.698 INFO log_request_success:49 GET http://localhost:9200/.marvel*/_settings?expand_wildcards=closed
[status:200 request:0.002s]
2014-05-14T18:07:44.722 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.07
2014-05-14T18:07:44.722 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.08
2014-05-14T18:07:44.722 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.09
2014-05-14T18:07:44.722 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.10
2014-05-14T18:07:44.722 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.11
2014-05-14T18:07:44.723 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.12
2014-05-14T18:07:44.723 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.13
2014-05-14T18:07:44.723 ERROR find_expired_indices:201 Could not
find a valid timestamp from the index: .marvel-2014.05.14
2014-05-14T18:07:44.723 INFO index_loop:309 DELETE
index operations completed.
2014-05-14T18:07:44.723 INFO main:379 Done in
0:00:00.037963.
[root@node05 github]# ls -ltr /var/lib/elasticsearch/
bigdatadev/nodes/0/indices/.marvel*
/var/lib/elasticsearch/bigdatadev/nodes/0/indices/.marvel-2014.05.10:
total 8
drwxr-xr-x. 2 elasticsearch elasticsearch 4096 May 10 01:00 _state
drwxr-xr-x. 5 elasticsearch elasticsearch 4096 May 10 01:00 0
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.