Categorygithub.com/SumoLogic/sumologic-go-sdk
repositorypackage
1.0.0
Repository: https://github.com/sumologic/sumologic-go-sdk.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Go API client for sumologic

Getting Started

Welcome to the Sumo Logic API reference. You can use these APIs to interact with the Sumo Logic platform. For information on Collector and Search Job APIs, see our API home page.

API Endpoints

Sumo Logic has several deployments in different geographic locations. You'll need to use the Sumo Logic API endpoint corresponding to your geographic location. See the table below for the different API endpoints by deployment. For details determining your account's deployment, see API endpoints.

Deployment Endpoint
AU https://api.au.sumologic.com/api/
CA https://api.ca.sumologic.com/api/
DE https://api.de.sumologic.com/api/
EU https://api.eu.sumologic.com/api/
FED https://api.fed.sumologic.com/api/
IN https://api.in.sumologic.com/api/
JP https://api.jp.sumologic.com/api/
KR https://api.kr.sumologic.com/api/
US1 https://api.sumologic.com/api/
US2 https://api.us2.sumologic.com/api/

Authentication

Sumo Logic supports the following options for API authentication:

  • Access ID and Access Key
  • Base64 encoded Access ID and Access Key

See Access Keys to generate an Access Key. Make sure to copy the key you create, because it is displayed only once. When you have an Access ID and Access Key you can execute requests such as the following:

curl -u \"<accessId>:<accessKey>\" -X GET https://api.<deployment>.sumologic.com/api/v1/users

Where deployment is either au, ca, de, eu, fed, in, jp, us1, or us2. See API endpoints for details.

If you prefer to use basic access authentication, you can do a Base64 encoding of your <accessId>:<accessKey> to authenticate your HTTPS request. The following is an example request, replace the placeholder <encoded> with your encoded Access ID and Access Key string:

curl -H \"Authorization: Basic <encoded>\" -X GET https://api.<deployment>.sumologic.com/api/v1/users

Refer to API Authentication for a Base64 example.

Status Codes

Generic status codes that apply to all our APIs. See the HTTP status code registry for reference.

HTTP Status Code Error Code Description
301 moved The requested resource SHOULD be accessed through returned URI in Location Header. See [troubleshooting](https://help.sumologic.com/docs/api/troubleshooting/#api---301-error---moved) for details.
401 unauthorized Credential could not be verified.
403 forbidden This operation is not allowed for your account type or the user doesn't have the role capability to perform this action. See [troubleshooting](https://help.sumologic.com/docs/api/troubleshooting/#api---401-error---credential-could-not-be-verified) for details.
404 notfound Requested resource could not be found.
405 method.unsupported Unsupported method for URL.
415 contenttype.invalid Invalid content type.
429 rate.limit.exceeded The API request rate is higher than 4 request per second or inflight API requests are higher than 10 request per second.
500 internal.error Internal server error.
503 service.unavailable Service is currently unavailable.

Filtering

Some API endpoints support filtering results on a specified set of fields. Each endpoint that supports filtering will list the fields that can be filtered. Multiple fields can be combined by using an ampersand & character.

For example, to get 20 users whose firstName is John and lastName is Doe:

api.sumologic.com/v1/users?limit=20&firstName=John&lastName=Doe

Sorting

Some API endpoints support sorting fields by using the sortBy query parameter. The default sort order is ascending. Prefix the field with a minus sign - to sort in descending order.

For example, to get 20 users sorted by their email in descending order:

api.sumologic.com/v1/users?limit=20&sort=-email

Asynchronous Request

Asynchronous requests do not wait for results, instead they immediately respond back with a job identifier while the job runs in the background. You can use the job identifier to track the status of the asynchronous job request. Here is a typical flow for an asynchronous request.

  1. Start an asynchronous job. On success, a job identifier is returned. The job identifier uniquely identifies your asynchronous job.

  2. Once started, use the job identifier from step 1 to track the status of your asynchronous job. An asynchronous request will typically provide an endpoint to poll for the status of asynchronous job. A successful response from the status endpoint will have the following structure:

{
    \"status\": \"Status of asynchronous request\",
    \"statusMessage\": \"Optional message with additional information in case request succeeds\",
    \"error\": \"Error object in case request fails\"
}

The status field can have one of the following values: 1. Success: The job succeeded. The statusMessage field might have additional information. 2. InProgress: The job is still running. 3. Failed: The job failed. The error field in the response will have more information about the failure.

  1. Some asynchronous APIs may provide a third endpoint (like export result) to fetch the result of an asynchronous job.

Example

Let's say we want to export a folder with the identifier 0000000006A2E86F. We will use the async export API to export all the content under the folder with id=0000000006A2E86F.

  1. Start an export job for the folder
curl -X POST -u \"<accessId>:<accessKey>\" https://api.<deployment>.sumologic.com/api/v2/content/0000000006A2E86F/export

See authentication section for more details about accessId, accessKey, and deployment. On success, you will get back a job identifier. In the response below, C03E086C137F38B4 is the job identifier.

{
    \"id\": \"C03E086C137F38B4\"
}
  1. Now poll for the status of the asynchronous job with the status endpoint.
curl -X GET -u \"<accessId>:<accessKey>\" https://api.<deployment>.sumologic.com/api/v2/content/0000000006A2E86F/export/C03E086C137F38B4/status

You may get a response like

{
    \"status\": \"InProgress\",
    \"statusMessage\": null,
    \"error\": null
}

It implies the job is still in progress. Keep polling till the status is either Success or Failed.

  1. When the asynchronous job completes (status != \"InProgress\"), you can fetch the results with the export result endpoint.
curl -X GET -u \"<accessId>:<accessKey>\" https://api.<deployment>.sumologic.com/api/v2/content/0000000006A2E86F/export/C03E086C137F38B4/result

The asynchronous job may fail (status == \"Failed\"). You can look at the error field for more details.

{
    \"status\": \"Failed\",
    \"errors\": {
        \"code\": \"content1:too_many_items\",
        \"message\": \"Too many objects: object count(1100) was greater than limit 1000\"
    }
}

Rate Limiting

  • A rate limit of four API requests per second (240 requests per minute) applies to all API calls from a user.
  • A rate limit of 10 concurrent requests to any API endpoint applies to an access key.

If a rate is exceeded, a rate limit exceeded 429 status code is returned.

Generating Clients

You can use OpenAPI Generator to generate clients from the YAML file to access the API.

Using NPM

  1. Install NPM package wrapper globally, exposing the CLI on the command line:
npm install @openapitools/openapi-generator-cli -g

You can see detailed instructions here.

  1. Download the YAML file and save it locally. Let's say the file is saved as sumologic-api.yaml.
  2. Use the following command to generate python client inside the sumo/client/python directory:
openapi-generator generate -i sumologic-api.yaml -g python -o sumo/client/python

Using Homebrew

  1. Install OpenAPI Generator
brew install openapi-generator
  1. Download the YAML file and save it locally. Let's say the file is saved as sumologic-api.yaml.
  2. Use the following command to generate python client side code inside the sumo/client/python directory:
openapi-generator generate -i sumologic-api.yaml -g python -o sumo/client/python

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.11.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import sumologic "github.com/SumoLogic/sumologic-go-sdk"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sumologic.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), sumologic.ContextServerIndex, 1)

Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sumologic.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), sumologic.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sumologic.ContextOperationServerIndices and sumologic.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), sumologic.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), sumologic.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.au.sumologic.com/api

