Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit 1f5c0c7

Browse files
author
Chris Wiechmann
committed
Make sure in the index template is used
1 parent 45a5a00 commit 1f5c0c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

logstash/config/openlog_index_template.json renamed to logstash/config/traffic_details_index_template.json.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"index_patterns": [
3-
"*openlog*"
3+
"apigw-traffic-details-*"
44
],
55
"settings": {
66
"number_of_shards": 5

logstash/pipeline/pipeline.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ output {
8787
elasticsearch {
8888
hosts => "elasticsearch1:9200"
8989
index => "apigw-traffic-details-%{+YYYY.MM.dd}"
90-
#template => "${HOME}/config/openlog_index_template.json"
90+
template => "${HOME}/config/traffic_details_index_template.json"
9191
template_overwrite => true
9292
document_id => "%{correlationId}"
9393
action => "update"

0 commit comments

Comments
 (0)