Retrieve settings for all accounts
GET/v1/account-management/time-based-accounts
Returns account settings for the main account and all of its associated sub accounts.
- The list of accounts is returned as an array of JSON objects.
- Must be run with an API token from the main account. Please ensure to change the region in the URL to match your account's region.
Request
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- If
isFlexible=false
, this field does not apply and will be null. - If
isFlexible=true
, this determines the daily volume in GBs that is reserved for the account, given as an integer. -
If
isFlexible=false
this is the only capacity reserved for use by the account. Cannot be null. -
If
isFlexible=true
this is used to limit the account's access to shared volume. Once the data shipped to the account exceeds the account's reserved capacity, the account can continue to index data up to itsmaxDailyGB
, as long as shared volume is available. -
If null (and
isFlexible=true
), the account is uncapped and can continue to index data as long as shared volume is available. - Array [
- ]
-
If
isFlexible=false
, this field does not apply and will befalse
. -
If
isFlexible=true
, this field determines whether the account is capped by GB. If the account is capped,true
. -
If
isFlexible=false
, this field does not apply and will benull
. -
If
isFlexible=true
, this determines the account plan volume in GB. -
If
isFlexible=false
, this field does not apply and will benull
. -
If
isFlexible=true
, this determines the shareable volume in GB. - ]
ID of the account
Email address of the user who created the account
Name of the account
Default value: false
Indicates whether the plan has shared volume enabled.
If true
, the volume of data that the account can index per calendar day is determined by 2 parameters: reservedDailyGB
(Required) and maxDailyGB
(Optional, can be null).
If false
, the volume of data that the account can index per calendar day is determined only by maxDailyGB
. The parameter reservedDailyGB
does not apply and should be null.
The maximum volume of data that an account can index per calendar day.
How long log data is retained in the Elasticsearch Index and searchable in Kibana, in days.
Default value: false
If other accounts can search this account's logs, true
. Otherwise, false
.
Default value: false
If users of the main account can access this account, true
. Otherwise, false
.
Default value: false
Adds a LogSize field to each log to record the size in bytes, to better manage the account utilization.
sharingObjectsAccounts object[]
Accounts that have permissions to access this account's Kibana objects.
ID of the account
Name of the account
utilizationSettings object
Settings for logging metrics on your account utilization, such as used and expected data volume at current indexing rate.
How often utilization metrics are written to logs, in minutes
If utilization metrics are written to logs, true
. Otherwise, false
.
Default value: false
Default value: false
If the account is an owner account, true
. Otherwise, false
.
[
{
"accountId": 99999,
"email": null,
"accountName": "404 errors",
"isFlexible": true,
"reservedDailyGB": 0,
"maxDailyGB": 5,
"retentionDays": 5,
"searchable": true,
"accessible": false,
"docSizeSetting": true,
"sharingObjectsAccounts": [
{
"accountId": 88888,
"accountName": "dev group 8"
}
],
"utilizationSettings": {
"frequencyMinutes": 5,
"utilizationEnabled": true
},
"isCapped": false,
"totalTimeBasedDailyGB": 5,
"sharedGB": 5,
"isOwner": false
}
]