-
Notifications
You must be signed in to change notification settings - Fork 783
Stack monitoring for Logstash #6436
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
Merged
kaisecheng
merged 69 commits into
elastic:feature/logstash
from
kaisecheng:logstash_stack_monitoring
Mar 22, 2023
Merged
Changes from all commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
99d86cf
Initial Commit of ECK for Logstash
robbavey 11f0f79
Comment out certs for HTTPS for now
robbavey 7414098
Fix up linter issus
robbavey 2304fa3
Generate API docs
robbavey 9459a70
First set of unit tests
robbavey 285c7bf
Fix goimports
robbavey d6e7ef2
Add version check
robbavey 8016b7b
Add e2e tests
robbavey 6eabf4c
Temporarily take out probes
robbavey d4908b7
Revert "Temporarily take out probes"
robbavey b5c775e
Revert "Add e2e tests"
robbavey 33371ad
Fix linter
robbavey 8e6e707
Add logstash config details
robbavey 4afe0de
Fix up typos
robbavey 5f9040f
Revert "Revert "Add e2e tests""
robbavey 803b9ab
Revert "Revert "Temporarily take out probes""
robbavey 0d79bc9
Tidying up
robbavey 4e73a41
Add Logstash to sample and stack tests
robbavey 5713bb4
Added basic logstash verification
robbavey e66b380
Fix readiness probe
robbavey 9fb1e20
Tidy up
robbavey 34c2aca
add stack monitoring
kaisecheng 131f17c
update test
kaisecheng b553970
fix sidecar ES ref namespace
kaisecheng d9f8f90
allow podTemplate update
kaisecheng f31ba83
fix stack monitoring e2e
kaisecheng 7ff0f46
doc and lint
kaisecheng 9cf60b1
lint
kaisecheng d7a587e
fix doc gen
kaisecheng 0b41a42
bring back lint
kaisecheng d96098f
add sample resources for stack monitoring
kaisecheng 8eb21a2
add unit test
kaisecheng a524216
remove useless NamespacedName as metrics API does not take username a…
kaisecheng 86df8fd
remove useless NamespacedName method
kaisecheng 30aa37b
remove irrelevant es ref
kaisecheng 044b2c9
add issues to track log monitoring
kaisecheng 7e38109
add env LOG_STYLE for log monitoring
kaisecheng e0699c5
Merge remote-tracking branch 'upstream/feature/logstash' into logstas…
kaisecheng 149a9b7
lint, doc, generate
kaisecheng b98a36c
update example
kaisecheng 85decbb
add webhook
kaisecheng ee630d2
add todo
kaisecheng 53aa657
Update pkg/controller/logstash/stackmon/sidecar.go
kaisecheng 3f76e57
Update pkg/apis/logstash/v1alpha1/logstash_types.go
kaisecheng 18609b5
Update pkg/controller/logstash/stackmon/sidecar.go
kaisecheng 9ceef2b
ship deprecation log with filebeat
kaisecheng ef6437f
add comments
kaisecheng 9c9c12e
use static log4j2.properties
kaisecheng e4e5d84
rename receiver
kaisecheng fab33db
remove duplicate container name
kaisecheng 60736da
set minimum es version for test
kaisecheng 0fb3299
add doc for log4j2 requirement
kaisecheng 29c66ff
Revert "set minimum es version for test"
kaisecheng b5943a4
set minimum es version for test
kaisecheng 48915cf
- refactor version validation
kaisecheng 9c8c999
Update test/e2e/logstash/stack_monitoring_test.go
kaisecheng 76d8756
Update test/e2e/test/logstash/builder.go
kaisecheng 809b32a
Update test/e2e/test/logstash/builder.go
kaisecheng da2f36e
fix comment
kaisecheng 94e7c75
fix lint and import
kaisecheng 218a1e9
refactor CheckBeatSidecars
kaisecheng 21e3c5b
fix lint
kaisecheng 53ed2df
Update pkg/controller/logstash/driver.go
kaisecheng ea84d94
Update pkg/apis/logstash/v1alpha1/validations.go
kaisecheng 14563e1
Revert "refactor CheckBeatSidecars"
kaisecheng 62463ac
rename CheckBeatSidecars to CheckBeatSidecarsInElasticsearch
kaisecheng 85bc3e2
lint
kaisecheng 44c9afa
add monitoring status check
kaisecheng c9d059b
lint
kaisecheng File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| --- | ||
| apiVersion: elasticsearch.k8s.elastic.co/v1 | ||
| kind: Elasticsearch | ||
| metadata: | ||
| name: monitoring | ||
| spec: | ||
| version: 8.6.1 | ||
| nodeSets: | ||
| - name: default | ||
| count: 1 | ||
| config: | ||
| node.store.allow_mmap: false | ||
| --- | ||
| apiVersion: logstash.k8s.elastic.co/v1alpha1 | ||
| kind: Logstash | ||
| metadata: | ||
| name: logstash-sample | ||
| spec: | ||
| count: 1 | ||
| version: 8.7.0 | ||
| config: | ||
| log.level: info | ||
| api.http.host: "0.0.0.0" | ||
| queue.type: memory | ||
| podTemplate: | ||
| spec: | ||
| containers: | ||
| - name: logstash | ||
| monitoring: | ||
| metrics: | ||
| elasticsearchRefs: | ||
| - name: monitoring | ||
| logs: | ||
| elasticsearchRefs: | ||
| - name: monitoring | ||
| --- | ||
| apiVersion: kibana.k8s.elastic.co/v1 | ||
| kind: Kibana | ||
| metadata: | ||
| name: kibana-sample | ||
| spec: | ||
| version: 8.6.1 | ||
| elasticsearchRef: | ||
| name: monitoring | ||
| count: 1 | ||
| --- | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently, this causes the
TestSamplee2e test to fail, due to the lack of8.7.0docker image for logstash