Skip to content

Commit

Permalink
Re-write the import script in golang, to have one script for windows …
Browse files Browse the repository at this point in the history
…and unix systems instead of two scripts (bash

+powershell).

The script imports the dashboards together with visualizations, searches and index pattern for a Beat in Elasticsearch.
The script is added to the Beat package.
  • Loading branch information
monicasarbu committed Aug 17, 2016
1 parent f27145a commit aacfff4
Show file tree
Hide file tree
Showing 9 changed files with 580 additions and 71 deletions.
10 changes: 1 addition & 9 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,6 @@ https://github.com/elastic/beats/compare/v5.0.0-alpha5...master[Check the HEAD d

*Affecting all Beats*

- Periodically log internal metrics. {pull}1955[1955]
- Add enabled setting to all output modules. {pull}1987[1987]
- Command line flag -c can be used multiple times. {pull}1985[1985]
- Add OR/AND/NOT to the condition associated with the processors. {pull}1983[1983]
- Add '-E' CLI flag for overwriting single config options via command line. {pull}1986[1986]
- Choose the mapping template file based on the Elasticsearch version. {pull}1993[1993]
- Check stdout being available when console output is configured. {issue}2035[2035]
- Add enabled setting to packetbeat protocols. {pull}1988[1988]
- Add enabled setting to packetbeat network flows configuration. {pull}1988[1988]
- Add script to generate the Kibana index-pattern from fields.yml. {pull}2122[2122]
- Enhance redis output key selection based on format string. {pull}2169[2169]
- Configurable redis `keys` using filters and format strings. {pull}2169[2169]
Expand All @@ -79,6 +70,7 @@ https://github.com/elastic/beats/compare/v5.0.0-alpha5...master[Check the HEAD d
- Add kafka message timestamp if at least version 0.10 is configured. {pull}2190[2190]
- Enhance contains condition to work on fields that are arrays of strings. {issue}2237[2237]
- Lookup the configuration file relative to the `-path.config` CLI flag. {pull}2245[2245]
- Re-write import_dashboards.sh in Golang. {pull}2155[2155]

*Metricbeat*

Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

BUILD_DIR=build
COVERAGE_DIR=${BUILD_DIR}/coverage
BEATS=packetbeat filebeat winlogbeat metricbeat
Expand Down Expand Up @@ -64,8 +65,8 @@ simplify:
# Collects all dashboards and generates dashboard folder for https://github.com/elastic/beats-dashboards/tree/master/dashboards
.PHONY: beats-dashboards
beats-dashboards:
mkdir -p build
$(foreach var,$(PROJECTS),cp -r $(var)/etc/kibana/ build/dashboards || exit 1;)
mkdir -p build/dashboards
$(foreach var,$(BEATS),cp -r $(var)/etc/kibana/ build/dashboards/$(var) || exit 1;)

# Builds the documents for each beat
.PHONY: docs
Expand Down
1 change: 1 addition & 0 deletions libbeat/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ _output
/docs/html_docs
.vagrant
build
/dashboards/import_dashboards

# Architecture specific extensions/prefixes
*.[568vq]
Expand Down
Loading

0 comments on commit aacfff4

Please sign in to comment.