{"type":"api","title":"Query Log Config using Data Gateway ID","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/e05c97f6-c05c-3a2b-97ed-ca9f414d72b7","info":{"title":"Crosswork Data Gateway Troubleshooting API","description":"APIs to support CDG 3.0.0 troubleshooting","version":"7.1.0","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"}},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/CDG/cdg_troubleshooting_api_overview.md"}},"swagger":"2.0","basePath":"/crosswork/dg-manager/v1","schemes":["https"],"securityDefinitions":{"bearerAuth":{"type":"apiKey","name":"Authorization","in":"header","description":"Bearer Auth Token"}}},"spec":{"summary":"Query Log Config using Data Gateway ID","operationId":"SubmitLogConfigQuery","deprecated":false,"produces":["application/json"],"consumes":["application/json "],"parameters":[{"name":"Body","in":"body","required":true,"description":"Request payload to fetch log config query","schema":{"title":"LogConfigQueryPayload","example":{"queryParams":[{"field":"DGID","value":{"valueStr":"fe8c9a36-75f7-4219-9cee-06f7f7253651"}}]},"type":"object","properties":{"queryParams":{"type":"array","items":{"title":"LogConfigQueryParam","example":{"field":"DGID","value":{"valueStr":"fe8c9a36-75f7-4219-9cee-06f7f7253651"}},"type":"object","properties":{"field":{"type":"string"},"value":{"title":"LogConfigQueryValue","example":{"valueStr":"fe8c9a36-75f7-4219-9cee-06f7f7253651"},"type":"object","properties":{"valueStr":{"type":"string"}},"required":["valueStr"],"$$ref":"#/definitions/LogConfigQueryValue"}},"required":["field","value"],"$$ref":"#/definitions/LogConfigQueryParam"}}},"required":["queryParams"],"$$ref":"#/definitions/SubmitLogConfigQuery"}}],"responses":{"200":{"description":"OK. Successfully fetched log configs for the given CDG ID","schema":{"title":"LogConfigQueryResponse","example":{"logTuningParamList":[{"container":"GNMI_COLLECTOR","component":"ALL","logLevel":"DEBUG","defaultLogLevel":"INFO"},{"container":"GNMI_COLLECTOR","component":"DISPATCHER","logLevel":"ERROR","defaultLogLevel":"INFO"},{"container":"GNMI_COLLECTOR","component":"GRPC","logLevel":"ERROR","defaultLogLevel":"INFO"},{"container":"GNMI_COLLECTOR","component":"SPRING_WEB","logLevel":"ERROR","defaultLogLevel":"INFO"},{"container":"GNMI_COLLECTOR","component":"COORDINATOR","logLevel":"DEBUG","defaultLogLevel":"INFO"},{"container":"GNMI_COLLECTOR","component":"KAFKA","logLevel":"ERROR","defaultLogLevel":"INFO"},{"container":"GNMI_COLLECTOR","component":"NETTY","logLevel":"ERROR","defaultLogLevel":"INFO"},{"container":"IMAGE_MANAGER","component":"ALL","logLevel":"INFO","defaultLogLevel":"INFO"},{"container":"IMAGE_MANAGER","component":"FEIGN_CLIENT","logLevel":"INFO","defaultLogLevel":"INFO"}]},"type":"object","properties":{"logTuningParamList":{"type":"array","items":{"title":"LogParam","example":{"container":"GNMI_COLLECTOR","component":"COORDINATOR","logLevel":"DEBUG","defaultLogLevel":"INFO"},"type":"object","properties":{"container":{"type":"string"},"component":{"type":"string"},"logLevel":{"type":"string"},"defaultLogLevel":{"type":"string"}},"$$ref":"#/definitions/LogParam"}}},"$$ref":"#/definitions/LogConfigQueryResponse"}},"400":{"description":"Bad Request. The request is malformed in some way and the server cannot process it.","headers":{}}},"__originalOperationId":"SubmitLogConfigQuery","security":[{"bearerAuth":[]}],"method":"post","path":"/logconfig/query"}}