Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/csiro-enviro-informatics/snap
- Owner: CSIRO-enviro-informatics
- Created: 2018-07-20T01:33:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-20T02:02:11.000Z (over 6 years ago)
- Last Synced: 2024-11-19T00:45:15.572Z (3 months ago)
- Topics: analytics, elasticsearch, slack
- Language: Shell
- Size: 2.93 KB
- Stars: 2
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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