forked from opensearch-project/data-prepper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
E2E: aws secrets tests (opensearch-project#3654)
* E2E: basicLogWithAwsSecretsEndToEndTest Signed-off-by: George Chen <[email protected]>
- Loading branch information
1 parent
1c28285
commit c453dd0
Showing
3 changed files
with
45 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
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
20 changes: 20 additions & 0 deletions
20
e2e-test/log/src/integrationTest/resources/basic-grok-e2e-pipeline-with-aws-secrets.yml
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
pipeline_configurations: | ||
aws: | ||
secrets: | ||
opensearch-sink: | ||
secret_id: "opensearch-sink-basic-credentials" | ||
grok-pipeline: | ||
source: | ||
http: | ||
path: "/${pipelineName}/logs" | ||
processor: | ||
- grok: | ||
match: | ||
log: [ "%{COMMONAPACHELOG}" ] | ||
sink: | ||
- opensearch: | ||
hosts: [ "https://node-0.example.com:9200" ] | ||
username: "${{aws_secrets:opensearch-sink:username}}" | ||
password: "${{aws_secrets:opensearch-sink:password}}" | ||
index: "test-grok-index" | ||
flush_timeout: 5000 |