diff --git a/build-image/logstash/log-alert.sh b/build-image/logstash/log-alert.sh index 42eabc9..f290776 100755 --- a/build-image/logstash/log-alert.sh +++ b/build-image/logstash/log-alert.sh @@ -1,8 +1,8 @@ #!/bin/bash # @timestamp serviceName env level message -if (($#!=6));then - echo "./log-alert.sh %{@timestamp} %{serviceName} %{env} %{level} %{message} %{stack_trace}" +if (($#!=7));then + echo "./log-alert.sh %{@timestamp} %{serviceName} %{env} %{level} %{TID} %{message} %{stack_trace}" exit 1 fi