Skip to content

GelfTcpResponse

Gianluca Sartori edited this page Feb 4, 2022 · 1 revision

This Response type is used to write Extended Events to a GrayLog server.

Properties

  • string ServerName: Name of the GlayLog server to write to
  • int Port: Port where the server is listening
  • bool Encrypt: Encypt the connection
  • bool TrustServerCertificate: Trust the server certificate

Example

{
    "Target": {
        "ServerName": "(local)\\SQL2019",
        "SessionName": "errors",
        "Filter": "client_app_name = 'MyApplication'",
        "Responses": [
            {
                "__type": "GelfTcpResponse",
                "ServerName": "graylog.mycompany.local",
                "Port": "9000",
                "Encrypt": true,
                "TrustServerCertificate": true
            }
        ]
    }
}
Clone this wiki locally