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

Commit 45a5a00

Browse files
author
Chris Wiechmann
committed
Making the traffic-details index more specific
1 parent 8c0a52d commit 45a5a00

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

elk-traffic-monitor-api/flows/trafficMonitorApi-circuitpath.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
{
153153
"name": "code",
154154
"type": "string",
155-
"value": "\"let index = 'apigw-traffic-*';\\n if(data.config.testElasticIndex) {\\n index = data.config.testElasticIndex;\\n }\\n return index;\"",
155+
"value": "\"let index = 'apigw-traffic-details*';\\n if(data.config.testElasticIndex) {\\n index = data.config.testElasticIndex;\\n }\\n return index;\"",
156156
"metaName": "code",
157157
"metaDescription": "A JavaScript function body. Supports `await` and returning promises"
158158
}

elk-traffic-monitor-api/flows/trafficMonitorApi-getinfo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
{
4848
"name": "code",
4949
"type": "string",
50-
"value": "\"let index = 'apigw-traffic-*';\\n //let index = 'getinfo_test_1688';\\n \\n if(data.config.testElasticIndex) {\\n index = data.config.testElasticIndex;\\n }\\n \\n return index;\"",
50+
"value": "\"let index = 'apigw-traffic-details*';\\n //let index = 'getinfo_test_1688';\\n \\n if(data.config.testElasticIndex) {\\n index = data.config.testElasticIndex;\\n }\\n \\n return index;\"",
5151
"metaName": "code",
5252
"metaDescription": "A JavaScript function body. Supports `await` and returning promises"
5353
}

elk-traffic-monitor-api/flows/trafficMonitorApi-search.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@
313313
{
314314
"name": "code",
315315
"type": "string",
316-
"value": "\"let index = 'apigw-traffic-*';\\n if(data.config.testElasticIndex) {\\n index = data.config.testElasticIndex;\\n }\\n return index;\"",
316+
"value": "\"let index = 'apigw-traffic-details*';\\n if(data.config.testElasticIndex) {\\n index = data.config.testElasticIndex;\\n }\\n return index;\"",
317317
"metaName": "code",
318318
"metaDescription": "A JavaScript function body. Supports `await` and returning promises"
319319
}

logstash/pipeline/pipeline.conf

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

0 commit comments

Comments
 (0)