Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/csiro-enviro-informatics/snap

Analytics on Slack with Elastic Search and Kibana
https://github.com/csiro-enviro-informatics/snap

analytics elasticsearch slack

Last synced: 22 days ago
JSON representation

Analytics on Slack with Elastic Search and Kibana

Awesome Lists containing this project

README

        

# snap - Analytics on Slack with Elastic Search and Kibana

## Requires

docker, docker-compose, jq

## Use

`docker-compose up -d`
check that kibana looks alright at `localhost:5601`
Put slack channel json dump into a subdirectory like channel name e.g "general"
Go into subdirectory create `processed` subdirectory e.g you end up with something like "general/processed"
From the first subdirectory e.g "general" Run `../process.sh [SOME INDEX NAME TO CREATE]`
Got into processed subdirectory eg. "general/processed" Run `../../upload.sh`

## Trouble

Elastic container may exit with code 78 and error in `docker-compose logs elasticsearch` like "max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]"
fixed by running `sudo sysctl -w vm.max_map_count=262144` on host