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

Commit e9e39e3

Browse files
author
Chris Wiechmann
committed
Update OpenTrafficPipeline.conf
1 parent eadb594 commit e9e39e3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

logstash/pipelines/OpenTrafficPipeline.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ filter {
236236
}
237237
remove_field => "[transactionSummary][status]"
238238
}
239-
# Place all transactionSummary information directlly into the root
240-
# The path is skipped, as it is duplicated with http.uri and not available for all kind of events
239+
# Place all transactionSummary information directlly into the root, as it makes no sense to have a
240+
# a transactionSummary object within the transactionSummary index.
241241
ruby {
242242
code => '
243243
event.remove("[transactionSummary][path]");
@@ -274,8 +274,8 @@ filter {
274274
# For managed APIs (API-Manager based) it's the same anyway
275275
if [transactionElements][leg0][serviceName] {
276276
mutate {
277-
copy => { "[transactionElements][leg0][serviceName]" => "[transactionSummary][serviceContext][service]" }
278-
copy => { "[transactionElements][leg0][operation]" => "[transactionSummary][serviceContext][method]" }
277+
copy => { "[transactionElements][leg0][serviceName]" => "[serviceContext][service]" }
278+
copy => { "[transactionElements][leg0][operation]" => "[serviceContext][method]" }
279279
}
280280
}
281281
mutate {

0 commit comments

Comments
 (0)