I have successfully running an ELK server on my RHEL6 machine for months now, but it is filling up my HDD very quick now with the indices, so i wanted to start using Curator which seems to do the trick by deleting old indices before my HDD gets full.
So i did a "yum install python-pip" and "pip --version" gives me
After that I did a "pip install elasticsearch-curator", but that didn't go well i'm afraid:
Generally it isn't, but you may run into the same kind of errors.
Since you've already started with pip, you will have to uninstall each of the packages this attempt with pip made before you can attempt the yum install method. This is because the yum install method will be installing python packages in those same locations and they'd collide.
pip uninstall packagename
And you'll have to start with elasticsearch-curator and work your way back through each (though curator may not have been completely installed).
I tried to uninstall the packages, but i received these errors:
[quote][root@havok ~]# pip uninstall elasticsearch-curator
Cannot uninstall requirement elasticsearch-curator, not installed
Storing complete log in /root/.pip/pip.log
[root@havok ~]# pip uninstall click
Cannot uninstall requirement click, not installed
Storing complete log in /root/.pip/pip.log
[root@havok ~]# pip uninstall urllib3
Cannot uninstall requirement urllib3, not installed
Storing complete log in /root/.pip/pip.log
[root@havok ~]# pip uninstall unittest2
Cannot uninstall requirement unittest2, not installed
Storing complete log in /root/.pip/pip.log[/quote]
While i do find the following packages under /tmp/pip-build-root:
click
elastisearch
elasticsearch-curator
unittest2
urllib3
Can i safely delete these? Also i did a "pip install pbr" and it successfully installed it. After that i did a "pip install elasticsearch-curator" and this is the outcome:
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.