ClassMethodHTTP requestDescription
AccessKeyManagementAPICreateAccessKeyPost /v1/accessKeysCreate an access key.
AccessKeyManagementAPIDeleteAccessKeyDelete /v1/accessKeys/{id}Delete an access key.
AccessKeyManagementAPIListAccessKeysGet /v1/accessKeysList all access keys.
AccessKeyManagementAPIListPersonalAccessKeysGet /v1/accessKeys/personalList personal keys.
AccessKeyManagementAPIListScopesGet /v1/accessKeys/scopesGet all scopes.
AccessKeyManagementAPIUpdateAccessKeyPut /v1/accessKeys/{id}Update an access key.
AccountManagementAPICreateSubdomainPost /v1/account/subdomainCreate account subdomain.
AccountManagementAPIDeletePendingUpdateRequestDelete /v1/plan/pendingUpdateRequestDelete the pending plan update request, if any.
AccountManagementAPIDeleteSubdomainDelete /v1/account/subdomainDelete the configured subdomain.
AccountManagementAPIExportUsageReportPost /v1/account/usage/reportExport credits usage details as CSV.
AccountManagementAPIGetAccountOwnerGet /v1/account/accountOwnerGet the owner of an account.
AccountManagementAPIGetPendingUpdateRequestGet /v1/plan/pendingUpdateRequestGet the pending plan update request, if any.
AccountManagementAPIGetStatusGet /v1/account/statusGet overview of the account status.
AccountManagementAPIGetStatusForReportGet /v1/account/usage/report/{jobId}/statusGet report generation status.
AccountManagementAPIGetSubdomainGet /v1/account/subdomainGet the configured subdomain.
AccountManagementAPIGetUsageForecastGet /v1/account/usageForecastGet usage forecast with respect to last number of days specified.
AccountManagementAPIRecoverSubdomainsPost /v1/account/subdomain/recoverRecover subdomains for a user.
AccountManagementAPIUpdateSubdomainPut /v1/account/subdomainUpdate account subdomain.
AppManagementAPIGetAppGet /v1/apps/{uuid}Get an app by UUID.
AppManagementAPIGetAsyncInstallStatusGet /v1/apps/install/{jobId}/statusApp install job status.
AppManagementAPIInstallAppPost /v1/apps/{uuid}/installInstall an app by UUID.
AppManagementAPIListAppsGet /v1/appsList available apps.
AppManagementV2APIAsyncInstallAppPost /v2/apps/{uuid}/installStart app install job
AppManagementV2APIAsyncUninstallAppPost /v2/apps/{uuid}/uninstallStart app uninstall job
AppManagementV2APIAsyncUpgradeAppPost /v2/apps/{uuid}/upgradeStart app upgrade job
AppManagementV2APIGetAppDetailsGet /v2/apps/{uuid}/detailsGet details of an app version.
AppManagementV2APIGetAsyncInstallAppStatusGet /v2/apps/install/{jobId}/statusApp install job status
AppManagementV2APIGetAsyncUninstallAppStatusGet /v2/apps/uninstall/{jobId}/statusApp uninstall job status
AppManagementV2APIGetAsyncUpgradeAppStatusGet /v2/apps/upgrade/{jobId}/statusApp upgrade job status
AppManagementV2APIListAppsV2Get /v2/appsList apps
ArchiveManagementAPICreateArchiveJobPost /v1/archive/{sourceId}/jobsCreate an ingestion job.
ArchiveManagementAPIDeleteArchiveJobDelete /v1/archive/{sourceId}/jobs/{id}Delete an ingestion job.
ArchiveManagementAPIListArchiveJobsBySourceIdGet /v1/archive/{sourceId}/jobsGet ingestion jobs for an Archive Source.
ArchiveManagementAPIListArchiveJobsCountPerSourceGet /v1/archive/jobs/countList ingestion jobs for all Archive Sources.
BudgetManagementAPICreateBudgetPost /v1/budgetsCreates a budget definition
BudgetManagementAPIDeleteBudgetDelete /v1/budgets/{budgetId}Delete budget
BudgetManagementAPIGetBudgetGet /v1/budgets/{budgetId}Get budget
BudgetManagementAPIGetBudgetUsageGet /v1/budgets/{budgetId}/usageGet budget usage
BudgetManagementAPIGetBudgetUsagesGet /v1/budgets/usageGet budget usages
BudgetManagementAPIGetBudgetsGet /v1/budgetsGet budgets
BudgetManagementAPIUpdateBudgetPut /v1/budgets/{budgetId}Update budget
ConnectionManagementAPICreateConnectionPost /v1/connectionsCreate a new connection.
ConnectionManagementAPIDeleteConnectionDelete /v1/connections/{id}Delete a connection.
ConnectionManagementAPIGetConnectionGet /v1/connections/{id}Get a connection.
ConnectionManagementAPIGetIncidentTemplatesPost /v1/connections/incidentTemplatesGet incident templates for CloudSOAR connections.
ConnectionManagementAPIListConnectionsGet /v1/connectionsGet a list of connections.
ConnectionManagementAPITestConnectionPost /v1/connections/testTest a new connection url.
ConnectionManagementAPIUpdateConnectionPut /v1/connections/{id}Update a connection.
ContentManagementAPIAsyncCopyStatusGet /v2/content/{id}/copy/{jobId}/statusContent copy job status.
ContentManagementAPIBeginAsyncCopyPost /v2/content/{id}/copyStart a content copy job.
ContentManagementAPIBeginAsyncDeleteDelete /v2/content/{id}/deleteStart a content deletion job.
ContentManagementAPIBeginAsyncExportPost /v2/content/{id}/exportStart a content export job.
ContentManagementAPIBeginAsyncImportPost /v2/content/folders/{folderId}/importStart a content import job.
ContentManagementAPIGetAsyncDeleteStatusGet /v2/content/{id}/delete/{jobId}/statusContent deletion job status.
ContentManagementAPIGetAsyncExportResultGet /v2/content/{contentId}/export/{jobId}/resultContent export job result.
ContentManagementAPIGetAsyncExportStatusGet /v2/content/{contentId}/export/{jobId}/statusContent export job status.
ContentManagementAPIGetAsyncImportStatusGet /v2/content/folders/{folderId}/import/{jobId}/statusContent import job status.
ContentManagementAPIGetItemByPathGet /v2/content/pathGet content item by path.
ContentManagementAPIGetPathByIdGet /v2/content/{contentId}/pathGet path of an item.
ContentManagementAPIMoveItemPost /v2/content/{id}/moveMove an item.
ContentPermissionsAPIAddContentPermissionsPut /v2/content/{id}/permissions/addAdd permissions to a content item.
ContentPermissionsAPIGetContentPermissionsGet /v2/content/{id}/permissionsGet permissions of a content item
ContentPermissionsAPIRemoveContentPermissionsPut /v2/content/{id}/permissions/removeRemove permissions from a content item.
DashboardManagementAPICreateDashboardPost /v2/dashboardsCreate a new dashboard.
DashboardManagementAPICreateScheduleReportPost /v1/dashboards/reportSchedulesSchedule dashboard report
DashboardManagementAPIDeleteDashboardDelete /v2/dashboards/{id}Delete a dashboard.
DashboardManagementAPIDeleteReportScheduleDelete /v1/dashboards/reportSchedules/{scheduleId}Delete dashboard report schedule.
DashboardManagementAPIGenerateDashboardReportPost /v2/dashboards/reportJobsStart a report job
DashboardManagementAPIGetAsyncReportGenerationResultGet /v2/dashboards/reportJobs/{jobId}/resultGet report generation job result
DashboardManagementAPIGetAsyncReportGenerationStatusGet /v2/dashboards/reportJobs/{jobId}/statusGet report generation job status
DashboardManagementAPIGetDashboardGet /v2/dashboards/{id}Get a dashboard.
DashboardManagementAPIGetDashboardMigrationResultGet /v2/dashboards/migrate/{jobId}/resultGet dashboard migration result.
DashboardManagementAPIGetDashboardMigrationStatusGet /v2/dashboards/migrate/{jobId}/statusGet dashboard migration status.
DashboardManagementAPIGetReportScheduleGet /v1/dashboards/reportSchedules/{scheduleId}Get dashboard report schedule.
DashboardManagementAPIListDashboardsGet /v2/dashboardsList all dashboards.
DashboardManagementAPIListReportSchedulesGet /v1/dashboards/reportSchedulesList all dashboard report schedules.
DashboardManagementAPIMigrateReportToDashboardPost /v2/dashboards/migrateMigrate Legacy Dashboards to Dashboards(New)
DashboardManagementAPIPreviewMigrateReportToDashboardPost /v2/dashboards/migrate/previewPreview of Migrating Legacy Dashboards to Dashboards(New)
DashboardManagementAPIUpdateDashboardPut /v2/dashboards/{id}Update a dashboard.
DashboardManagementAPIUpdateReportSchedulePut /v1/dashboards/reportSchedules/{scheduleId}Update dashboard report schedule.
DynamicParsingRuleManagementAPICreateDynamicParsingRulePost /v1/dynamicParsingRulesCreate a new dynamic parsing rule.
DynamicParsingRuleManagementAPIDeleteDynamicParsingRuleDelete /v1/dynamicParsingRules/{id}Delete a dynamic parsing rule.
DynamicParsingRuleManagementAPIGetDynamicParsingRuleGet /v1/dynamicParsingRules/{id}Get a dynamic parsing rule.
DynamicParsingRuleManagementAPIListDynamicParsingRulesGet /v1/dynamicParsingRulesGet a list of dynamic parsing rules.
DynamicParsingRuleManagementAPIUpdateDynamicParsingRulePut /v1/dynamicParsingRules/{id}Update a dynamic parsing rule.
ExtractionRuleManagementAPICreateExtractionRulePost /v1/extractionRulesCreate a new field extraction rule.
ExtractionRuleManagementAPIDeleteExtractionRuleDelete /v1/extractionRules/{id}Delete a field extraction rule.
ExtractionRuleManagementAPIGetExtractionRuleGet /v1/extractionRules/{id}Get a field extraction rule.
ExtractionRuleManagementAPIListExtractionRulesGet /v1/extractionRulesGet a list of field extraction rules.
ExtractionRuleManagementAPIUpdateExtractionRulePut /v1/extractionRules/{id}Update a field extraction rule.
FieldManagementV1APICreateFieldPost /v1/fieldsCreate a new field.
FieldManagementV1APIDeleteFieldDelete /v1/fields/{id}Delete a custom field.
FieldManagementV1APIDisableFieldDelete /v1/fields/{id}/disableDisable a custom field.
FieldManagementV1APIEnableFieldPut /v1/fields/{id}/enableEnable custom field with a specified identifier.
FieldManagementV1APIGetBuiltInFieldGet /v1/fields/builtin/{id}Get a built-in field.
FieldManagementV1APIGetCustomFieldGet /v1/fields/{id}Get a custom field.
FieldManagementV1APIGetFieldQuotaGet /v1/fields/quotaGet capacity information.
FieldManagementV1APIListBuiltInFieldsGet /v1/fields/builtinGet a list of built-in fields.
FieldManagementV1APIListCustomFieldsGet /v1/fieldsGet a list of all custom fields.
FieldManagementV1APIListDroppedFieldsGet /v1/fields/droppedGet a list of dropped fields.
FolderManagementAPICreateFolderPost /v2/content/foldersCreate a new folder.
FolderManagementAPIGetAdminRecommendedFolderAsyncGet /v2/content/folders/adminRecommendedSchedule Admin Recommended folder job
FolderManagementAPIGetAdminRecommendedFolderAsyncResultGet /v2/content/folders/adminRecommended/{jobId}/resultGet Admin Recommended folder job result
FolderManagementAPIGetAdminRecommendedFolderAsyncStatusGet /v2/content/folders/adminRecommended/{jobId}/statusGet Admin Recommended folder job status
FolderManagementAPIGetFolderGet /v2/content/folders/{id}Get a folder.
FolderManagementAPIGetGlobalFolderAsyncGet /v2/content/folders/globalSchedule Global View job
FolderManagementAPIGetGlobalFolderAsyncResultGet /v2/content/folders/global/{jobId}/resultGet Global View job result
FolderManagementAPIGetGlobalFolderAsyncStatusGet /v2/content/folders/global/{jobId}/statusGet Global View job status
FolderManagementAPIGetPersonalFolderGet /v2/content/folders/personalGet personal folder.
FolderManagementAPIUpdateFolderPut /v2/content/folders/{id}Update a folder.
HealthEventsAPIListAllHealthEventsGet /v1/healthEventsGet a list of health events.
HealthEventsAPIListAllHealthEventsForResourcesPost /v1/healthEvents/resourcesHealth events for specific resources.
IngestBudgetManagementV1APIAssignCollectorToBudgetPut /v1/ingestBudgets/{id}/collectors/{collectorId}Assign a Collector to a budget.
IngestBudgetManagementV1APICreateIngestBudgetPost /v1/ingestBudgetsCreate a new ingest budget.
IngestBudgetManagementV1APIDeleteIngestBudgetDelete /v1/ingestBudgets/{id}Delete an ingest budget.
IngestBudgetManagementV1APIGetAssignedCollectorsGet /v1/ingestBudgets/{id}/collectorsGet a list of Collectors.
IngestBudgetManagementV1APIGetIngestBudgetGet /v1/ingestBudgets/{id}Get an ingest budget.
IngestBudgetManagementV1APIListIngestBudgetsGet /v1/ingestBudgetsGet a list of ingest budgets.
IngestBudgetManagementV1APIRemoveCollectorFromBudgetDelete /v1/ingestBudgets/{id}/collectors/{collectorId}Remove Collector from a budget.
IngestBudgetManagementV1APIResetUsagePost /v1/ingestBudgets/{id}/usage/resetReset usage.
IngestBudgetManagementV1APIUpdateIngestBudgetPut /v1/ingestBudgets/{id}Update an ingest budget.
IngestBudgetManagementV2APICreateIngestBudgetV2Post /v2/ingestBudgetsCreate a new ingest budget.
IngestBudgetManagementV2APIDeleteIngestBudgetV2Delete /v2/ingestBudgets/{id}Delete an ingest budget.
IngestBudgetManagementV2APIGetIngestBudgetV2Get /v2/ingestBudgets/{id}Get an ingest budget.
IngestBudgetManagementV2APIListIngestBudgetsV2Get /v2/ingestBudgetsGet a list of ingest budgets.
IngestBudgetManagementV2APIResetUsageV2Post /v2/ingestBudgets/{id}/usage/resetReset usage.
IngestBudgetManagementV2APIUpdateIngestBudgetV2Put /v2/ingestBudgets/{id}Update an ingest budget.
LogSearchesEstimatedUsageAPIGetLogSearchEstimatedUsagePost /v1/logSearches/estimatedUsageGets estimated usage details.
LogSearchesEstimatedUsageAPIGetLogSearchEstimatedUsageByMeteringTypePost /v1/logSearches/estimatedUsageByMeteringTypeGets estimated usage details per metering type.
LogSearchesEstimatedUsageAPIGetLogSearchEstimatedUsageByTierPost /v1/logSearches/estimatedUsageByTierGets Tier Wise estimated usage details.
LogSearchesManagementAPICreateLogSearchPost /v1/logSearchesSave a log search.
LogSearchesManagementAPIDeleteLogSearchDelete /v1/logSearches/{id}Delete the saved log search.
LogSearchesManagementAPIGetLogSearchGet /v1/logSearches/{id}Get the saved log search.
LogSearchesManagementAPIListLogSearchesGet /v1/logSearchesList all saved log searches.
LogSearchesManagementAPIUpdateLogSearchPut /v1/logSearches/{id}Update the saved log Search.
LogsDataForwardingManagementAPICreateDataForwardingBucketPost /v1/logsDataForwarding/destinationsCreate an S3 data forwarding destination.
LogsDataForwardingManagementAPICreateDataForwardingRulePost /v1/logsDataForwarding/rulesCreate an S3 data forwarding rule.
LogsDataForwardingManagementAPIDeleteDataForwardingBucketDelete /v1/logsDataForwarding/destinations/{id}Delete an S3 data forwarding destination.
LogsDataForwardingManagementAPIDeleteDataForwardingRuleDelete /v1/logsDataForwarding/rules/{indexId}Delete an S3 data forwarding rule by its index.
LogsDataForwardingManagementAPIGetDataForwardingBucketsGet /v1/logsDataForwarding/destinationsGet Amazon S3 data forwarding destinations.
LogsDataForwardingManagementAPIGetDataForwardingDestinationGet /v1/logsDataForwarding/destinations/{id}Get an S3 data forwarding destination.
LogsDataForwardingManagementAPIGetDataForwardingRuleGet /v1/logsDataForwarding/rules/{indexId}Get an S3 data forwarding rule by its index.
LogsDataForwardingManagementAPIGetRulesAndBucketsGet /v1/logsDataForwarding/rulesGet all S3 data forwarding rules.
LogsDataForwardingManagementAPIUpdateDataForwardingBucketPut /v1/logsDataForwarding/destinations/{id}Update an S3 data forwarding destination.
LogsDataForwardingManagementAPIUpdateDataForwardingRulePut /v1/logsDataForwarding/rules/{indexId}Update an S3 data forwarding rule by its index.
LookupManagementAPICreateTablePost /v1/lookupTablesCreate a lookup table.
LookupManagementAPIDeleteTableDelete /v1/lookupTables/{id}Delete a lookup table.
LookupManagementAPIDeleteTableRowPut /v1/lookupTables/{id}/deleteTableRowDelete a lookup table row.
LookupManagementAPILookupTableByIdGet /v1/lookupTables/{id}Get a lookup table.
LookupManagementAPIRequestJobStatusGet /v1/lookupTables/jobs/{jobId}/statusGet the status of an async job.
LookupManagementAPITruncateTablePost /v1/lookupTables/{id}/truncateEmpty a lookup table.
LookupManagementAPIUpdateTablePut /v1/lookupTables/{id}Edit a lookup table.
LookupManagementAPIUpdateTableRowPut /v1/lookupTables/{id}/rowInsert or Update a lookup table row.
LookupManagementAPIUploadFilePost /v1/lookupTables/{id}/uploadUpload a CSV file.
MetricsQueryAPIRunMetricsQueriesPost /v1/metricsQueriesRun metrics queries
MetricsSearchesManagementAPICreateMetricsSearchPost /v1/metricsSearchesSave a metrics search.
MetricsSearchesManagementAPIDeleteMetricsSearchDelete /v1/metricsSearches/{id}Deletes a metrics search.
MetricsSearchesManagementAPIGetMetricsSearchGet /v1/metricsSearches/{id}Get a metrics search.
MetricsSearchesManagementAPIUpdateMetricsSearchPut /v1/metricsSearches/{id}Updates a metrics search.
MetricsSearchesManagementV2APICreateMetricsSearchesPost /v2/metricsSearchesCreate a new metrics search page.
MetricsSearchesManagementV2APIDeleteMetricsSearchesDelete /v2/metricsSearches/{id}Delete a metrics search page.
MetricsSearchesManagementV2APIGetMetricsSearchesGet /v2/metricsSearches/{id}Get a metrics search page.
MetricsSearchesManagementV2APIListMetricsSearchesGet /v2/metricsSearchesList all metrics search pages.
MetricsSearchesManagementV2APIUpdateMetricsSearchesPut /v2/metricsSearches/{id}Update a metrics search page.
MonitorsLibraryManagementAPIDisableMonitorByIdsPut /v1/monitors/disableDisable monitors.
MonitorsLibraryManagementAPIGetMonitorPlaybooksGet /v1/monitors/playbooksList all playbooks.
MonitorsLibraryManagementAPIGetMonitorUsageInfoGet /v1/monitors/usageInfoUsage info of monitors.
MonitorsLibraryManagementAPIGetMonitorsFullPathGet /v1/monitors/{id}/pathGet the path of a monitor or folder.
MonitorsLibraryManagementAPIGetMonitorsLibraryRootGet /v1/monitors/rootGet the root monitors folder.
MonitorsLibraryManagementAPIGetPlaybooksDetailsGet /v1/monitors/playbooksDetailsGet playbook details.
MonitorsLibraryManagementAPIMonitorsCopyPost /v1/monitors/{id}/copyCopy a monitor or folder.
MonitorsLibraryManagementAPIMonitorsCreatePost /v1/monitorsCreate a monitor or folder.
MonitorsLibraryManagementAPIMonitorsDeleteByIdDelete /v1/monitors/{id}Delete a monitor or folder.
MonitorsLibraryManagementAPIMonitorsDeleteByIdsDelete /v1/monitorsBulk delete a monitor or folder.
MonitorsLibraryManagementAPIMonitorsExportItemGet /v1/monitors/{id}/exportExport a monitor or folder.
MonitorsLibraryManagementAPIMonitorsGetByPathGet /v1/monitors/pathRead a monitor or folder by its path.
MonitorsLibraryManagementAPIMonitorsImportItemPost /v1/monitors/{parentId}/importImport a monitor or folder.
MonitorsLibraryManagementAPIMonitorsMovePost /v1/monitors/{id}/moveMove a monitor or folder.
MonitorsLibraryManagementAPIMonitorsReadByIdGet /v1/monitors/{id}Get a monitor or folder.
MonitorsLibraryManagementAPIMonitorsReadByIdsGet /v1/monitorsBulk read a monitor or folder.
MonitorsLibraryManagementAPIMonitorsReadPermissionSummariesByIdGroupBySubjectsGet /v1/monitors/{id}/permissionSummariesBySubjectsList permission summaries for a monitor or folder.
MonitorsLibraryManagementAPIMonitorsReadPermissionsByIdGet /v1/monitors/{id}/permissionsList explicit permissions on monitor or folder.
MonitorsLibraryManagementAPIMonitorsRevokePermissionsPut /v1/monitors/permissions/revokeRevoke all permissions on monitor or folder.
MonitorsLibraryManagementAPIMonitorsSearchGet /v1/monitors/searchSearch for a monitor or folder.
MonitorsLibraryManagementAPIMonitorsSetPermissionsPut /v1/monitors/permissions/setSet permissions on monitor or folder.
MonitorsLibraryManagementAPIMonitorsUpdateByIdPut /v1/monitors/{id}Update a monitor or folder.
MutingSchedulesLibraryManagementAPIGetMutingSchedulesFullPathGet /v1/mutingSchedules/{id}/pathGet the path of a mutingschedule or folder.
MutingSchedulesLibraryManagementAPIGetMutingSchedulesLibraryRootGet /v1/mutingSchedules/rootGet the root mutingSchedules folder.
MutingSchedulesLibraryManagementAPIMutingSchedulesCopyPost /v1/mutingSchedules/{id}/copyCopy a mutingschedule or folder.
MutingSchedulesLibraryManagementAPIMutingSchedulesCreatePost /v1/mutingSchedulesCreate a mutingschedule or folder.
MutingSchedulesLibraryManagementAPIMutingSchedulesDeleteByIdDelete /v1/mutingSchedules/{id}Delete a mutingschedule or folder.
MutingSchedulesLibraryManagementAPIMutingSchedulesDeleteByIdsDelete /v1/mutingSchedulesBulk delete a mutingschedule or folder.
MutingSchedulesLibraryManagementAPIMutingSchedulesExportItemGet /v1/mutingSchedules/{id}/exportExport a mutingschedule or folder.
MutingSchedulesLibraryManagementAPIMutingSchedulesImportItemPost /v1/mutingSchedules/{parentId}/importImport a mutingschedule or folder.
MutingSchedulesLibraryManagementAPIMutingSchedulesReadByIdGet /v1/mutingSchedules/{id}Get a mutingschedule or folder.
MutingSchedulesLibraryManagementAPIMutingSchedulesReadByIdsGet /v1/mutingSchedulesBulk read a mutingschedule or folder.
MutingSchedulesLibraryManagementAPIMutingSchedulesSearchGet /v1/mutingSchedules/searchSearch for a mutingschedule or folder.
MutingSchedulesLibraryManagementAPIMutingSchedulesUpdateByIdPut /v1/mutingSchedules/{id}Update a mutingschedule or folder.
OrgsManagementAPIGetChildUsagesPost /v1/organizations/usagesGet usages for child orgs.
OtCollectorManagementExternalAPIDeleteOTCollectorDelete /v1/otCollectors/{id}Delete an OT Collector.
OtCollectorManagementExternalAPIDeleteOfflineOTCollectorsDelete /v1/otCollectors/offlineDelete all Offline OT Collectors
OtCollectorManagementExternalAPIGetOTCollectorGet /v1/otCollectors/{id}Get OT Collector by ID.
OtCollectorManagementExternalAPIGetOTCollectorsByNamesGet /v1/otCollectors/otCollectorsByNameGet OT Collectors by name.
OtCollectorManagementExternalAPIGetOTCollectorsCountGet /v1/otCollectors/totalCountGet a count of OT Collectors.
OtCollectorManagementExternalAPIGetPaginatedOTCollectorsPost /v1/otCollectorsGet paginated list of OT Collectors
ParsersLibraryManagementAPIGetParsersFullPathGet /v1/parsers/{id}/pathGet full path of folder or parser.
ParsersLibraryManagementAPIGetParsersLibraryRootGet /v1/parsers/rootGet the root folder in the library.
ParsersLibraryManagementAPIParsersCopyPost /v1/parsers/{id}/copyCopy a folder or parser.
ParsersLibraryManagementAPIParsersCreatePost /v1/parsersCreate a folder or parser.
ParsersLibraryManagementAPIParsersDeleteByIdDelete /v1/parsers/{id}Delete a folder or parser.
ParsersLibraryManagementAPIParsersDeleteByIdsDelete /v1/parsersBulk delete folders and parsers.
ParsersLibraryManagementAPIParsersExportItemGet /v1/parsers/{id}/exportExport a folder or parser.
ParsersLibraryManagementAPIParsersGetByPathGet /v1/parsers/pathRead a folder or parser by its path.
ParsersLibraryManagementAPIParsersImportItemPost /v1/parsers/{parentId}/importImport a folder or parser
ParsersLibraryManagementAPIParsersLockByIdPost /v1/parsers/{id}/lockLock a folder or a parser.
ParsersLibraryManagementAPIParsersMovePost /v1/parsers/{id}/moveMove a folder or parser.
ParsersLibraryManagementAPIParsersReadByIdGet /v1/parsers/{id}Read a folder or parser.
ParsersLibraryManagementAPIParsersReadByIdsGet /v1/parsersBulk read folders and parsers.
ParsersLibraryManagementAPIParsersSearchGet /v1/parsers/searchSearch for folders or parsers.
ParsersLibraryManagementAPIParsersUnlockByIdPost /v1/parsers/{id}/unlockUnlock a folder or a parser.
ParsersLibraryManagementAPIParsersUpdateByIdPut /v1/parsers/{id}Update a folder or parser.
ParsersLibraryManagementAPISystemParsersLockByIdPost /v1/system/parsers/{id}/lockLock a folder or a parser.
ParsersLibraryManagementAPISystemParsersUnlockByIdPost /v1/system/parsers/{id}/unlockUnlock a folder or a parser.
PartitionManagementAPICancelRetentionUpdatePost /v1/partitions/{id}/cancelRetentionUpdateCancel a retention update for a partition
PartitionManagementAPICreatePartitionPost /v1/partitionsCreate a new partition.
PartitionManagementAPIDecommissionPartitionPost /v1/partitions/{id}/decommissionDecommission a partition.
PartitionManagementAPIGetPartitionGet /v1/partitions/{id}Get a partition.
PartitionManagementAPIGetPartitionsQuotaGet /v1/partitions/quotaProvides information about partitions quota.
PartitionManagementAPIListPartitionsGet /v1/partitionsGet a list of partitions.
PartitionManagementAPIUpdatePartitionPut /v1/partitions/{id}Update a partition.
PasswordPolicyAPIGetPasswordPolicyGet /v1/passwordPolicyGet the current password policy.
PasswordPolicyAPISetPasswordPolicyPut /v1/passwordPolicyUpdate password policy.
PoliciesManagementAPIGetAuditPolicyGet /v1/policies/auditGet Audit policy.
PoliciesManagementAPIGetDataAccessLevelPolicyGet /v1/policies/dataAccessLevelGet Data Access Level policy.
PoliciesManagementAPIGetMaxUserSessionTimeoutPolicyGet /v1/policies/maxUserSessionTimeoutGet Max User Session Timeout policy.
PoliciesManagementAPIGetSearchAuditPolicyGet /v1/policies/searchAuditGet Search Audit policy.
PoliciesManagementAPIGetShareDashboardsOutsideOrganizationPolicyGet /v1/policies/shareDashboardsOutsideOrganizationGet Share Dashboards Outside Organization policy.
PoliciesManagementAPIGetUserConcurrentSessionsLimitPolicyGet /v1/policies/userConcurrentSessionsLimitGet User Concurrent Sessions Limit policy.
PoliciesManagementAPISetAuditPolicyPut /v1/policies/auditSet Audit policy.
PoliciesManagementAPISetDataAccessLevelPolicyPut /v1/policies/dataAccessLevelSet Data Access Level policy.
PoliciesManagementAPISetMaxUserSessionTimeoutPolicyPut /v1/policies/maxUserSessionTimeoutSet Max User Session Timeout policy.
PoliciesManagementAPISetSearchAuditPolicyPut /v1/policies/searchAuditSet Search Audit policy.
PoliciesManagementAPISetShareDashboardsOutsideOrganizationPolicyPut /v1/policies/shareDashboardsOutsideOrganizationSet Share Dashboards Outside Organization policy.
PoliciesManagementAPISetUserConcurrentSessionsLimitPolicyPut /v1/policies/userConcurrentSessionsLimitSet User Concurrent Sessions Limit policy.
RoleManagementAPIAssignRoleToUserPut /v1/roles/{roleId}/users/{userId}Assign a role to a user.
RoleManagementAPICreateRolePost /v1/rolesCreate a new role.
RoleManagementAPIDeleteRoleDelete /v1/roles/{id}Delete a role.
RoleManagementAPIGetRoleGet /v1/roles/{id}Get a role.
RoleManagementAPIListRolesGet /v1/rolesGet a list of roles.
RoleManagementAPIRemoveRoleFromUserDelete /v1/roles/{roleId}/users/{userId}Remove role from a user.
RoleManagementAPIUpdateRolePut /v1/roles/{id}Update a role.
RoleManagementV2APIAssignRoleToUserV2Put /v2/roles/{roleId}/users/{userId}Assign a role to a user.
RoleManagementV2APICreateRoleV2Post /v2/rolesCreate a new role.
RoleManagementV2APIDeleteRoleV2Delete /v2/roles/{id}Delete a role.
RoleManagementV2APIGetRoleV2Get /v2/roles/{id}Get a role.
RoleManagementV2APIListRolesV2Get /v2/rolesGet a list of roles.
RoleManagementV2APIRemoveRoleFromUserV2Delete /v2/roles/{roleId}/users/{userId}Remove role from a user.
RoleManagementV2APIUpdateRoleV2Put /v2/roles/{id}Update a role.
SamlConfigurationManagementAPICreateAllowlistedUserPost /v1/saml/allowlistedUsers/{userId}Allowlist a user.
SamlConfigurationManagementAPICreateIdentityProviderPost /v1/saml/identityProvidersCreate a new SAML configuration.
SamlConfigurationManagementAPIDeleteAllowlistedUserDelete /v1/saml/allowlistedUsers/{userId}Remove an allowlisted user.
SamlConfigurationManagementAPIDeleteIdentityProviderDelete /v1/saml/identityProviders/{id}Delete a SAML configuration.
SamlConfigurationManagementAPIDeleteParentOrgSamlConfigDelete /v1/saml/identityProviders/parentOrgConfigDelete parent org SAML configuration
SamlConfigurationManagementAPIDisableSamlLockdownPost /v1/saml/lockdown/disableDisable SAML lockdown.
SamlConfigurationManagementAPIEnableSamlLockdownPost /v1/saml/lockdown/enableRequire SAML for sign-in.
SamlConfigurationManagementAPIGetAllowlistedUsersGet /v1/saml/allowlistedUsersGet list of allowlisted users.
SamlConfigurationManagementAPIGetIdentityProvidersGet /v1/saml/identityProvidersGet a list of SAML configurations.
SamlConfigurationManagementAPIGetSamlMetadataGet /v1/saml/identityProviders/{id}/metadataGet SAML configuration metadata XML.
SamlConfigurationManagementAPIUpdateIdentityProviderPut /v1/saml/identityProviders/{id}Update a SAML configuration.
ScheduledViewManagementAPICreateScheduledViewPost /v1/scheduledViewsCreate a new scheduled view.
ScheduledViewManagementAPIDisableScheduledViewDelete /v1/scheduledViews/{id}/disableDisable a scheduled view.
ScheduledViewManagementAPIGetScheduledViewGet /v1/scheduledViews/{id}Get a scheduled view.
ScheduledViewManagementAPIGetScheduledViewsQuotaGet /v1/scheduledViews/quotaProvides information about scheduled views quota.
ScheduledViewManagementAPIListScheduledViewsGet /v1/scheduledViewsGet a list of scheduled views.
ScheduledViewManagementAPIPauseScheduledViewPost /v1/scheduledViews/{id}/pausePause a scheduled view.
ScheduledViewManagementAPIStartScheduledViewPost /v1/scheduledViews/{id}/startStart a scheduled view.
ScheduledViewManagementAPIUpdateScheduledViewPut /v1/scheduledViews/{id}Update a scheduled view.
SchemaBaseManagementAPIGetSchemaIdentitiesGroupedGet /v1/schemaIdentitiesGroupedGet schema base identities grouped by type and sorted by version.
ServiceAllowlistManagementAPIAddAllowlistedCidrsPost /v1/serviceAllowlist/addresses/addAllowlist CIDRs/IP addresses.
ServiceAllowlistManagementAPIDeleteAllowlistedCidrsPost /v1/serviceAllowlist/addresses/removeRemove allowlisted CIDRs/IP addresses.
ServiceAllowlistManagementAPIDisableAllowlistingPost /v1/serviceAllowlist/disableDisable service allowlisting.
ServiceAllowlistManagementAPIEnableAllowlistingPost /v1/serviceAllowlist/enableEnable service allowlisting.
ServiceAllowlistManagementAPIGetAllowlistingStatusGet /v1/serviceAllowlist/statusGet the allowlisting status.
ServiceAllowlistManagementAPIListAllowlistedCidrsGet /v1/serviceAllowlist/addressesList all allowlisted CIDRs/IP addresses.
ServiceMapAPIGetServiceMapGet /v1/tracing/serviceMapGet a service map.
SlosLibraryManagementAPIGetSloUsageInfoGet /v1/slos/usageInfoUsage info of SLOs.
SlosLibraryManagementAPIGetSlosFullPathGet /v1/slos/{id}/pathGet the path of a slo or folder.
SlosLibraryManagementAPIGetSlosLibraryRootGet /v1/slos/rootGet the root slos folder.
SlosLibraryManagementAPISliGet /v1/slos/sliBulk fetch SLI values, error budget remaining and SLI computation status for the current compliance period.
SlosLibraryManagementAPISlosCopyPost /v1/slos/{id}/copyCopy a slo or folder.
SlosLibraryManagementAPISlosCreatePost /v1/slosCreate a slo or folder.
SlosLibraryManagementAPISlosDeleteByIdDelete /v1/slos/{id}Delete a slo or folder.
SlosLibraryManagementAPISlosDeleteByIdsDelete /v1/slosBulk delete a slo or folder.
SlosLibraryManagementAPISlosExportItemGet /v1/slos/{id}/exportExport a slo or folder.
SlosLibraryManagementAPISlosGetByPathGet /v1/slos/pathRead a slo or folder by its path.
SlosLibraryManagementAPISlosImportItemPost /v1/slos/{parentId}/importImport a slo or folder.
SlosLibraryManagementAPISlosMovePost /v1/slos/{id}/moveMove a slo or folder.
SlosLibraryManagementAPISlosReadByIdGet /v1/slos/{id}Get a slo or folder.
SlosLibraryManagementAPISlosReadByIdsGet /v1/slosBulk read a slo or folder.
SlosLibraryManagementAPISlosSearchGet /v1/slos/searchSearch for a slo or folder.
SlosLibraryManagementAPISlosUpdateByIdPut /v1/slos/{id}Update a slo or folder.
SourceTemplateManagementExternalAPICreateSourceTemplatePost /v1/sourceTemplateCreate source Template.
SourceTemplateManagementExternalAPIDeleteSourceTemplateDelete /v1/sourceTemplate/{id}Delete a Source Template.
SourceTemplateManagementExternalAPIGetLinkedSourceTemplatesUpdatePost /v1/sourceTemplate/getLinkedSourceTemplatesImpactGet linked source templates update based on the ot-collector tags user is wants to update.
SourceTemplateManagementExternalAPIGetSourceTemplateGet /v1/sourceTemplate/{id}get a Source Template by Id.
SourceTemplateManagementExternalAPIGetSourceTemplatesGet /v1/sourceTemplateReturn all source templates of a customer.
SourceTemplateManagementExternalAPIUpdateSourceTemplatePost /v1/sourceTemplate/{id}Update source Template.
SourceTemplateManagementExternalAPIUpdateSourceTemplateStatusPut /v1/sourceTemplate/{id}/statusUpdate status of source template
SourceTemplateManagementExternalAPIUpgradeSourceTemplatePost /v1/upgrade/sourceTemplate/{id}Upgrade source Template.
SpanAnalyticsAPICancelSpanQueryDelete /v1/tracing/spanquery/{queryId}Cancel a span analytics query.
SpanAnalyticsAPICreateSpanQueryPost /v1/tracing/spanqueryRun a span analytics query asynchronously.
SpanAnalyticsAPIGetSpanQueryAggregatesGet /v1/tracing/spanquery/{queryId}/aggregatesGet span analytics query aggregated results.
SpanAnalyticsAPIGetSpanQueryFacetsGet /v1/tracing/spanquery/{queryId}/rows/{rowId}/facetsGet a list of facets of a span analytics query.
SpanAnalyticsAPIGetSpanQueryFieldValuesGet /v1/tracing/spanquery/fields/{field}/valuesGet span analytics query filter field values.
SpanAnalyticsAPIGetSpanQueryFieldsGet /v1/tracing/spanquery/fieldsGet filter fields for span analytics queries.
SpanAnalyticsAPIGetSpanQueryResultGet /v1/tracing/spanquery/{queryId}/rows/{rowId}/spansGet results of a span analytics query.
SpanAnalyticsAPIGetSpanQueryStatusGet /v1/tracing/spanquery/{queryId}/statusGet a span analytics query status.
SpanAnalyticsAPIPauseSpanQueryPut /v1/tracing/spanquery/{queryId}/pausePause a span analytics query.
SpanAnalyticsAPIResumeSpanQueryPut /v1/tracing/spanquery/{queryId}/resumeResume a span analytics query.
ThreatIntelIngestAPIDataSourcePropertiesUpdatePut /v1/threatIntel/datastore/dataSource/{dataSourceName}Updates source properties
ThreatIntelIngestAPIDatastoreGetGet /v1/threatIntel/datastore/dbGet threat intel indicators DB information
ThreatIntelIngestAPIRemoveDatastoreDelete /v1/threatIntel/datastore/dbRemove the threat intel indicators DB
ThreatIntelIngestAPIRetentionPeriodGet /v1/threatIntel/datastore/retentionPeriodGet threat intel indicators store retention period in terms of days.
ThreatIntelIngestAPISetRetentionPeriodPost /v1/threatIntel/datastore/retentionPeriodSet the threat intel indicators store retention period in terms of days.
ThreatIntelIngestProducerAPIRemoveIndicatorsDelete /v1/threatIntel/datastore/indicatorsRemoves indicators by their IDS
ThreatIntelIngestProducerAPIUploadNormalizedIndicatorsPost /v1/threatIntel/datastore/indicators/normalizedUploads indicators in a Sumo normalized format.
ThreatIntelIngestProducerAPIUploadStixIndicatorsPost /v1/threatIntel/datastore/indicators/stixUploads indicators in a STIX 2.x json format.
TokensLibraryManagementAPICreateTokenPost /v1/tokensCreate a token.
TokensLibraryManagementAPIDeleteTokenDelete /v1/tokens/{id}Delete a token.
TokensLibraryManagementAPIGetTokenGet /v1/tokens/{id}Get a token.
TokensLibraryManagementAPIListTokensGet /v1/tokensGet a list of tokens.
TokensLibraryManagementAPIUpdateTokenPut /v1/tokens/{id}Update a token.
TracesAPICancelTraceQueryDelete /v1/tracing/tracequery/{queryId}Cancel a trace search query.
TracesAPICreateTraceQueryPost /v1/tracing/tracequeryRun a trace search query asynchronously.
TracesAPIGetCriticalPathGet /v1/tracing/traces/{traceId}/criticalPathGet a critical path of a trace.
TracesAPIGetCriticalPathServiceBreakdownGet /v1/tracing/traces/{traceId}/criticalPath/breakdown/serviceGet a critical path service breakdown of a trace.
TracesAPIGetMetricsGet /v1/tracing/metricsGet trace search query metrics.
TracesAPIGetSpanGet /v1/tracing/traces/{traceId}/spans/{spanId}Get span details.
TracesAPIGetSpanBillingInfoGet /v1/tracing/traces/{traceId}/spans/{spanId}/billingInfoGet span billing details.
TracesAPIGetSpansGet /v1/tracing/traces/{traceId}/spansGet a list of trace spans.
TracesAPIGetTraceGet /v1/tracing/traces/{traceId}Get trace details.
TracesAPIGetTraceLightEventsGet /v1/tracing/traces/{traceId}/traceEventsGet a list of events (without their attributes) per span for a trace.
TracesAPIGetTraceQueryFieldValuesGet /v1/tracing/tracequery/fields/{field}/valuesGet trace search query filter field values.
TracesAPIGetTraceQueryFieldsGet /v1/tracing/tracequery/fieldsGet filter fields for trace search queries.
TracesAPIGetTraceQueryResultGet /v1/tracing/tracequery/{queryId}/rows/{rowId}/tracesGet results of a trace search query.
TracesAPIGetTraceQueryStatusGet /v1/tracing/tracequery/{queryId}/statusGet a trace search query status.
TracesAPITraceExistsGet /v1/tracing/traces/{traceId}/existsCheck if the trace exists.
TransformationRuleManagementAPICreateRulePost /v1/transformationRulesCreate a new transformation rule.
TransformationRuleManagementAPIDeleteRuleDelete /v1/transformationRules/{id}Delete a transformation rule.
TransformationRuleManagementAPIGetTransformationRuleGet /v1/transformationRules/{id}Get a transformation rule.
TransformationRuleManagementAPIGetTransformationRulesGet /v1/transformationRulesGet a list of transformation rules.
TransformationRuleManagementAPIUpdateTransformationRulePut /v1/transformationRules/{id}Update a transformation rule.
UserManagementAPICreateUserPost /v1/usersCreate a new user.
UserManagementAPIDeleteUserDelete /v1/users/{id}Delete a user.
UserManagementAPIDisableMfaPut /v1/users/{id}/mfa/disableDisable MFA for user.
UserManagementAPIGetUserGet /v1/users/{id}Get a user.
UserManagementAPIListUsersGet /v1/usersGet a list of users.
UserManagementAPIRequestChangeEmailPost /v1/users/{id}/email/requestChangeChange email address.
UserManagementAPIResendWelcomeEmailPost /v1/users/{id}/resendWelcomeEmailResend verification email.
UserManagementAPIResetPasswordPost /v1/users/{id}/password/resetReset password.
UserManagementAPIUnlockUserPost /v1/users/{id}/unlockUnlock a user.
UserManagementAPIUpdateUserPut /v1/users/{id}Update a user.

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

basicAuth

  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sumologic.ContextBasicAuth, sumologic.BasicAuth{
	UserName: "username",
	Password: "password",
})
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author