Logour
Http log collector backed by Apache Cassandra/ScyllaDB
Building
** Make sure dep is installed
Then build with make build
.
Under the hood, this command will clean, install dependencies, test and build the binary
Database
You have to setup the database with the scripts from /scripts
and expose port 9042
How to test
Just run make test
How to Run
Make sure database is up and running
Environment variables needed:
HTTP_PORT
defaults to 8080
DATABASE_HOSTS
defaults to localhost
DATABASE_KEYSPACE
defaults to logour
SLACK_HOOK_URL
omit to disable the notification feature
SLACK_NOTIFY_TYPES
comma separated values defining what event types should be span a notification. Defaults to ERROR
Build the binary then run with ./logour