Trends
List all transaction trends
Request
Definition
GET /api/v1/metrics/trends/transactions
Headers
-
Authorization
requiredAn authentication token with privileges to view the resource.
Bearer {token}
Query string parameters
Parameter | Type | Required | Description |
---|---|---|---|
timestamp_start | integer | No | Filters results related to a time interval after the date specified. |
timestamp_end | integer | No | Filters results related to a time interval before the date specified. |
timezone | string | No | Filters the results related to the searched timezone. |
host_name_list | array<string> | No | Filters the results related to the list of Hosts entered. |
service | string | No | Filters the results related to the entered Domain Group. |
client_address | string | No | Filters the results related to the client address entered |
client_address_list | array<string> | No | Filters the results related to the specified client address list. |
timestamp_format | string | No | Filters the results related to the searched timestamp format. |
country | string | No | Filters the results related to the country of origin entered. |
country_list | array<string> | No | Filters the results related to the list of countries of origin entered. |
Response
Status codes
Status code | Message |
---|---|
200 | "List of transaction trends" |
400 | "Error with filter fields" |
403 | "Forbidden" |
Body
- Attributes
- Example
-
data.transaction.datetime
stringTimestamp in a user-friendly format related to the reference time of the associated statistic.
-
data.transaction.malicious
array<integer>List of integers representing the number of malicious transactions:
- successful (response codes 200 to 399)
- failed (response codes 400 to 499)
- server errors (response codes 500 and above)
-
data.transaction.timestamp
integerTimestamp in UNIX format (microseconds) for the reference time of the associated statistic.
-
data.transaction.total
array<integer>List of integers representing the number of total transactions:
-
successful (response codes 200 to 399)
-
failed (response codes 400 to 499)
-
server errors (response codes 500 and above)
-
{
"data": {
"transactions": [
{
"timestamp": 1705485600000000,
"total": [
0,
0,
0
],
"datetime": "2024-01-17 10:00:00Z",
"malicious": [
0,
0,
0
]
}
]
},
"message": "List of transaction trends",
"status": "ok"
}