https://github.com/estesp/elastistack
Import Golang stack trace data into Elasticsearch
https://github.com/estesp/elastistack
Last synced: 8 months ago
JSON representation
Import Golang stack trace data into Elasticsearch
- Host: GitHub
- URL: https://github.com/estesp/elastistack
- Owner: estesp
- License: apache-2.0
- Created: 2016-05-24T21:07:26.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-14T15:09:10.000Z (over 9 years ago)
- Last Synced: 2024-06-20T02:07:48.719Z (almost 2 years ago)
- Language: Go
- Size: 275 KB
- Stars: 27
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Elastistack
A simple tool for taking Golang stack trace data and pushing it as structured text into Elasticsearch.
### Usage
```
Given a textual Golang stack trace, the import
command will parse the input file and insert the stack
trace data into Elasticsearch for further analysis.
Usage:
elastistack import [flags]
Flags:
-e, --host string Hostname for Elasticsearch endpoint (default "localhost")
-i, --input string Input filename containing Golang stack trace data
-p, --port int Port for Elasticsearch endpoint (default 9200)
Global Flags:
--log-level string set the logging level (info,warn,err,debug) (default "warn")
```
### A Full Example
See more details on how I use `elastistack` in this [blog post](https://integratedcode.us/2016/05/25/taming-the-golang-stack-trace/)