Logsandra is a project based around log storage in Cassandra. Logsandra is a project that provides a set of tools to parse logs, store them in Cassandra in a searchable fashion, and search for or graph the occurrence of keywords in logs. Logsandra includes two processes. The first parses logs and stores them in Cassandra. The second runs a web server that allows you to search for occurrences of keywords in logs or graph their frequency.
Logsandra needs a running instance of Cassandra to connect to and store data. This recipe also requires Python and the Python installer pip
.
$ yum install python python-pip
Obtain a copy of the Logsandra source code using
git
and install Logsandra's dependencies usingpip
.$ git clone git://github.com/thobbs/logsandra.git $ cd logsandra
Elevate to root to install the requirements and then drop back to a standard user.
$ su # cat requirements.txt | xargs pip-python install # python setup.py...