Skip to content

Commit 9727792

Browse files
committed
feat(filters/azure): add WAF properties and client connection field mappings
1 parent 2502610 commit 9727792

File tree

1 file changed

+191
-1
lines changed

1 file changed

+191
-1
lines changed

filters/azure/azure-eventhub.yml

Lines changed: 191 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Azure Envent-Hub filter, version 2.0.4
1+
# Azure Envent-Hub filter, version 2.0.5
22
#
33
# Documentations
44
# 1- https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log
@@ -603,6 +603,196 @@ pipeline:
603603
- log.properties.userType
604604
to: log.propertiesUserType
605605

606+
- rename:
607+
from:
608+
- log.properties.WAFEvaluationTime
609+
to: log.propertiesWAFEvaluationTime
610+
611+
- rename:
612+
from:
613+
- log.properties.WAFMode
614+
to: log.propertiesWAFMode
615+
616+
- rename:
617+
from:
618+
- log.properties.WAFPolicyID
619+
to: log.propertiesWAFPolicyID
620+
621+
- rename:
622+
from:
623+
- log.properties.backendSslCipher
624+
to: log.propertiesBackendSslCipher
625+
626+
- rename:
627+
from:
628+
- log.properties.backendSslProtocol
629+
to: log.propertiesBackendSslProtocol
630+
631+
- rename:
632+
from:
633+
- log.properties.clientIP
634+
to: origin.ip
635+
636+
- rename:
637+
from:
638+
- log.properties.clientPort
639+
to: origin.port
640+
641+
- rename:
642+
from:
643+
- log.properties.clientResponseTime
644+
to: log.propertiesClientResponseTime
645+
646+
- rename:
647+
from:
648+
- log.properties.connectionSerialNumber
649+
to: log.propertiesConnectionSerialNumber
650+
651+
- rename:
652+
from:
653+
- log.properties.contentType
654+
to: log.propertiesContentType
655+
656+
- rename:
657+
from:
658+
- log.properties.error_info
659+
to: log.propertiesErrorInfo
660+
661+
- rename:
662+
from:
663+
- log.properties.host
664+
to: origin.host
665+
666+
- rename:
667+
from:
668+
- log.properties.httpMethod
669+
to: log.propertiesHttpMethod
670+
671+
- rename:
672+
from:
673+
- log.properties.httpStatus
674+
to: statusCode
675+
676+
- rename:
677+
from:
678+
- log.properties.httpVersion
679+
to: log.propertiesHttpVersion
680+
681+
- rename:
682+
from:
683+
- log.properties.instanceId
684+
to: log.propertiesInstanceId
685+
686+
- rename:
687+
from:
688+
- log.properties.noOfConnectionRequests
689+
to: log.propertiesNoOfConnectionRequests
690+
691+
- rename:
692+
from:
693+
- log.properties.originalHost
694+
to: log.propertiesOriginalHost
695+
696+
- rename:
697+
from:
698+
- log.properties.originalRequestUriWithArgs
699+
to: log.propertiesOriginalRequestUriWithArgs
700+
701+
- rename:
702+
from:
703+
- log.properties.receivedBytes
704+
to: log.propertiesReceivedBytes
705+
706+
- rename:
707+
from:
708+
- log.properties.requestQuery
709+
to: log.propertiesRequestQuery
710+
711+
- rename:
712+
from:
713+
- log.properties.requestUri
714+
to: log.propertiesRequestUri
715+
716+
- rename:
717+
from:
718+
- log.properties.sentBytes
719+
to: log.propertiesSentBytes
720+
721+
- rename:
722+
from:
723+
- log.properties.serverConnectTime
724+
to: log.propertiesServerConnectTime
725+
726+
- rename:
727+
from:
728+
- log.properties.serverHeaderTime
729+
to: log.propertiesServerHeaderTime
730+
731+
- rename:
732+
from:
733+
- log.properties.serverResponseLatency
734+
to: log.propertiesServerResponseLatency
735+
736+
- rename:
737+
from:
738+
- log.properties.serverRouted
739+
to: log.propertiesServerRouted
740+
741+
- rename:
742+
from:
743+
- log.properties.serverStatus
744+
to: log.propertiesServerStatus
745+
746+
- rename:
747+
from:
748+
- log.properties.sslCipher
749+
to: log.propertiesSslCipher
750+
751+
- rename:
752+
from:
753+
- log.properties.sslClientCertificateFingerprint
754+
to: log.propertiesSslClientCertificateFingerprint
755+
756+
- rename:
757+
from:
758+
- log.properties.sslClientCertificateIssuerName
759+
to: log.propertiesSslClientCertificateIssuerName
760+
761+
- rename:
762+
from:
763+
- log.properties.sslClientVerify
764+
to: log.propertiesSslClientVerify
765+
766+
- rename:
767+
from:
768+
- log.properties.sslEnabled
769+
to: log.propertiesSslEnabled
770+
771+
- rename:
772+
from:
773+
- log.properties.sslProtocol
774+
to: log.propertiesSslProtocol
775+
776+
- rename:
777+
from:
778+
- log.properties.timeTaken
779+
to: log.propertiesTimeTaken
780+
781+
- rename:
782+
from:
783+
- log.properties.transactionId
784+
to: log.propertiesTransactionId
785+
786+
- rename:
787+
from:
788+
- log.properties.upstreamSourcePort
789+
to: log.propertiesUpstreamSourcePort
790+
791+
- rename:
792+
from:
793+
- log.properties.userAgent
794+
to: log.propertiesUserAgent
795+
606796
# .......................................................................#
607797
# Adding severity based on log.level
608798
# .......................................................................#

0 commit comments

Comments
 (0)