logstash-output-elasticsearch 12.0.1-java → 12.0.2-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/docs/index.asciidoc +18 -8
  4. data/lib/logstash/outputs/elasticsearch/data_stream_support.rb +0 -1
  5. data/lib/logstash/outputs/elasticsearch/http_client/manticore_adapter.rb +1 -4
  6. data/lib/logstash/outputs/elasticsearch/http_client/pool.rb +12 -19
  7. data/lib/logstash/outputs/elasticsearch/http_client.rb +25 -24
  8. data/lib/logstash/outputs/elasticsearch/ilm.rb +1 -11
  9. data/lib/logstash/outputs/elasticsearch/template_manager.rb +1 -1
  10. data/lib/logstash/outputs/elasticsearch.rb +10 -45
  11. data/logstash-output-elasticsearch.gemspec +1 -1
  12. data/spec/es_spec_helper.rb +1 -5
  13. data/spec/integration/outputs/compressed_indexing_spec.rb +5 -5
  14. data/spec/integration/outputs/index_spec.rb +7 -7
  15. data/spec/integration/outputs/no_es_on_startup_spec.rb +1 -1
  16. data/spec/integration/outputs/parent_spec.rb +2 -3
  17. data/spec/integration/outputs/retry_spec.rb +2 -10
  18. data/spec/integration/outputs/sniffer_spec.rb +5 -40
  19. data/spec/unit/outputs/elasticsearch/data_stream_support_spec.rb +0 -23
  20. data/spec/unit/outputs/elasticsearch/http_client/pool_spec.rb +12 -54
  21. data/spec/unit/outputs/elasticsearch/template_manager_spec.rb +3 -8
  22. data/spec/unit/outputs/elasticsearch_spec.rb +15 -17
  23. metadata +2 -8
  24. data/lib/logstash/outputs/elasticsearch/templates/ecs-disabled/elasticsearch-6x.json +0 -45
  25. data/lib/logstash/outputs/elasticsearch/templates/ecs-v1/elasticsearch-6x.json +0 -3695
  26. data/spec/fixtures/_nodes/6x.json +0 -81
  27. data/spec/fixtures/template-with-policy-es6x.json +0 -48
@@ -1,81 +0,0 @@
1
- {
2
- "_nodes" : {
3
- "total" : 3,
4
- "successful" : 3,
5
- "failed" : 0
6
- },
7
- "cluster_name" : "dev",
8
- "nodes" : {
9
- "Ur_68iBvTlm7Xr1HgSsh6w" : {
10
- "name" : "dev-es-master01",
11
- "transport_address" : "http://localhost:9200",
12
- "host" : "localhost",
13
- "ip" : "127.0.0.1",
14
- "version" : "6.8.10",
15
- "build_hash" : "19c13d0",
16
- "roles" : [
17
- "master"
18
- ],
19
- "http" : {
20
- "bound_address" : [
21
- "[::]:9200"
22
- ],
23
- "publish_address" : "127.0.0.1:9200",
24
- "max_content_length_in_bytes" : 104857600
25
- }
26
- },
27
- "sari4do3RG-mgh2CIZeHwA" : {
28
- "name" : "dev-es-data01",
29
- "transport_address" : "http://localhost:9201",
30
- "host" : "localhost",
31
- "ip" : "127.0.0.1",
32
- "version" : "6.8.10",
33
- "build_hash" : "19c13d0",
34
- "roles" : [
35
- "data"
36
- ],
37
- "http" : {
38
- "bound_address" : [
39
- "[::]:9200"
40
- ],
41
- "publish_address" : "127.0.0.1:9201",
42
- "max_content_length_in_bytes" : 104857600
43
- }
44
- },
45
- "Rjy1WL66RHm4fyzXA8PCGQ" : {
46
- "name" : "dev-es-datamaster01",
47
- "transport_address" : "http://localhost:9202",
48
- "host" : "localhost",
49
- "ip" : "127.0.0.1",
50
- "version" : "6.8.10",
51
- "build_hash" : "19c13d0",
52
- "roles" : [
53
- "data",
54
- "master"
55
- ],
56
- "http" : {
57
- "bound_address" : [
58
- "[::]:9200"
59
- ],
60
- "publish_address" : "127.0.0.1:9202",
61
- "max_content_length_in_bytes" : 104857600
62
- }
63
- },
64
- "OguP_obcT_S9JYNB8SKKgQ" : {
65
- "name" : "dev-es-coordinator01",
66
- "transport_address" : "http://localhost:9203",
67
- "host" : "localhost",
68
- "ip" : "127.0.0.1",
69
- "version" : "6.8.10",
70
- "build_hash" : "19c13d0",
71
- "roles" : [ ],
72
- "http" : {
73
- "bound_address" : [
74
- "[::]:9200"
75
- ],
76
- "publish_address" : "127.0.0.1:9203",
77
- "max_content_length_in_bytes" : 104857600
78
- }
79
- }
80
- }
81
- }
@@ -1,48 +0,0 @@
1
- {
2
- "template" : "overwrite-*",
3
- "version" : 60001,
4
- "settings" : {
5
- "index.refresh_interval" : "1s",
6
- "number_of_shards": 1,
7
- "index.lifecycle.name": "overwrite-policy",
8
- "index.lifecycle.rollover_alias": "overwrite"
9
- },
10
- "mappings" : {
11
- "_default_" : {
12
- "dynamic_templates" : [ {
13
- "message_field" : {
14
- "path_match" : "message",
15
- "match_mapping_type" : "string",
16
- "mapping" : {
17
- "type" : "text",
18
- "norms" : false
19
- }
20
- }
21
- }, {
22
- "string_fields" : {
23
- "match" : "*",
24
- "match_mapping_type" : "string",
25
- "mapping" : {
26
- "type" : "text", "norms" : false,
27
- "fields" : {
28
- "keyword" : { "type": "keyword", "ignore_above": 256 }
29
- }
30
- }
31
- }
32
- } ],
33
- "properties" : {
34
- "@timestamp": { "type": "date"},
35
- "@version": { "type": "keyword"},
36
- "geoip" : {
37
- "dynamic": true,
38
- "properties" : {
39
- "ip": { "type": "ip" },
40
- "location" : { "type" : "geo_point" },
41
- "latitude" : { "type" : "half_float" },
42
- "longitude" : { "type" : "half_float" }
43
- }
44
- }
45
- }
46
- }
47
- }
48
- }