-
Notifications
You must be signed in to change notification settings - Fork 134
Allow to run Elastic stack with other licenses #2501
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
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
9c4eb3c
Add new profile setting for elastic subscription
mrodm b67ad61
Check supported Elastic subscriptions
mrodm 83df049
Add CI steps to validate basic license
mrodm 7fd0b22
Fix errors in apache_basic_license package
mrodm 5822f7d
Update test stack command to check other licenses
mrodm 5b21eb5
Add missing test stack check for agent self monitor
mrodm 5798ee3
Fix default value
mrodm 9bc501b
Test also default subscription
mrodm dc389c6
Add description about trial subscription
mrodm 3bdf337
Rename license to be subscription
mrodm 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
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
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
1 change: 1 addition & 0 deletions
1
test/packages/parallel/apache_basic_license.stack_provider_settings
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 @@ | ||
| stack.elastic_subscription=basic |
3 changes: 3 additions & 0 deletions
3
test/packages/parallel/apache_basic_license/_dev/build/build.yml
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,3 @@ | ||
| dependencies: | ||
| ecs: | ||
| reference: git@8.1 |
34 changes: 34 additions & 0 deletions
34
test/packages/parallel/apache_basic_license/_dev/build/docs/README.md
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,34 @@ | ||
| # Apache Integration | ||
|
|
||
| This integration periodically fetches metrics from [Apache](https://httpd.apache.org/) servers. It can parse access and error | ||
| logs created by the Apache server. | ||
|
|
||
| ## Compatibility | ||
|
|
||
| The Apache datasets were tested with Apache 2.4.12 and 2.4.46 and are expected to work with | ||
| all versions >= 2.2.31 and >= 2.4.16 (independent from operating system). | ||
|
|
||
| ## Logs | ||
|
|
||
| ### Access Logs | ||
|
|
||
| Access logs collects the Apache access logs. | ||
|
|
||
| {{fields "access"}} | ||
|
|
||
| ### Error Logs | ||
|
|
||
| Error logs collects the Apache error logs. | ||
|
|
||
| {{fields "error"}} | ||
|
|
||
| ## Metrics | ||
|
|
||
| ### Status Metrics | ||
|
|
||
| The server status stream collects data from the Apache Status module. It scrapes the status data from the web page | ||
| generated by the `mod_status` module. | ||
|
|
||
| {{event "status"}} | ||
|
|
||
| {{fields "status"}} |
6 changes: 6 additions & 0 deletions
6
test/packages/parallel/apache_basic_license/_dev/deploy/docker/Dockerfile
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,6 @@ | ||
| ARG SERVICE_VERSION=${SERVICE_VERSION:-2.4.46} | ||
| FROM httpd:$SERVICE_VERSION | ||
| RUN sed -i "/jessie-updates/d" /etc/apt/sources.list | ||
| RUN apt-get update && apt-get install -y curl | ||
| HEALTHCHECK --interval=1s --retries=90 CMD curl -f http://localhost | ||
| COPY ./httpd.conf /usr/local/apache2/conf/httpd.conf |
11 changes: 11 additions & 0 deletions
11
test/packages/parallel/apache_basic_license/_dev/deploy/docker/docker-compose.yml
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,11 @@ | ||
| version: '2.3' | ||
| services: | ||
| apache_basic_license: | ||
| # Commented out `image:` below until we have a process to refresh the hosted images from | ||
| # Dockerfiles in this repo. Until then, we build the image locally using `build:` below. | ||
| # image: docker.elastic.co/integrations-ci/beats-apache:${SERVICE_VERSION:-2.4.20}-1 | ||
| build: . | ||
| ports: | ||
| - 80 | ||
| volumes: | ||
| - ${SERVICE_LOGS_DIR}:/usr/local/apache2/logs |
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.
This was added as a target in the Makefile but it was missing in the script that triggers the steps.