Skip to content

testSyslogExportRule

Test the specified syslog export rule Supported in v5.1+ Send a test message using the syslog export rule specified by the given id.

Arguments

Argument Type Description
input (required) TestSyslogExportRuleInput! Input for V1TestSyslogExportRule.

Returns

TestSyslogExportRuleReply!

Sample

mutation TestSyslogExportRule($input: TestSyslogExportRuleInput!) {
  testSyslogExportRule(input: $input)
}
{
  "input": {
    "clusterUuid": "example-string"
  }
}
{
  "data": {
    "testSyslogExportRule": {
      "output": {
        "message": "example-string"
      }
    }
  }
}