-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated support for negating boolean logstash attribute value
Signed-off-by: Asif Sohail Mohammed <[email protected]>
- Loading branch information
1 parent
a429acc
commit 84eaa84
Showing
7 changed files
with
85 additions
and
14 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
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
18 changes: 18 additions & 0 deletions
18
.../opensearch/dataprepper/logstash/log-ingest-to-logstash-opensearch-insecure.expected.yaml
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,18 @@ | ||
logstash-converted-pipeline: | ||
source: | ||
http: | ||
max_connection_count: 500 | ||
request_timeout: 10000 | ||
processor: | ||
- grok: | ||
match: | ||
log: | ||
- "%{COMBINEDAPACHELOG}" | ||
sink: | ||
- opensearch: | ||
hosts: | ||
- "fakedomain.us-east-1.es.amazonaws.com" | ||
username: "myuser" | ||
password: "mypassword" | ||
index: "my-index" | ||
insecure: true |
18 changes: 18 additions & 0 deletions
18
...test/resources/org/opensearch/dataprepper/logstash/log-ingest-to-logstash-opensearch.conf
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,18 @@ | ||
input { | ||
http { | ||
} | ||
} | ||
filter { | ||
grok { | ||
match => {"log" => "%{COMBINEDAPACHELOG}"} | ||
} | ||
} | ||
output { | ||
opensearch { | ||
hosts => ["fakedomain.us-east-1.es.amazonaws.com"] | ||
user => myuser | ||
password => mypassword | ||
index => "my-index" | ||
ssl_certificate_verification => true | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...urces/org/opensearch/dataprepper/logstash/log-ingest-to-logstash-opensearch.expected.yaml
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,18 @@ | ||
logstash-converted-pipeline: | ||
source: | ||
http: | ||
max_connection_count: 500 | ||
request_timeout: 10000 | ||
processor: | ||
- grok: | ||
match: | ||
log: | ||
- "%{COMBINEDAPACHELOG}" | ||
sink: | ||
- opensearch: | ||
hosts: | ||
- "fakedomain.us-east-1.es.amazonaws.com" | ||
username: "myuser" | ||
password: "mypassword" | ||
index: "my-index" | ||
insecure: false |
18 changes: 18 additions & 0 deletions
18
...rces/org/opensearch/dataprepper/logstash/log-ingest-to-logtstash-opensearch-insecure.conf
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,18 @@ | ||
input { | ||
http { | ||
} | ||
} | ||
filter { | ||
grok { | ||
match => {"log" => "%{COMBINEDAPACHELOG}"} | ||
} | ||
} | ||
output { | ||
opensearch { | ||
hosts => ["fakedomain.us-east-1.es.amazonaws.com"] | ||
user => myuser | ||
password => mypassword | ||
index => "my-index" | ||
ssl_certificate_verification => false | ||
} | ||
} |