Skip to content

Commit 0eaabc7

Browse files
authored
Added template for ES v9 (#1187)
* Added template for ES v9 * Bumped version 11.22.8
1 parent c052507 commit 0eaabc7

File tree

3 files changed

+54
-1
lines changed

3 files changed

+54
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 11.22.8
2+
- Added ECS template for Elasticsearch 9.x [#1187](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1187)
3+
14
## 11.22.7
25
- [DOC] `ssl_key` requires PKCS#8 format [#1181](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1181)
36

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"index_patterns" : "logstash-*",
3+
"version" : 80001,
4+
"template" : {
5+
"settings" : {
6+
"index.refresh_interval" : "5s",
7+
"number_of_shards": 1
8+
},
9+
"mappings" : {
10+
"dynamic_templates" : [ {
11+
"message_field" : {
12+
"path_match" : "message",
13+
"match_mapping_type" : "string",
14+
"mapping" : {
15+
"type" : "text",
16+
"norms" : false
17+
}
18+
}
19+
}, {
20+
"string_fields" : {
21+
"match" : "*",
22+
"match_mapping_type" : "string",
23+
"mapping" : {
24+
"type" : "text", "norms" : false,
25+
"fields" : {
26+
"keyword" : { "type": "keyword", "ignore_above": 256 }
27+
}
28+
}
29+
}
30+
} ],
31+
"properties" : {
32+
"@timestamp": { "type": "date" },
33+
"@version": { "type": "keyword" },
34+
"geoip" : {
35+
"dynamic": true,
36+
"properties" : {
37+
"ip": { "type": "ip" },
38+
"location" : { "type" : "geo_point" },
39+
"latitude" : { "type" : "half_float" },
40+
"longitude" : { "type" : "half_float" }
41+
}
42+
}
43+
}
44+
}
45+
},
46+
"priority": 200,
47+
"_meta" : {
48+
"description": "index template for logstash-output-elasticsearch"
49+
}
50+
}

logstash-output-elasticsearch.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |s|
22
s.name = 'logstash-output-elasticsearch'
3-
s.version = '11.22.7'
3+
s.version = '11.22.8'
44
s.licenses = ['apache-2.0']
55
s.summary = "Stores logs in Elasticsearch"
66
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"

0 commit comments

Comments
 (0)