-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |