/trail-index/api/v1/index/{connection_id}/status
Get indexing status of the connection
connection_id
string
required
Connection successfully found
{
"connection_id": "string",
"status": "SCHEDULED"
}
/trail-index/api/v1/index/status
Gets the statuses of the specified connections
Array of strings
[
"string"
]
Successful request
[
{
"connection_id": "string",
"status": "SCHEDULED"
}
]
/trail-index/api/v1/index/start
Starts indexing of the specified connections
Array of strings
[
"string"
]
Successful request
[
{
"connection_id": "string",
"status": "SCHEDULED"
}
]
/trail-index/api/v1/index/search
Search for the content based on the search parameters defined
keywords
string
Comma or space-separated strings to search across all connection attributes. The leading and trailing wildcards for the keywords are implicit.
protocol
string
connection_id
string
defines the connection id to be searched for
channel_id
string
defines the channel id to be searched for
start_time
string
defines the start time for search - abosulte timestamp in the connection
end_time
string
defines the end time for search - absolute timestamp in the connection
start_position
int
specifies the start position to search for in milliseconds - relative to the start of connection
end_position
int
specifies the end position to search for in milliseconds - relative to the start of connection
{
"keywords": "string",
"protocol": "SSH",
"connection_id": "string",
"channel_id": "string",
"start_time": "2017-01-01T15:05:05Z",
"end_time": "2017-01-01T15:05:05Z",
"start_position": 10,
"end_position": 100
}
Successful request, respond with a list of connections
{
"count": 123,
"items": [
{
"connnection_id": "string",
"channel_id": "string",
"protocol": "SSH",
"timestamp": "2017-01-01T15:05:05Z",
"position": 123,
"content": "ls -ltr"
}
]
}
Was this page helpful?