logour

command module
v0.0.0-...-3bf1fce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2020 License: MIT Imports: 19 Imported by: 0

README

Logour

Go Report Card

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL