HTTP 소스
개요
이러한 API 작업을 사용하여 다음과 상호 작용하세요 HTTP 소스 Panther에서. 여기에는 포함되지 않습니다 지원되는 로그 소스 전송 메커니즘으로 HTTP를 사용하는
필요한 권한
다음의 경우
GET작업의 경우, API 토큰에는 다음이 있어야 합니다로그 소스 보기권한이 있어야 합니다.다음의 경우
POST,PUT, 그리고DELETE작업의 경우, API 토큰에는 다음이 있어야 합니다로그 소스 관리권한이 있어야 합니다.
작업
ID of the http source to fetch
OK response.
The authentication bearer token value of the http source. Used for Bearer auth method
The authentication header key of the http source. Used for HMAC and SharedSecret auth methods
The authentication algorithm of the http source. Used for HMAC auth method
The authentication method of the http source
The authentication header password of the http source. Used for Basic auth method
The authentication header secret value of the http source. Used for HMAC and SharedSecret auth methods
The authentication header username of the http source. Used for Basic auth method
The id of the http source
The integration label (name)
The log stream type. Supported log stream types: Auto, JSON, JsonArray, Lines, XML
The log types of the integration
bad_request: Bad Request response.
not_found: Not Found response.
service: Internal Server Error response.
GET /log-sources/http/{id} HTTP/1.1
Host: your-api-host
X-API-Key: YOUR_API_KEY
Accept: */*
{
"authBearerToken": "text",
"authHeaderKey": "text",
"authHmacAlg": "text",
"authMethod": "SharedSecret",
"authPassword": "text",
"authSecretValue": "text",
"authUsername": "text",
"integrationId": "text",
"integrationLabel": "text",
"logStreamType": "Auto",
"logStreamTypeOptions": {
"jsonArrayEnvelopeField": "text",
"xmlRootElement": "text"
},
"logTypes": [
"text"
]
}put updates an http source
ID of the http source to update
The authentication bearer token value of the http source. Used for Bearer auth method
The authentication header key of the http source. Used for HMAC and SharedSecret auth methods
The authentication algorithm of the http source. Used for HMAC auth method
The authentication method of the http source
The authentication header password of the http source. Used for Basic auth method
The authentication header secret value of the http source. Used for HMAC and SharedSecret auth methods
The authentication header username of the http source. Used for Basic auth method
The integration label (name)
The log stream type. Supported log stream types: Auto, JSON, JsonArray, Lines, XML
The log types of the integration
OK response.
The authentication bearer token value of the http source. Used for Bearer auth method
The authentication header key of the http source. Used for HMAC and SharedSecret auth methods
The authentication algorithm of the http source. Used for HMAC auth method
The authentication method of the http source
The authentication header password of the http source. Used for Basic auth method
The authentication header secret value of the http source. Used for HMAC and SharedSecret auth methods
The authentication header username of the http source. Used for Basic auth method
The id of the http source
The integration label (name)
The log stream type. Supported log stream types: Auto, JSON, JsonArray, Lines, XML
The log types of the integration
bad_request: Bad Request response.
not_found: Not Found response.
exists: Conflict response.
service: Internal Server Error response.
PUT /log-sources/http/{id} HTTP/1.1
Host: your-api-host
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 317
{
"authBearerToken": "text",
"authHeaderKey": "text",
"authHmacAlg": "text",
"authMethod": "SharedSecret",
"authPassword": "text",
"authSecretValue": "text",
"authUsername": "text",
"integrationLabel": "text",
"logStreamType": "Auto",
"logStreamTypeOptions": {
"jsonArrayEnvelopeField": "text",
"xmlRootElement": "text"
},
"logTypes": [
"text"
]
}{
"authBearerToken": "text",
"authHeaderKey": "text",
"authHmacAlg": "text",
"authMethod": "SharedSecret",
"authPassword": "text",
"authSecretValue": "text",
"authUsername": "text",
"integrationId": "text",
"integrationLabel": "text",
"logStreamType": "Auto",
"logStreamTypeOptions": {
"jsonArrayEnvelopeField": "text",
"xmlRootElement": "text"
},
"logTypes": [
"text"
]
}The authentication bearer token value of the http source. Used for Bearer auth method
The authentication header key of the http source. Used for HMAC and SharedSecret auth methods
The authentication algorithm of the http source. Used for HMAC auth method
The authentication method of the http source
The authentication header password of the http source. Used for Basic auth method
The authentication header secret value of the http source. Used for HMAC and SharedSecret auth methods
The authentication header username of the http source. Used for Basic auth method
The integration label (name)
The log stream type. Supported log stream types: Auto, JSON, JsonArray, Lines, XML
The log types of the integration
Created response.
The authentication bearer token value of the http source. Used for Bearer auth method
The authentication header key of the http source. Used for HMAC and SharedSecret auth methods
The authentication algorithm of the http source. Used for HMAC auth method
The authentication method of the http source
The authentication header password of the http source. Used for Basic auth method
The authentication header secret value of the http source. Used for HMAC and SharedSecret auth methods
The authentication header username of the http source. Used for Basic auth method
The id of the http source
The integration label (name)
The log stream type. Supported log stream types: Auto, JSON, JsonArray, Lines, XML
The log types of the integration
bad_request: Bad Request response.
exists: Conflict response.
service: Internal Server Error response.
POST /log-sources/http HTTP/1.1
Host: your-api-host
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 317
{
"authBearerToken": "text",
"authHeaderKey": "text",
"authHmacAlg": "text",
"authMethod": "SharedSecret",
"authPassword": "text",
"authSecretValue": "text",
"authUsername": "text",
"integrationLabel": "text",
"logStreamType": "Auto",
"logStreamTypeOptions": {
"jsonArrayEnvelopeField": "text",
"xmlRootElement": "text"
},
"logTypes": [
"text"
]
}{
"authBearerToken": "text",
"authHeaderKey": "text",
"authHmacAlg": "text",
"authMethod": "SharedSecret",
"authPassword": "text",
"authSecretValue": "text",
"authUsername": "text",
"integrationId": "text",
"integrationLabel": "text",
"logStreamType": "Auto",
"logStreamTypeOptions": {
"jsonArrayEnvelopeField": "text",
"xmlRootElement": "text"
},
"logTypes": [
"text"
]
}ID of the http source to delete
No Content response.
No content
bad_request: Bad Request response.
service: Internal Server Error response.
DELETE /log-sources/http/{id} HTTP/1.1
Host: your-api-host
X-API-Key: YOUR_API_KEY
Accept: */*
No content
마지막 업데이트
도움이 되었나요?

