Get the list of Insights
POST/v1/insights/list
Get the list of Insights that match your search criteria.
Whenever a new Insight is detected, it receives an Insight ID and is tracked for as long as it recurs. The lookback period for Insights is 6 months.
Note: This endpoint requires permissions that must be set by our Support team. Please email help@logz.io for assistance. Please ensure to change the region in the URL to match your account's region.
Request
- application/json
Body
UNIX timestamp in milliseconds specifying the start date for the query time frame. By default, returns the past 15 minutes ("now - 15 minutes" translated into a UNIX timestamp).
UNIX timestamp in milliseconds specifying the end date for the query time frame. By default, returns the current time ("now" translated into a UNIX timestamp).
Of the results found, the first result to return. Must be a non-negative integer.
Possible values: >= 1
and <= 100
Default value: 10
Number of results to return. Must be a positive integer between 1-100.
Possible values: [PUBLIC_CI
, LOGCEPTION
]
Default value: PUBLIC_CI,LOGCEPTION
Filters results by Insight type. LOGCEPTION
filters for application insights. PUBLIC_CI
filters for Cognitive Insights.
Filters results by the tag values used to categorize Insights.
Filters results by log type.
Default value: false
Filters for Insights that first occurred in the selected time frame. In other words, excludes Insights that were first identified before or after the selected time range.
Possible values: [FIRST_OCCURRENCE
, LAST_OCCURRENCE
, COUNT
]
Default value: COUNT
Sorts Insights by the selected parameters.
Default value: false
If false
, sorts Insights in descending order. The order depends on the selected sortBy
paramater.
Searches for an Insight by its title.
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Possible values: <= 500
Number of results to return per page. Must be a positive integer between 0-500.
Possible values: <= 2147483647
UNIX timestamp in milliseconds.
Possible values: <= 500
Total number of results found.
results object[]
An ID identifying the Insight in Logz.io. Can be used to track the Insight's occurrence in the environment over time.
Possible values: [PUBLIC_CI
, LOGCEPTION
]
Identifies the type of Insight as either LOGCEPTION
(application insights) or PUBLIC_CI
(Cognitive Insights).
Tags applied to the Insight help to categorize it.
A helpful description of the issue identified by the Insight. The description is generated by Logz.io.
Only applicable for PUBLIC_CI
Insights. Provides reference links to recommended resources for further investigation of the issue.
additionalData object
Only applicable for LOGCEPTION
Insights. Provides relevant excerpts from the stacktrace about the exception in question.
UNIX timestamp in milliseconds specifying the earliest appearance of the Insight. The lookback period is up to 6 months.
UNIX timestamp in milliseconds specifying the most recent appearance of the Insight in the selected time frame.
The number of times the Insight occurred during the selected time frame.
Only applicable for LOGCEPTION
Insights. Provides a drill-down link to fetch the raw logs that match the Insight in Kibana Discover.
The title of the Insight.
{
"pageSize": 0,
"from": 0,
"total": 0,
"results": [
{
"insightId": "cf484f4c381c3e408a23accc5b487947d2f68791",
"insightType": "PUBLIC_CI",
"tagName": "ignite",
"description": "A match for the phrase - <'Could not find the language line'> was identified in the log message. As mentioned in the cited links, this may indicate that an issue has taken place that requires your attention.",
"links": "https://github.com/benedmunds/CodeIgniter-Ion-Auth/issues/784 https://www.sitepoint.com/multi-language-support-in-codeigniter/ http://forum.codeigniter.com/thread-383.html https://community.invoiceplane.com/t/topic/3322 https://www.zonwhois.com/www/gwdcanada.com.html",
"additionalData": {},
"firstOccurrence": 1591181276000,
"lastOccurrence": 1591253121194,
"count": 66,
"logTypes": [
"app-server",
"user-analytics"
],
"kibanaLink": "string",
"insightTitle": "Could not find the language line create_user_validation_phone_label"
}
]
}