GET /config/event_sources/log_source_management/log_source_languages/{id}

Retrieves a log source language by ID.

Table 1. GET /config/event_sources/log_source_management/log_source_languages/{id} resource details
MIME Type

application/json

Table 2. GET /config/event_sources/log_source_management/log_source_languages/{id} request parameter details
Parameter Type Optionality Data Type MIME Type Description

id

path

Required

Number (Integer)

text/plain

The ID of the log source language to retrieve.

fields

query

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3. GET /config/event_sources/log_source_management/log_source_languages/{id} response codes
HTTP Response Code Unique Code Description

200

The log source language was retrieved successfully.

404

1002

The log source language ID was not found.

500

1020

An error occurred during the attempt to retrieve the log source language.

Response Description

The log source language after it is retrieved. A log source language contains the following fields:
  • id - Integer - The ID of the language. This ID does not change across deployments.
  • name - String - The display name of the language.

Response Sample


{
    "id": 42,
    "name": "String"
}