Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic merge from master to 6.x branch #5452

Merged
merged 28 commits into from
Oct 26, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
7842f73
Fix http status phrase parsing not allow spaces (#4795) (#5312)
Oct 12, 2017
5261079
metricbeat: add more node metrics in elasticseach module (#5320)
wangdisdu Oct 12, 2017
6041327
Scan files at startup for Auditbeat file integrity module (#5344)
andrewkroh Oct 12, 2017
f52ae06
Add modules.d info to metricbeat docs (#5270)
dedemorton Oct 12, 2017
79f4487
Support defining a `host` key in the headers (#5373)
ph Oct 12, 2017
5fee5af
Make loading tls certificates functions public (#5388)
Oct 12, 2017
d7b4d4f
update to gosigar v0.5.0 (#5385)
ph Oct 12, 2017
5c51448
Add permissions configuration for file output (#4638)
Jul 7, 2017
01a9e43
Modify generator to get version to generate passed (#5352)
ruflin Oct 13, 2017
fd5a7f5
Update generation of data.json files (#5384)
ruflin Oct 13, 2017
7737b57
Support SHA3 hash algorithm family (#5345) (#5346)
Oct 13, 2017
2888525
Added KrakenBeat (#5393)
PPACI Oct 13, 2017
aebd47b
Disable command line flags for module reloading (#5381)
ruflin Oct 16, 2017
b2e9027
Make some fields to be optional for postgresql activity module (#5398)
Oct 16, 2017
3add505
Add etcd module (#4970) (#5176)
berfinsari Oct 17, 2017
0bd6c4a
Include selector in DEBUG log (#5380)
Oct 17, 2017
21eefda
Add kubernetes manifests (#5349)
exekias Oct 18, 2017
65ea8cf
Fixing mapping errors asscociated with mlockall (#5406)
simianhacker Oct 18, 2017
0c0b5ca
Fix sha512 check (#5420)
tsg Oct 23, 2017
f40b49a
Fix chown timing issues on k8s deploy (#5410)
exekias Oct 23, 2017
27a2f2d
Determine log level for kafka output (#5397)
mrauter Oct 24, 2017
0b5e2d9
Publish kubernetes manifests in the code (#5418)
exekias Oct 24, 2017
d1dfc7e
Fix data race in mockbeat (#5037) (#5426)
adriansr Oct 24, 2017
5541503
Fix tags type to []interface{} in event (#5395)
Oct 25, 2017
276d695
Add more context and examples to Filebeat module docs (#5341)
dedemorton Oct 25, 2017
2853d44
Fix double @timestamp key when using JSON decoding (#5436) (#5444)
tsg Oct 26, 2017
912455a
Add ip address of containers to event (#5379)
Oct 26, 2017
68b3461
Fix VSphere config yml (#5416)
sitaramshelke Oct 26, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*.generated.yml
coverage.out
.python-version
beat.db

# Editor swap files
*.swp
Expand Down
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ env:
- GOX_FLAGS="-arch amd64"
- DOCKER_COMPOSE_VERSION=1.11.1
- GO_VERSION="$(cat .go-version)"
- TRAVIS_ETCD_VERSION=v3.2.8

jobs:
include:
Expand Down Expand Up @@ -95,6 +96,26 @@ jobs:
go: $GO_VERSION
stage: test

# Kubernetes
- os: linux
install: deploy/kubernetes/.travis/setup.sh
env:
- TARGETS="-C deploy/kubernetes test"
- TRAVIS_KUBE_VERSION=v1.6.11
stage: test
- os: linux
install: deploy/kubernetes/.travis/setup.sh
env:
- TARGETS="-C deploy/kubernetes test"
- TRAVIS_KUBE_VERSION=v1.7.7
stage: test
- os: linux
install: deploy/kubernetes/.travis/setup.sh
env:
- TARGETS="-C deploy/kubernetes test"
- TRAVIS_KUBE_VERSION=v1.8.0
stage: test

addons:
apt:
packages:
Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ https://github.com/elastic/beats/compare/v6.0.0-beta2...master[Check the HEAD di

*Affecting all Beats*

- Determine log level for kafka output. {pull}5397[5397]

*Auditbeat*

*Filebeat*
Expand All @@ -22,6 +24,9 @@ https://github.com/elastic/beats/compare/v6.0.0-beta2...master[Check the HEAD di

*Metricbeat*

- Rename `heap_init` field to `heap.init`. {pull}5320[5320]


*Packetbeat*

- Remove not-working `runoptions.uid` and `runoptions.gid` options in Packetbeat. {pull}5261[5261]
Expand All @@ -35,12 +40,15 @@ https://github.com/elastic/beats/compare/v6.0.0-beta2...master[Check the HEAD di
- Fix data race accessing watched containers. {issue}5147[5147]
- Remove ID() from Runner interface {issue}5153[5153]
- Do not require template if index change and template disabled {pull}5319[5319]
- Correctly send configured `Host` header to the remote server. {issue}4842[4842]

*Auditbeat*

*Filebeat*

- Fix default paths for redis 4.0.1 logs on macOS {pull}5173[5173]
- Fix Filebeat not starting if command line and modules configs are used together. {issue}5376[5376]
- Add support for adding string tags {pull}5395{5395}

*Heartbeat*

Expand All @@ -49,9 +57,12 @@ https://github.com/elastic/beats/compare/v6.0.0-beta2...master[Check the HEAD di
- Change field type of http header from nested to object {pull}5258[5258]
- Use `beat.name` instead of `beat.hostname` in the Host Overview dashboard. {pull}5340[5340]
- Fix the loading of 5.x dashboards. {issue}5277[5277]
- Fix the fetching of process information when some data is missing under MacOS X. {issue}5337[5337]

*Packetbeat*

- Fix http status phrase parsing not allow spaces. {pull}5312[5312]

*Winlogbeat*

==== Added
Expand All @@ -64,16 +75,20 @@ https://github.com/elastic/beats/compare/v6.0.0-beta2...master[Check the HEAD di
- Fix reloader error message to only print on actual error {pull}5066[5066]
- Add support for enabling TLS renegotiation. {issue}4386[4386]
- Add Azure VM support for add_cloud_metadata processor {pull}5355[5355]
- Add `output.file.permission` config option. {pull}4638[4638]

*Auditbeat*

- Add support for SHA3 hash algorithms to the file integrity module. {issue}5345[5345]

*Filebeat*

- Add PostgreSQL module with slowlog support. {pull}4763[4763]
- Add Kafka log module. {pull}4885[4885]
- Add support for `/var/log/containers/` log path in `add_kubernetes_metadata` processor. {pull}4981[4981]
- Remove error log from runnerfactory as error is returned by API. {pull}5085[5085]
- Remove error log from runnerfactory as error is returned by API. {pull}5085[5085]
- Add Kubernetes manifests to deploy Filebeat. {pull}5349[5349]

*Heartbeat*

Expand All @@ -86,6 +101,9 @@ https://github.com/elastic/beats/compare/v6.0.0-beta2...master[Check the HEAD di
- Add experimental `queue` metricset to RabbitMQ module. {pull}4788[4788]
- Add additional php-fpm pool status kpis for Metricbeat module {pull}5287[5287]
- Auto-select a hostname (based on the host on which the Beat is running) in the Host Overview dashboard. {pull}5340[5340]
- Add Kubernetes manifests to deploy Metricbeat. {pull}5349[5349]
- Add etcd module. {issue}4970[4970]
- Add ip address of docker containers to event. {pull}5379[5379]

*Packetbeat*

Expand Down
20 changes: 17 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ REVIEWDOG_REPO=github.com/haya14busa/reviewdog/cmd/reviewdog
# Runs complete testsuites (unit, system, integration) for all beats with coverage and race detection.
# Also it builds the docs and the generators

.PHONY: setup-commit-hook
.PHONY: setup-commit-hook
setup-commit-hook:
@cp script/pre_commit.sh .git/hooks/pre-commit
@chmod 751 .git/hooks/pre-commit
Expand Down Expand Up @@ -50,6 +50,7 @@ coverage-report:
.PHONY: update
update: notice
@$(foreach var,$(PROJECTS),$(MAKE) -C $(var) update || exit 1;)
@$(MAKE) -C deploy/kubernetes all

.PHONY: clean
clean:
Expand Down Expand Up @@ -105,18 +106,24 @@ docs:
sh ./script/build_docs.sh dev-guide github.com/elastic/beats/docs/devguide ${BUILD_DIR}

.PHONY: package
package: update beats-dashboards
package: update beats-dashboards kubernetes-manifests
@$(foreach var,$(BEATS),SNAPSHOT=$(SNAPSHOT) $(MAKE) -C $(var) package || exit 1;)

@echo "Start building the dashboards package"
@mkdir -p build/upload/
@BUILD_DIR=${BUILD_DIR} SNAPSHOT=$(SNAPSHOT) $(MAKE) -C dev-tools/packer package-dashboards ${BUILD_DIR}/upload/build_id.txt
@mv build/upload build/dashboards-upload

@echo "Start building kubernetes manifests"
@mkdir -p build/upload/
@BUILD_DIR=${BUILD_DIR} SNAPSHOT=$(SNAPSHOT) $(MAKE) -C dev-tools/packer package-kubernetes ${BUILD_DIR}/upload/build_id.txt
@mv build/upload build/kubernetes-upload

@# Copy build files over to top build directory
@mkdir -p build/upload/
@$(foreach var,$(BEATS),cp -r $(var)/build/upload/ build/upload/$(var) || exit 1;)
@cp -r build/dashboards-upload build/upload/dashboards
@cp -r build/kubernetes-upload build/upload/kubernetes
@# Run tests on the generated packages.
@go test ./dev-tools/package_test.go -files "${BUILD_DIR}/upload/*/*"

Expand Down Expand Up @@ -149,6 +156,13 @@ python-env:
@$(PYTHON_ENV)/bin/pip install -q --upgrade pip autopep8 six

# Tests if apm works with the current code
.PHONY: python-env
.PHONY: test-apm
test-apm:
sh ./script/test_apm.sh

# Build kubernetes manifests
.PHONY: kubernetes-manifests
kubernetes-manifests:
@mkdir -p build/kubernetes
$(MAKE) -C deploy/kubernetes all
cp deploy/kubernetes/*.yaml build/kubernetes
Loading