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

Commit 22e3db3

Browse files
author
Chris Wiechmann
committed
Update OpenTrafficPipeline.conf
1 parent 429f6e3 commit 22e3db3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logstash/pipelines/OpenTrafficPipeline.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ filter {
154154
code => '
155155
cacheAPINames = event.get("[@metadata][cacheAPIPerName]");
156156
apiRequestPath = event.get("[transactionSummary][path]");
157-
if (cacheAPINames.nil?)
157+
if (cacheAPINames.nil? || cacheAPINames.empty?)
158158
event.set("[@metadata][apiCacheKeyPrefix]", apiRequestPath);
159159
return;
160160
end

0 commit comments

Comments
 (0)