Retrieve a logging
GEThttps://manage.ioriver.io/api/v1/services/:service_id/log-destinations/:id/
Gets a specific logging.
Request
Path Parameters
id uuidrequired
service_id uuidrequired
Responses
- 200
- application/json
- Schema
- Example (auto)
Schema
json-list
- Json Listjson-object
- Json ObjectS3
- S3S3_COMPATIBLE
- S3 CompatibleHYDROLIX
- Hydrolix
anonymize_ipboolean
file_formatFileFormatEnum (string)
Possible values: [json-list
, json-object
]
iduuidrequired
namestring
s3_bucketstringrequired
s3_domainstring
Possible values: <= 1024 characters
s3_pathstring
Possible values: <= 1024 characters
s3_regionstring
Possible values: <= 1024 characters
serviceuuidrequired
typeUnifiedLogDestinationTypeEnum (string)
Possible values: [S3
, S3_COMPATIBLE
, HYDROLIX
]
{
"anonymize_ip": true,
"file_format": "json-list",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"s3_bucket": "string",
"s3_domain": "string",
"s3_path": "string",
"s3_region": "string",
"service": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "S3"
}
Authorization: Authorization
name: Authorizationtype: apiKeydescription: Value should be formatted: `Token <key>`in: header
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://manage.ioriver.io/api/v1/services/:service_id/log-destinations/:id/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "<Authorization>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear