LogSources
LogSources - Create
Creates a new log source.
POST
https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/LogSourcesParameters
config
-
json
Configuration of log source. Go to Universal Rest API for more information on the configuration parameters to create log source using Universal Rest API Fetcher. Mandatory Field.
dc_metadata
-
json
Information related to log source template created in the Director Console. Optional Field.
description
Description
String
Additional information or details about the log source. Optional Field.
documentation_link
Documentation Link
String
URL or hyperlink that points to external documentation or reference materials associated with that specific log source. Optional Field.
files
-
json
A key-value pair. The key represents a unique identifier, and the value represents the filename. Optional Field
logo
Logo
String
Base64 encoded logo image. Optional Field.
name
Name
String
Name of the log source. Mandatory Field.
type
-
String
Type or category of the log-generating device, application, or system from which the log data originates. Mandatory Field.
vendor_name
Vendor Name
String
Name of vendor where the log data originates. Optional Field.
Request Example
{
"data":{
"name": "logsource_name",
"type": "UniversalRestApi",
"vendor_name": "",
"logo": "",
"description": "",
"documentation_link": "",
"files": {
"key_name1": "file_name1",
"key_name2": "file_name2"
},
"config": {
"Source": {
"name": "logsource_name",
"base_url": "https://10.45.9.123",
"request_timeout": 30,
"retry_after": 10,
"interval": 30,
"charset": "utf_8"
},
"Connector": {
"auth_type": "none",
"custom_headers": [
{
"key": "id",
"value": "15"
}
],
"enforce_https": true,
"enable_proxy": false,
"protocol": "http"
},
"Endpoints": [
{
"endpoint_name": "getApps",
"method": "get",
"endpoint": "/apps",
"endpoints_custom_headers": [],
"query_params": [],
"incremental_value_response_field": "event",
"log_filter_params_dataformat": "iso",
"log_filter_params_from_value": "2023-10-05 11:13:47",
"id": "bbf30918-8605-4f1f-8d7c-93ce3489d57e"
}
],
"RoutingPolicy": {
"routing_criterion": [],
"catch_all": "_logpoint"
},
"NormalizationPolicy": {
"normalizers": [
{
"name": "ThycoticSecretServerCompiledNormalizer",
"type": "compiled"
},
{
"name": "JSONCompiledNormalizer",
"type": "compiled"
}
]
},
"EnrichmentPolicy": "642beb329fab980b50e4bb7e"
}
}
}Success Response
LogSources - Edit
Edits the log source with given ID.
PUT
Parameters
config
-
json
Configuration of log source. Mandatory Field.
dc_metadata
-
json
Information related to log source template created in the Director Console. Optional Field.
description
Description
String
Additional information or details about the log source. Optional Field.
documentation_link
Documentation Link
String
URL or hyperlink that points to external documentation or reference materials associated with that specific log source. Optional Field.
files
-
json
A key-value pair, where the key represents a unique identifier, and the value represents the filename. Optional Field
id
-
String
Existing log source ID. Mandatory Field.
logo
Logo
String
Base64 encoded logo image. Optional Field.
name
Name
String
Name of log source. Mandatory Field.
type
-
String
Type or category of the log-generating device, application, or system from which the log data originates. Mandatory Field.
vendor_name
Vendor Name
String
Name of vendor where the log data originates. Optional Field.
Request Example
Success Response
LogSources - Get
Fetches a log source with given ID.
GET
Parameters
id
-
String
ID of the existing log source to fetch.
Success Response
LogSources - List
List all log sources.
GET
Success Response
LogSources - ListLogSourceMetaData
Lists schema version of log source.
GET
Success Response
LogSources - RefreshList
Syncs the current log source list with Logpoint's log source list.
POST
Request Example
Success Response
LogSources - Trash (Delete)
Deletes the log source with given ID.
DELETE
Parameters
id
-
String
ID of the existing log source to delete. Mandatory Field.
Success Response
LogSources - Upload
Upload the log source .pak files to private storage. This must be used to upload log sources only.
POST
Headers
file_name
Name of the file to be uploaded.
Content-Type
application/octet-stream
replace_existing
Set the value of this parameter as 'true' to replace the existing file with the same name with the new file. Default value is 'false'. Value can be 'true' or 'false'. Optional field.
Parameters
file
[Object]
.pak to be uploaded. Mandatory Field.
Success Response
Last updated
Was this helpful?