logstash-output-opensearch 2.0.3-java → 2.1.1-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4d023016ab9043a845b0c4c35fc0fea899235e8f15d32f8cc9799a29dd4a84a
4
- data.tar.gz: 1eef3e646ab7a2ec0ac175fa26b3fe7983755133de4bb0580ea55299d55ce18c
3
+ metadata.gz: 6b2b80eea7185087d932af9c493bd1609ee7132ef731ba98c2b11cef449c37fa
4
+ data.tar.gz: 602a9cd66c87ca0d69270ff4a356efd3dad02650aa66d7bb1ef3e1cc4f161478
5
5
  SHA512:
6
- metadata.gz: e22c44f48115c0df680dc9dc1e886daa5ac1521daf1a3b1ee3c9f5574eed59e7974356bff2055dfc44c0ed01115cb8838b073ffa7b81d70172b5da227c718584
7
- data.tar.gz: 98556ece3e0e8f771a8168bffb32d6b8be5d4e21d356cbd64ddb814b26ac5cb91c3b58a94f49dec72e377a67cb3896008a7441f9db2373bcf3c15de9f7ece2a9
6
+ metadata.gz: 6b8d54c5c376e910c7e67ef4ad5b9d659beb481144d5d9a3785c374dfbe620272cf463da73726deb83d0efdca0c10f0661aafaddcbd160316f308e764d6eb4b1
7
+ data.tar.gz: 3e9cedb6a86b79b561efb2f29335738d84a958220d644fe3aeb9e13f03f0a022b396f4502974b7ebc199b4e37cab8f477f082b63ae1c25edc030991c35ff252c
checksums.yaml.gz.sig CHANGED
Binary file
data/MAINTAINERS.md CHANGED
@@ -5,21 +5,21 @@ This document contains a list of maintainers in this repo. See [opensearch-proje
5
5
  ## Current Maintainers
6
6
 
7
7
 
8
- | Maintainer | GitHub ID | Affiliation |
9
- | ------------------------ | --------------------------------------------------- | ----------- |
10
- | Daniel "dB." Doubrovkine | [dblock](https://github.com/dblock) | Amazon |
11
- | Asif Sohail Mohammed | [asifsmohammed](https://github.com/asifsmohammed) | Amazon |
12
- | David Venable | [dlvenable](https://github.com/dlvenable) | Amazon |
13
- | Hai Yan | [oeyh](https://github.com/oeyh) | Amazon |
8
+ | Maintainer | GitHub ID | Affiliation |
9
+ | -------------------- | ------------------------------------------------- | ----------- |
10
+ | Asif Sohail Mohammed | [asifsmohammed](https://github.com/asifsmohammed) | Amazon |
11
+ | David Venable | [dlvenable](https://github.com/dlvenable) | Amazon |
12
+ | Hai Yan | [oeyh](https://github.com/oeyh) | Amazon |
14
13
 
15
14
 
16
15
 
17
16
  ## Emeritus
18
17
 
19
- | Maintainer | GitHub ID | Affiliation |
20
- | ----------------------- | ------------------------------------------- | ----------- |
21
- | Jack Mazanec | [jmazanec15](https://github.com/jmazanec15) | Amazon |
22
- | Vamshi Vijay Nakkirtha | [vamshin](https://github.com/vamshin) | Amazon |
23
- | Vijayan Balasubramanian | [VijayanB](https://github.com/VijayanB) | Amazon |
24
- | Deep Datta | [deepdatta](https://github.com/deepdatta) | Amazon |
25
- | Shivani Shukla | [sshivanii](https://github.com/sshivanii) | Amazon |
18
+ | Maintainer | GitHub ID | Affiliation |
19
+ | ------------------------ | ------------------------------------------- | ----------- |
20
+ | Daniel "dB." Doubrovkine | [dblock](https://github.com/dblock) | Independent |
21
+ | Jack Mazanec | [jmazanec15](https://github.com/jmazanec15) | Amazon |
22
+ | Vamshi Vijay Nakkirtha | [vamshin](https://github.com/vamshin) | Amazon |
23
+ | Vijayan Balasubramanian | [VijayanB](https://github.com/VijayanB) | Amazon |
24
+ | Deep Datta | [deepdatta](https://github.com/deepdatta) | Amazon |
25
+ | Shivani Shukla | [sshivanii](https://github.com/sshivanii) | Amazon |
data/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
  ## Welcome!
13
13
 
14
- **logstash-output-opensearch** is a community-driven, open source fork logstash-output-elasticsearch licensed under the [Apache v2.0 License](LICENSE). For more information, see [opensearch.org](https://opensearch.org/).
14
+ **logstash-output-opensearch** is a community-driven, open source fork of logstash-output-elasticsearch licensed under the [Apache v2.0 License](LICENSE). For more information, see [opensearch.org](https://opensearch.org/).
15
15
 
16
16
  The logstash-output-opensearch plugin helps to ship events from Logstash to OpenSearch cluster.
17
17
 
@@ -112,8 +112,11 @@ Starting in 2.0.0, the aws sdk version is bumped to v3. In order for all other A
112
112
  /usr/share/logstash/bin/logstash-plugin install --version 0.1.0.pre logstash-integration-aws
113
113
  /usr/share/logstash/bin/logstash-plugin install --version 2.0.0 logstash-output-opensearch
114
114
  ```
115
+
116
+ For all other plugin configuration parameters, please inspect [api_configs.rb](lib/logstash/plugin_mixins/opensearch/api_configs.rb).
117
+
115
118
  ## ECS Compatibility
116
- [Elastic Common Schema(ECS)](https://www.elastic.co/guide/en/ecs/current/index.html]) compatibility for V8 was added in 1.3.0. For more details on ECS support refer to this [documentation](docs/ecs_compatibility.md).
119
+ [Elastic Common Schema(ECS)](https://www.elastic.co/guide/en/ecs/current/index.html) compatibility for V8 was added in 1.3.0. For more details on ECS support refer to this [documentation](docs/ecs_compatibility.md).
117
120
 
118
121
 
119
122
  ## Code of Conduct
data/RELEASING.md CHANGED
@@ -13,13 +13,7 @@ This document explains the release strategy for artifacts in this organization.
13
13
 
14
14
  ### Release Branching
15
15
 
16
- Given the current major release of 1.0, projects in this organization maintain the following active branches.
17
-
18
- * **main**: The next _major_ release. This is the branch where all merges take place and code moves fast.
19
- * **1.x**: The next _minor_ release. Once a change is merged into `main`, decide whether to backport it to `1.x`.
20
- * **1.0**: The _current_ release. In between minor releases, only hotfixes (e.g. security) are backported to `1.0`.
21
-
22
- Label PRs with the next major version label (e.g. `2.0.0`) and merge changes into `main`. Label PRs that you believe need to be backported as `1.x` and `1.0`. Backport PRs by checking out the versioned branch, cherry-pick changes and open a PR against each target backport branch.
16
+ This project currently releases only from `main`.
23
17
 
24
18
  ### Feature Branches
25
19
 
@@ -27,14 +21,17 @@ Do not creating branches in the upstream repo, use your fork, for the exception
27
21
 
28
22
  ## Release Labels
29
23
 
30
- Repositories create consistent release labels, such as `v1.0.0`, `v1.1.0` and `v2.0.0`, as well as `backport`. Use release labels to target an issue or a PR for a given release. See [MAINTAINERS](MAINTAINERS.md#triage-open-issues) for more information on triaging issues.
24
+ Repositories create consistent release labels, such as `1.0.0`, `1.1.0` and `2.0.0`, as well as `backport`. Use release labels to target an issue or a PR for a given release. See [MAINTAINERS](MAINTAINERS.md#triage-open-issues) for more information on triaging issues.
31
25
 
32
26
  ## Releasing
33
27
 
34
28
  The release process is standard across repositories in this org and is run by a release manager volunteering from amongst [MAINTAINERS](MAINTAINERS.md).
35
29
 
36
- 1. Create a tag, e.g. 1.0.0, and push it to this GitHub repository.
30
+ 1. Create a tag, e.g. `1.0.0`, and push it to this GitHub repository. You can do this from your local fork:
31
+ 1. `git fetch upstream --tags`
32
+ 1. `git tag 2.0.3`
33
+ 1. `git push --tags upstream`
37
34
  1. The [release-drafter.yml](.github/workflows/release-drafter.yml) will be automatically kicked off and a draft release will be created.
38
- 1. This draft release triggers the [jenkins release workflow](https://build.ci.opensearch.org/job/logstash-ouput-opensearch-release) as a As a result of which the logstash-output-plugin is released on [rubygems.org](https://rubygems.org/gems/logstash-output-opensearch). Please note that the release workflow is triggered only if created release is in draft state.
35
+ 1. This draft release triggers the [jenkins release workflow](https://build.ci.opensearch.org/job/logstash-output-opensearch-release) as a As a result of which the logstash-output-plugin is released on [rubygems.org](https://rubygems.org/gems/logstash-output-opensearch). Please note that the release workflow is triggered only if created release is in draft state.
39
36
  1. Once the above release workflow is successful, the drafted release on GitHub is published automatically.
40
37
  1. Increment "version" in [logstash-output-opensearch.gemspec](./logstash-output-opensearch.gemspec) to the next iteration, e.g. 1.0.1.
@@ -0,0 +1,44 @@
1
+ {
2
+ "index_patterns" : "logstash-*",
3
+ "version" : 60001,
4
+ "settings" : {
5
+ "index.refresh_interval" : "5s",
6
+ "number_of_shards": 1
7
+ },
8
+ "mappings" : {
9
+ "dynamic_templates" : [ {
10
+ "message_field" : {
11
+ "path_match" : "message",
12
+ "match_mapping_type" : "string",
13
+ "mapping" : {
14
+ "type" : "text",
15
+ "norms" : false
16
+ }
17
+ }
18
+ }, {
19
+ "string_fields" : {
20
+ "match" : "*",
21
+ "match_mapping_type" : "string",
22
+ "mapping" : {
23
+ "type" : "text", "norms" : false,
24
+ "fields" : {
25
+ "keyword" : { "type": "keyword", "ignore_above": 256 }
26
+ }
27
+ }
28
+ }
29
+ } ],
30
+ "properties" : {
31
+ "@timestamp": { "type": "date"},
32
+ "@version": { "type": "keyword"},
33
+ "geoip" : {
34
+ "dynamic": true,
35
+ "properties" : {
36
+ "ip": { "type": "ip" },
37
+ "location" : { "type" : "geo_point" },
38
+ "latitude" : { "type" : "half_float" },
39
+ "longitude" : { "type" : "half_float" }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "index_patterns": "logstash-*",
3
+ "version": 60001,
4
+ "priority": 10,
5
+ "template": {
6
+ "settings": {
7
+ "index.refresh_interval": "5s",
8
+ "number_of_shards": 1
9
+ },
10
+ "mappings": {
11
+ "dynamic_templates": [
12
+ {
13
+ "message_field": {
14
+ "path_match": "message",
15
+ "match_mapping_type": "string",
16
+ "mapping": {
17
+ "type": "text",
18
+ "norms": false
19
+ }
20
+ }
21
+ },
22
+ {
23
+ "string_fields": {
24
+ "match": "*",
25
+ "match_mapping_type": "string",
26
+ "mapping": {
27
+ "type": "text",
28
+ "norms": false,
29
+ "fields": {
30
+ "keyword": {
31
+ "type": "keyword",
32
+ "ignore_above": 256
33
+ }
34
+ }
35
+ }
36
+ }
37
+ }
38
+ ],
39
+ "properties": {
40
+ "@timestamp": {
41
+ "type": "date"
42
+ },
43
+ "@version": {
44
+ "type": "keyword"
45
+ },
46
+ "geoip": {
47
+ "dynamic": true,
48
+ "properties": {
49
+ "ip": {
50
+ "type": "ip"
51
+ },
52
+ "location": {
53
+ "type": "geo_point"
54
+ },
55
+ "latitude": {
56
+ "type": "half_float"
57
+ },
58
+ "longitude": {
59
+ "type": "half_float"
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }