Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Jmainguy committed Feb 15, 2020
1 parent eac5396 commit f74a765
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,26 @@
# kibanaRefreshFields
Refresh kibana index fields via kibanas API
## Expected variables
I have this setup in my ~/.bashrc, another deployment would be to place this in k8s.
```/bin/bash
export KIBANA_USERNAME=jmainguy
export KIBANA_PASSWORD="supersecret"
export KIBANA_URL=logs-lab.example.com
export KIBANA_INDEX="filebeat-*"
# Optional, if you want to filter out some fields
export KIBANA_FILTER="kubernetes.labels.jenkins"
```

## Usage
```/bin/bash
./kibanaRefreshFields
```

## PreBuilt Binaries
Grab Binaries from [The Releases Page](https://github.com/Jmainguy/kibanaRefreshFields/releases)

## Build
```/bin/bash
export GO111MODULE=on
go build
```

0 comments on commit f74a765

Please sign in to comment.