Skip to main content

ingest_budgets_v2

Overview

Nameingest_budgets_v2
TypeResource
Idsumologic.ingest_budgets.ingest_budgets_v2

Fields

NameDatatypeDescription
idstringUnique identifier for the ingest budget.
namestringDisplay name of the ingest budget.
descriptionstringDescription of the ingest budget.
actionstringAction to take when ingest budget's capacity is reached. All actions are audited. Supported values are:
stopCollecting
keepCollecting
auditThresholdintegerThe threshold as a percentage of when an ingest budget's capacity usage is logged in the Audit Index.
budgetVersionintegerThe version of the Ingest Budget
capacityBytesintegerCapacity of the ingest budget, in bytes. It takes a few minutes for Collectors to stop collecting when capacity is reached. We recommend setting a soft limit that is lower than your needed hard limit.
createdAtstringThe creation timestamp in UTC of the Ingest Budget.
createdBystringThe identifier of the user who created the Ingest Budget.
modifiedAtstringThe modified timestamp in UTC of the Ingest Budget.
modifiedBystringThe identifier of the user who modified the Ingest Budget.
resetTimestringReset time of the ingest budget in HH:MM format.
scopestringA scope is a constraint that will be used to identify the messages on which budget needs to be applied. A scope is consists of key and value separated by =. The field must be enabled in the fields table. Value supports wildcard. e.g. _sourceCategory=prodpayment, cluster=kafka. If the scope is defined _sourceCategory=nginx* in this budget will be applied on messages having fields _sourceCategory=prod/nginx, _sourceCategory=dev/nginx, or _sourceCategory=dev/nginx/error
timezonestringTime zone of the reset time for the ingest budget. Follow the format in the IANA Time Zone Database.
usageBytesintegerCurrent usage since the last reset, in bytes.
usageStatusstringStatus of the current usage. Can be Normal, Approaching, Exceeded, or Unknown (unable to retrieve usage).

Methods

NameAccessible byRequired ParamsDescription
getIngestBudgetV2SELECTid, regionGet an ingest budget by the given identifier.
listIngestBudgetsV2SELECTregionGet a list of all ingest budgets. The response is paginated with a default limit of 100 budgets per page.
createIngestBudgetV2INSERTdata__action, data__capacityBytes, data__name, data__resetTime, data__scope, data__timezone, regionCreate a new ingest budget.
deleteIngestBudgetV2DELETEid, regionDelete an ingest budget with the given identifier.
updateIngestBudgetV2EXECid, data__action, data__capacityBytes, data__name, data__resetTime, data__scope, data__timezone, regionUpdate an existing ingest budget. All properties specified in the request are required.