Manage time-based log accounts
Use these API requests to manage time-based log accounts:
- Create, update, or delete a sub account.
- Allocate daily capacity to the main account and/or sub accounts.
- Retrieve account activity stats and/or account configuration details.
Flexible storage & shared volume
Flexible storage and shared volume allow accounts to share indexing capacity.
To enable shared volume, go to the Manage accounts page in the Logz.io app and toggle the button Use flexible volume to turn it on.
To determine whether flexible storage is enabled, run a Get
request to retrieve account details.
- If
isFlexible
is true, flexible storage is enabled and every account has reserved capacity set by the parameterreservedDailyGB
. - If false, flexible storage is disabled and the parameter
reservedDailyGB
is null.
Retrieve settings for all accounts
Returns account settings for the main account and all of its associated sub accounts.
Create a sub account
Creates a new logging sub account. Must be run with an API token from the main account.
Retrieve account settings by ID
Returns account configuration settings as a JSON object. Must be run with an API token from the main account.
Update an account
Updates the account settings of a main account or sub account, with some exceptions, noted below:
Delete a sub account
Deletes a sub account by its account ID. Must be run with an API token from the main account.
Retrieve detailed information for all accounts
Returns detailed account information for the main account and all of its associated sub accounts. Information includes usage and sharing permissions for Kibana objects.
Retrieve detailed account information by account ID
Returns detailed account information. Must be run with an API token from the main account.