Class LogAnalyticsClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.loganalytics.LogAnalyticsClient
-
- All Implemented Interfaces:
LogAnalytics,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public class LogAnalyticsClient extends BaseSyncClient implements LogAnalytics
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogAnalyticsClient.BuilderBuilder class for this client.
-
Field Summary
Fields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for LogAnalytics.
-
Constructor Summary
Constructors Constructor Description LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.LogAnalyticsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.LogAnalyticsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.LogAnalyticsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AddEntityAssociationResponseaddEntityAssociation(AddEntityAssociationRequest request)Adds association between input source log analytics entity and one or more existing destination entities.AddSourceEventTypesResponseaddSourceEventTypes(AddSourceEventTypesRequest request)Add one or more event types to a source.AppendLookupDataResponseappendLookupData(AppendLookupDataRequest request)Appends data to the lookup content.AssignEncryptionKeyResponseassignEncryptionKey(AssignEncryptionKeyRequest request)This API submits a work request to assign customer encryption key.BatchGetBasicInfoResponsebatchGetBasicInfo(BatchGetBasicInfoRequest request)Lists basic information about a specified set of labels in batch.static LogAnalyticsClient.Builderbuilder()Create a builder for this client.CancelQueryWorkRequestResponsecancelQueryWorkRequest(CancelQueryWorkRequestRequest request)Cancel/Remove query job work request.ChangeIngestTimeRuleCompartmentResponsechangeIngestTimeRuleCompartment(ChangeIngestTimeRuleCompartmentRequest request)Moves the specified ingest time rule to a different compartment.ChangeLogAnalyticsEmBridgeCompartmentResponsechangeLogAnalyticsEmBridgeCompartment(ChangeLogAnalyticsEmBridgeCompartmentRequest request)Update the compartment of the log analytics enterprise manager bridge with the given id.ChangeLogAnalyticsEntityCompartmentResponsechangeLogAnalyticsEntityCompartment(ChangeLogAnalyticsEntityCompartmentRequest request)Update the compartment of the log analytics entity with the given id.ChangeLogAnalyticsLogGroupCompartmentResponsechangeLogAnalyticsLogGroupCompartment(ChangeLogAnalyticsLogGroupCompartmentRequest request)Moves the specified log group to a different compartment.ChangeLogAnalyticsObjectCollectionRuleCompartmentResponsechangeLogAnalyticsObjectCollectionRuleCompartment(ChangeLogAnalyticsObjectCollectionRuleCompartmentRequest request)Move the rule from it’s current compartment to the given compartment.ChangeLookupCompartmentResponsechangeLookupCompartment(ChangeLookupCompartmentRequest request)Moves the specified lookup to a different compartment.ChangeScheduledTaskCompartmentResponsechangeScheduledTaskCompartment(ChangeScheduledTaskCompartmentRequest request)Move the scheduled task into a different compartment within the same tenancy.CleanResponseclean(CleanRequest request)Clean accumulated acceleration data stored for the accelerated saved search.voidclose()CompareContentResponsecompareContent(CompareContentRequest request)Returns the difference between the two input payloads, including intraline differences.CreateIngestTimeRuleResponsecreateIngestTimeRule(CreateIngestTimeRuleRequest request)Creates a new ingest time rule in the specified compartment.CreateLogAnalyticsEmBridgeResponsecreateLogAnalyticsEmBridge(CreateLogAnalyticsEmBridgeRequest request)Add configuration for enterprise manager bridge.CreateLogAnalyticsEntityResponsecreateLogAnalyticsEntity(CreateLogAnalyticsEntityRequest request)Create a new log analytics entity.CreateLogAnalyticsEntityTypeResponsecreateLogAnalyticsEntityType(CreateLogAnalyticsEntityTypeRequest request)Add custom log analytics entity type.CreateLogAnalyticsLogGroupResponsecreateLogAnalyticsLogGroup(CreateLogAnalyticsLogGroupRequest request)Creates a new log group in the specified compartment with the input display name.CreateLogAnalyticsObjectCollectionRuleResponsecreateLogAnalyticsObjectCollectionRule(CreateLogAnalyticsObjectCollectionRuleRequest request)Creates a rule to collect logs from an object storage bucket.CreateScheduledTaskResponsecreateScheduledTask(CreateScheduledTaskRequest request)Schedule a task as specified and return task info.DeleteAssociationsResponsedeleteAssociations(DeleteAssociationsRequest request)Deletes the associations between the sources and entities specified.DeleteFieldResponsedeleteField(DeleteFieldRequest request)Deletes field with the specified name.DeleteIngestTimeRuleResponsedeleteIngestTimeRule(DeleteIngestTimeRuleRequest request)Deletes the specified ingest time rule.DeleteLabelResponsedeleteLabel(DeleteLabelRequest request)Deletes label with the specified name.DeleteLogAnalyticsEmBridgeResponsedeleteLogAnalyticsEmBridge(DeleteLogAnalyticsEmBridgeRequest request)Delete log analytics enterprise manager bridge with the given id.DeleteLogAnalyticsEntityResponsedeleteLogAnalyticsEntity(DeleteLogAnalyticsEntityRequest request)Delete log analytics entity with the given id.DeleteLogAnalyticsEntityTypeResponsedeleteLogAnalyticsEntityType(DeleteLogAnalyticsEntityTypeRequest request)Delete log analytics entity type with the given name.DeleteLogAnalyticsLogGroupResponsedeleteLogAnalyticsLogGroup(DeleteLogAnalyticsLogGroupRequest request)Deletes the specified log group.DeleteLogAnalyticsObjectCollectionRuleResponsedeleteLogAnalyticsObjectCollectionRule(DeleteLogAnalyticsObjectCollectionRuleRequest request)Deletes the configured object storage bucket based collection rule and stop the log collection.DeleteLookupResponsedeleteLookup(DeleteLookupRequest request)Deletes lookup with the specified name.DeleteParserResponsedeleteParser(DeleteParserRequest request)Deletes parser with the specified name.DeleteScheduledTaskResponsedeleteScheduledTask(DeleteScheduledTaskRequest request)Delete the scheduled task.DeleteSourceResponsedeleteSource(DeleteSourceRequest request)Deletes source with the specified name.DeleteUploadResponsedeleteUpload(DeleteUploadRequest request)Deletes an Upload by its reference.DeleteUploadFileResponsedeleteUploadFile(DeleteUploadFileRequest request)Deletes a specific log file inside an upload by upload file reference.DeleteUploadWarningResponsedeleteUploadWarning(DeleteUploadWarningRequest request)Suppresses a specific warning inside an upload.DisableArchivingResponsedisableArchiving(DisableArchivingRequest request)This API disables archiving.DisableAutoAssociationResponsedisableAutoAssociation(DisableAutoAssociationRequest request)Disables auto association for a log source.DisableIngestTimeRuleResponsedisableIngestTimeRule(DisableIngestTimeRuleRequest request)Disables the specified ingest time rule.DisableSourceEventTypesResponsedisableSourceEventTypes(DisableSourceEventTypesRequest request)Disable one or more event types in a source.EnableArchivingResponseenableArchiving(EnableArchivingRequest request)THis API enables archiving.EnableAutoAssociationResponseenableAutoAssociation(EnableAutoAssociationRequest request)Enables auto association for a log source.EnableIngestTimeRuleResponseenableIngestTimeRule(EnableIngestTimeRuleRequest request)Enables the specified ingest time rule.EnableSourceEventTypesResponseenableSourceEventTypes(EnableSourceEventTypesRequest request)Enable one or more event types in a source.EstimatePurgeDataSizeResponseestimatePurgeDataSize(EstimatePurgeDataSizeRequest request)This API estimates the size of data to be purged based based on time interval, purge query etc.EstimateRecallDataSizeResponseestimateRecallDataSize(EstimateRecallDataSizeRequest request)This API gives an active storage usage estimate for archived data to be recalled and the time range of such data.EstimateReleaseDataSizeResponseestimateReleaseDataSize(EstimateReleaseDataSizeRequest request)This API gives an active storage usage estimate for recalled data to be released and the time range of such data.ExportCustomContentResponseexportCustomContent(ExportCustomContentRequest request)Exports all custom details of the specified sources, parsers, fields and labels, in zip format.ExportQueryResultResponseexportQueryResult(ExportQueryResultRequest request)Export data based on query.ExtractStructuredLogFieldPathsResponseextractStructuredLogFieldPaths(ExtractStructuredLogFieldPathsRequest request)Extracts the field paths from the example json or xml content.ExtractStructuredLogHeaderPathsResponseextractStructuredLogHeaderPaths(ExtractStructuredLogHeaderPathsRequest request)Extracts the header paths from the example json or xml content.FilterResponsefilter(FilterRequest request)Each filter specifies an operator, a field and one or more values to be inserted into the provided query as criteria.GetAssociationSummaryResponsegetAssociationSummary(GetAssociationSummaryRequest request)Returns the count of source associations for entities in the specified compartment.GetCategoryResponsegetCategory(GetCategoryRequest request)Gets detailed information about the category with the specified name.StringgetClientCommonLibraryVersion()GetColumnNamesResponsegetColumnNames(GetColumnNamesRequest request)Extracts column names from the input SQL query.GetConfigWorkRequestResponsegetConfigWorkRequest(GetConfigWorkRequestRequest request)Returns detailed information about the configuration work request with the specified id.protected ClientConfiguratorgetDefaultConfigurator()StringgetEndpoint()GetFieldResponsegetField(GetFieldRequest request)Gets detailed information about the field with the specified name.GetFieldsSummaryResponsegetFieldsSummary(GetFieldsSummaryRequest request)Returns the count of fields.GetFieldUsagesResponsegetFieldUsages(GetFieldUsagesRequest request)Gets usage information about the field with the specified name.GetIngestTimeRuleResponsegetIngestTimeRule(GetIngestTimeRuleRequest request)Gets detailed information about the specified ingest time rule such as description, defined tags, and free-form tags.GetLabelResponsegetLabel(GetLabelRequest request)Gets detailed information about the label with the specified name.GetLabelSummaryResponsegetLabelSummary(GetLabelSummaryRequest request)Returns the count of labels.GetLogAnalyticsEmBridgeResponsegetLogAnalyticsEmBridge(GetLogAnalyticsEmBridgeRequest request)Retrieve the log analytics enterprise manager bridge with the given id.GetLogAnalyticsEmBridgeSummaryResponsegetLogAnalyticsEmBridgeSummary(GetLogAnalyticsEmBridgeSummaryRequest request)Returns log analytics enterprise manager bridges summary report.GetLogAnalyticsEntitiesSummaryResponsegetLogAnalyticsEntitiesSummary(GetLogAnalyticsEntitiesSummaryRequest request)Returns log analytics entities count summary report.GetLogAnalyticsEntityResponsegetLogAnalyticsEntity(GetLogAnalyticsEntityRequest request)Retrieve the log analytics entity with the given id.GetLogAnalyticsEntityTypeResponsegetLogAnalyticsEntityType(GetLogAnalyticsEntityTypeRequest request)Retrieve the log analytics entity type with the given name.GetLogAnalyticsLogGroupResponsegetLogAnalyticsLogGroup(GetLogAnalyticsLogGroupRequest request)Gets detailed information about the specified log group such as display name, description, defined tags, and free-form tags.GetLogAnalyticsLogGroupsSummaryResponsegetLogAnalyticsLogGroupsSummary(GetLogAnalyticsLogGroupsSummaryRequest request)Returns the count of log groups in a compartment.GetLogAnalyticsObjectCollectionRuleResponsegetLogAnalyticsObjectCollectionRule(GetLogAnalyticsObjectCollectionRuleRequest request)Gets a configured object storage based collection rule by given idGetLogSetsCountResponsegetLogSetsCount(GetLogSetsCountRequest request)This API returns the count of distinct log sets.GetLookupResponsegetLookup(GetLookupRequest request)Gets detailed information about the lookup with the specified name.GetLookupSummaryResponsegetLookupSummary(GetLookupSummaryRequest request)Returns the count of user created and oracle defined lookups.Optional<String>getMinimumClientCommonLibraryVersionFromClient()GetNamespaceResponsegetNamespace(GetNamespaceRequest request)This API gets the namespace details of a tenancy already onboarded in Logging Analytics ApplicationLogAnalyticsPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetParserResponsegetParser(GetParserRequest request)Gets detailed information about the parser with the specified name.GetParserSummaryResponsegetParserSummary(GetParserSummaryRequest request)Returns the count of parsers.GetPreferencesResponsegetPreferences(GetPreferencesRequest request)Lists the tenant preferences such as DEFAULT_HOMEPAGE and collection properties.GetQueryResultResponsegetQueryResult(GetQueryResultRequest request)Returns the intermediate results for a query that was specified to run asynchronously if the query has not completed, otherwise the final query results identified by a queryWorkRequestId returned when submitting the query execute asynchronously.GetQueryWorkRequestResponsegetQueryWorkRequest(GetQueryWorkRequestRequest request)Retrieve work request details by workRequestId.GetRecallCountResponsegetRecallCount(GetRecallCountRequest request)This API gets the number of recalls made and the maximum recalls that can be madeGetRecalledDataSizeResponsegetRecalledDataSize(GetRecalledDataSizeRequest request)This API gets the datasize of recalls for a given timeframeGetRulesSummaryResponsegetRulesSummary(GetRulesSummaryRequest request)Returns the count of detection rules in a compartment.GetScheduledTaskResponsegetScheduledTask(GetScheduledTaskRequest request)Get the scheduled task for the specified task identifier.GetSourceResponsegetSource(GetSourceRequest request)Gets detailed information about the source with the specified name.GetSourceSummaryResponsegetSourceSummary(GetSourceSummaryRequest request)Returns the count of sources.GetStorageResponsegetStorage(GetStorageRequest request)This API gets the storage configuration of a tenancyGetStorageUsageResponsegetStorageUsage(GetStorageUsageRequest request)This API gets storage usage information of a tenancy.GetStorageWorkRequestResponsegetStorageWorkRequest(GetStorageWorkRequestRequest request)This API returns work request details specified by {workRequestId}.GetTemplateResponsegetTemplate(GetTemplateRequest request)Gets detailed information about the template with the specified ocid.GetUnprocessedDataBucketResponsegetUnprocessedDataBucket(GetUnprocessedDataBucketRequest request)This API retrieves details of the configured bucket that stores unprocessed payloads.GetUploadResponsegetUpload(GetUploadRequest request)Gets an On-Demand Upload info by reference.LogAnalyticsWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Gets the status of the work request with the given ID.ImportCustomContentResponseimportCustomContent(ImportCustomContentRequest request)Imports the specified custom content from the input in zip format.ListAssociableEntitiesResponselistAssociableEntities(ListAssociableEntitiesRequest request)Lists the entities in the specified compartment which are (in)eligible for association with this source.ListAssociatedEntitiesResponselistAssociatedEntities(ListAssociatedEntitiesRequest request)Lists the association details of entities in the specified compartment that are associated with at least one source.ListAutoAssociationsResponselistAutoAssociations(ListAutoAssociationsRequest request)Gets information related to auto association for the source with the specified name.ListCategoriesResponselistCategories(ListCategoriesRequest request)Returns a list of categories, containing detailed information about them.ListConfigWorkRequestsResponselistConfigWorkRequests(ListConfigWorkRequestsRequest request)Returns the list of configuration work requests such as association or lookup operations, containing detailed information about them.ListEffectivePropertiesResponselistEffectiveProperties(ListEffectivePropertiesRequest request)Returns a list of effective properties for the specified resource.ListEncryptionKeyInfoResponselistEncryptionKeyInfo(ListEncryptionKeyInfoRequest request)This API returns the list of customer owned encryption key info.ListEntityAssociationsResponselistEntityAssociations(ListEntityAssociationsRequest request)Return a list of log analytics entities associated with input source log analytics entity.ListEntitySourceAssociationsResponselistEntitySourceAssociations(ListEntitySourceAssociationsRequest request)Returns the list of source associations for the specified entity.ListFieldsResponselistFields(ListFieldsRequest request)Returns a list of log fields, containing detailed information about them.ListIngestTimeRulesResponselistIngestTimeRules(ListIngestTimeRulesRequest request)Returns a list of ingest time rules in a compartment.ListLabelPrioritiesResponselistLabelPriorities(ListLabelPrioritiesRequest request)Lists the available problem priorities that could be associated with a label.ListLabelsResponselistLabels(ListLabelsRequest request)Returns a list of labels, containing detailed information about them.ListLabelSourceDetailsResponselistLabelSourceDetails(ListLabelSourceDetailsRequest request)Lists sources using the label, along with configuration details like base field, operator and condition.ListLogAnalyticsEmBridgesResponselistLogAnalyticsEmBridges(ListLogAnalyticsEmBridgesRequest request)Return a list of log analytics enterprise manager bridges.ListLogAnalyticsEntitiesResponselistLogAnalyticsEntities(ListLogAnalyticsEntitiesRequest request)Return a list of log analytics entities.ListLogAnalyticsEntityTopologyResponselistLogAnalyticsEntityTopology(ListLogAnalyticsEntityTopologyRequest request)Return a log analytics entity topology collection that contains a set of log analytics entities and a set of relationships between those, for the input source entity.ListLogAnalyticsEntityTypesResponselistLogAnalyticsEntityTypes(ListLogAnalyticsEntityTypesRequest request)Return a list of log analytics entity types.ListLogAnalyticsLogGroupsResponselistLogAnalyticsLogGroups(ListLogAnalyticsLogGroupsRequest request)Returns a list of log groups in a compartment.ListLogAnalyticsObjectCollectionRulesResponselistLogAnalyticsObjectCollectionRules(ListLogAnalyticsObjectCollectionRulesRequest request)Gets list of collection rules.ListLogSetsResponselistLogSets(ListLogSetsRequest request)This API returns a list of log sets.ListLookupsResponselistLookups(ListLookupsRequest request)Returns a list of lookups, containing detailed information about them.ListMetaSourceTypesResponselistMetaSourceTypes(ListMetaSourceTypesRequest request)Lists the types of log sources supported.ListNamespacesResponselistNamespaces(ListNamespacesRequest request)Given a tenancy OCID, this API returns the namespace of the tenancy if it is valid and subscribed to the region.ListOverlappingRecallsResponselistOverlappingRecalls(ListOverlappingRecallsRequest request)This API gets the list of overlapping recalls made in the given timeframeListParserActionsResponselistParserActions(ListParserActionsRequest request)Returns a list of parser actions.ListParserFunctionsResponselistParserFunctions(ListParserFunctionsRequest request)Lists the parser functions defined for the specified parser.ListParserMetaPluginsResponselistParserMetaPlugins(ListParserMetaPluginsRequest request)Lists the parser meta plugins available for defining parser functions.ListParsersResponselistParsers(ListParsersRequest request)Returns a list of parsers, containing detailed information about them.ListPropertiesMetadataResponselistPropertiesMetadata(ListPropertiesMetadataRequest request)Returns a list of properties along with their metadata.ListQueryWorkRequestsResponselistQueryWorkRequests(ListQueryWorkRequestsRequest request)List active asynchronous queries.ListRecalledDataResponselistRecalledData(ListRecalledDataRequest request)This API returns the list of recalled data of a tenancy.ListRecalledInfoResponselistRecalledInfo(ListRecalledInfoRequest request)This API returns the list of recalled data of a tenancy.ListResourceCategoriesResponselistResourceCategories(ListResourceCategoriesRequest request)Returns a list of resources and their category assignments.ListRulesResponselistRules(ListRulesRequest request)Returns a list of ingest time rules and scheduled tasks in a compartment.ListScheduledTasksResponselistScheduledTasks(ListScheduledTasksRequest request)Lists scheduled tasks.ListSourceAssociationsResponselistSourceAssociations(ListSourceAssociationsRequest request)Returns the list of entity associations in the input compartment for the specified source.ListSourceEventTypesResponselistSourceEventTypes(ListSourceEventTypesRequest request)Lists the event types mapped to the source with the specified name.ListSourceExtendedFieldDefinitionsResponselistSourceExtendedFieldDefinitions(ListSourceExtendedFieldDefinitionsRequest request)Lists the extended field definitions for the source with the specified name.ListSourceLabelOperatorsResponselistSourceLabelOperators(ListSourceLabelOperatorsRequest request)Lists the supported conditional operators that could be used for matching log field values to generate a label.ListSourceMetaFunctionsResponselistSourceMetaFunctions(ListSourceMetaFunctionsRequest request)Lists the functions that could be used to enrich log entries based on meaningful information extracted from the log fields.ListSourcePatternsResponselistSourcePatterns(ListSourcePatternsRequest request)Lists the source patterns for the source with the specified name.ListSourcesResponselistSources(ListSourcesRequest request)Returns a list of sources, containing detailed information about them.ListStorageWorkRequestErrorsResponselistStorageWorkRequestErrors(ListStorageWorkRequestErrorsRequest request)This API returns the list of work request errors if any.ListStorageWorkRequestsResponselistStorageWorkRequests(ListStorageWorkRequestsRequest request)This API lists storage work requests.ListSupportedCharEncodingsResponselistSupportedCharEncodings(ListSupportedCharEncodingsRequest request)Gets list of character encodings which are supported by on-demand upload.ListSupportedTimezonesResponselistSupportedTimezones(ListSupportedTimezonesRequest request)Gets list of timezones which are supported by on-demand upload.ListTemplatesResponselistTemplates(ListTemplatesRequest request)Returns a list of templates, containing detailed information about them.ListUploadFilesResponselistUploadFiles(ListUploadFilesRequest request)Gets list of files in an upload along with its processing state.ListUploadsResponselistUploads(ListUploadsRequest request)Gets a list of all On-demand uploads.ListUploadWarningsResponselistUploadWarnings(ListUploadWarningsRequest request)Gets list of warnings in an upload caused by incorrect configuration.ListWarningsResponselistWarnings(ListWarningsRequest request)Returns a list of collection warnings, containing detailed information about them.ListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Return a (paginated) list of errors for a given work request.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Return a (paginated) list of logs for a given work request.ListWorkRequestsResponselistWorkRequests(ListWorkRequestsRequest request)Lists the work requests in a compartment.OffboardNamespaceResponseoffboardNamespace(OffboardNamespaceRequest request)Off-boards a tenant from Logging AnalyticsOnboardNamespaceResponseonboardNamespace(OnboardNamespaceRequest request)On-boards a tenant to Logging Analytics.ParseQueryResponseparseQuery(ParseQueryRequest request)Describe queryPauseScheduledTaskResponsepauseScheduledTask(PauseScheduledTaskRequest request)Pause the scheduled task specified by {scheduledTaskId}.voidpopulateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)Populate the parameters in the endpoint with its corresponding value and update the base endpoint.PurgeStorageDataResponsepurgeStorageData(PurgeStorageDataRequest request)This API submits a work request to purge data.PutQueryWorkRequestBackgroundResponseputQueryWorkRequestBackground(PutQueryWorkRequestBackgroundRequest request)Put the work request specified by {workRequestId} into the background.QueryResponsequery(QueryRequest request)Performs a log analytics search, if shouldRunAsync is false returns the query results once they become available subject to 60 second timeout.RecallArchivedDataResponserecallArchivedData(RecallArchivedDataRequest request)This API submits a work request to recall archived data based on time interval and data type.voidrefreshClient()Rebuild the backingHttpClient.RegisterLookupResponseregisterLookup(RegisterLookupRequest request)Creates a lookup with the specified name, type and description.ReleaseRecalledDataResponsereleaseRecalledData(ReleaseRecalledDataRequest request)This API submits a work request to release recalled data based on time interval and data type.RemoveEntityAssociationsResponseremoveEntityAssociations(RemoveEntityAssociationsRequest request)Delete association between input source log analytics entity and destination entities.RemovePreferencesResponseremovePreferences(RemovePreferencesRequest request)Removes the tenant preferences such as DEFAULT_HOMEPAGE and collection properties.RemoveResourceCategoriesResponseremoveResourceCategories(RemoveResourceCategoriesRequest request)Removes the category assignments of DASHBOARD and SAVEDSEARCH resources.RemoveSourceEventTypesResponseremoveSourceEventTypes(RemoveSourceEventTypesRequest request)Remove one or more event types from a source.ResumeScheduledTaskResponseresumeScheduledTask(ResumeScheduledTaskRequest request)Resume the scheduled task specified by {scheduledTaskId}.RunResponserun(RunRequest request)Execute the saved search acceleration task in the foreground.voidsetEndpoint(String endpoint)voidsetRegion(Region region)Sets the region to call (ex, Region.US_PHOENIX_1).voidsetRegion(String regionId)Sets the region to call (ex, ‘us-phoenix-1’).SetUnprocessedDataBucketResponsesetUnprocessedDataBucket(SetUnprocessedDataBucketRequest request)This API configures a bucket to store unprocessed payloads.SuggestResponsesuggest(SuggestRequest request)Returns a context specific list of either commands, fields, or values to append to the end of the specified query string if applicable.SuppressWarningResponsesuppressWarning(SuppressWarningRequest request)Supresses a list of warnings.TestParserResponsetestParser(TestParserRequest request)Tests the parser definition against the specified example content to ensure fields are successfully extracted.UnsuppressWarningResponseunsuppressWarning(UnsuppressWarningRequest request)Unsupresses a list of warnings.voidupdateBaseEndpoint(String endpoint)This method should be used for parameterized endpoint templates only.UpdateIngestTimeRuleResponseupdateIngestTimeRule(UpdateIngestTimeRuleRequest request)Updates the specified ingest time rule’s description, defined tags, and free-form tags.UpdateLogAnalyticsEmBridgeResponseupdateLogAnalyticsEmBridge(UpdateLogAnalyticsEmBridgeRequest request)Update log analytics enterprise manager bridge with the given id.UpdateLogAnalyticsEntityResponseupdateLogAnalyticsEntity(UpdateLogAnalyticsEntityRequest request)Update the log analytics entity with the given id.UpdateLogAnalyticsEntityTypeResponseupdateLogAnalyticsEntityType(UpdateLogAnalyticsEntityTypeRequest request)Update custom log analytics entity type.UpdateLogAnalyticsLogGroupResponseupdateLogAnalyticsLogGroup(UpdateLogAnalyticsLogGroupRequest request)Updates the specified log group’s display name, description, defined tags, and free-form tags.UpdateLogAnalyticsObjectCollectionRuleResponseupdateLogAnalyticsObjectCollectionRule(UpdateLogAnalyticsObjectCollectionRuleRequest request)Updates configuration of the object collection rule for the given id.UpdateLookupResponseupdateLookup(UpdateLookupRequest request)Updates the metadata of the specified lookup, such as the lookup description.UpdateLookupDataResponseupdateLookupData(UpdateLookupDataRequest request)Updates the lookup content.UpdatePreferencesResponseupdatePreferences(UpdatePreferencesRequest request)Updates the tenant preferences such as DEFAULT_HOMEPAGE and collection properties.UpdateResourceCategoriesResponseupdateResourceCategories(UpdateResourceCategoriesRequest request)Updates the category assignments of DASHBOARD and SAVEDSEARCH resources.UpdateScheduledTaskResponseupdateScheduledTask(UpdateScheduledTaskRequest request)Update the scheduled task.UpdateStorageResponseupdateStorage(UpdateStorageRequest request)This API updates the archiving configurationUploadDiscoveryDataResponseuploadDiscoveryData(UploadDiscoveryDataRequest request)Accepts discovery data for processing by Logging Analytics.UploadLogEventsFileResponseuploadLogEventsFile(UploadLogEventsFileRequest request)Accepts log events for processing by Logging Analytics.UploadLogFileResponseuploadLogFile(UploadLogFileRequest request)Accepts log data for processing by Logging Analytics.UploadOtlpLogsResponseuploadOtlpLogs(UploadOtlpLogsRequest request)Accepts log data in OTLP JSON-encoded Protobuf format.UpsertAssociationsResponseupsertAssociations(UpsertAssociationsRequest request)Creates or updates associations between sources and entities.UpsertFieldResponseupsertField(UpsertFieldRequest request)Creates or updates a field that could be used in parser expressions to extract and assign value.UpsertLabelResponseupsertLabel(UpsertLabelRequest request)Creates or updates a label that could be used to tag a log entry.UpsertParserResponseupsertParser(UpsertParserRequest request)Creates or updates a parser, which defines how fields are extracted from a log entry.UpsertSourceResponseupsertSource(UpsertSourceRequest request)Creates or updates a log source.voiduseRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)This method should be used to enable or disable the use of realm-specific endpoint template.ValidateAssociationParametersResponsevalidateAssociationParameters(ValidateAssociationParametersRequest request)Checks if the passed in entities could be associated with the specified sources.ValidateEndpointResponsevalidateEndpoint(ValidateEndpointRequest request)Validates the REST endpoint configuration.ValidateFileResponsevalidateFile(ValidateFileRequest request)Validates a log file to check whether it is eligible to be uploaded or not.ValidateLabelConditionResponsevalidateLabelCondition(ValidateLabelConditionRequest request)Validates specified condition for a source label.ValidateSourceResponsevalidateSource(ValidateSourceRequest request)Checks if the specified input is a valid log source definition.ValidateSourceExtendedFieldDetailsResponsevalidateSourceExtendedFieldDetails(ValidateSourceExtendedFieldDetailsRequest request)Checks if the specified input contains valid extended field definitions against the provided example content.ValidateSourceMappingResponsevalidateSourceMapping(ValidateSourceMappingRequest request)Validates the source mapping for a given file and provides match status and the parsed representation of log data.VerifyResponseverify(VerifyRequest request)Verify the accelerated saved search task specified by {scheduledTaskId}.-
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClient
clientCall
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.loganalytics.LogAnalytics
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
LogAnalyticsClient
@Deprecated public LogAnalyticsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLogAnalyticsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
LogAnalyticsClient
@Deprecated public LogAnalyticsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLogAnalyticsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
LogAnalyticsClient
@Deprecated public LogAnalyticsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLogAnalyticsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
LogAnalyticsClient
@Deprecated public LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLogAnalyticsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
LogAnalyticsClient
@Deprecated public LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLogAnalyticsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
LogAnalyticsClient
@Deprecated public LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLogAnalyticsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)
-
LogAnalyticsClient
@Deprecated public LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLogAnalyticsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactories
-
LogAnalyticsClient
@Deprecated public LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLogAnalyticsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactoriesexecutorService-LogAnalyticsClient.Builder.executorService
-
-
Method Detail
-
builder
public static LogAnalyticsClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:LogAnalyticsSets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpointafter resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.- Specified by:
setRegionin interfaceLogAnalytics- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:LogAnalyticsSets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)and then callsetEndpoint.- Specified by:
setRegionin interfaceLogAnalytics- Parameters:
regionId- The public region ID.
-
addEntityAssociation
public AddEntityAssociationResponse addEntityAssociation(AddEntityAssociationRequest request)
Description copied from interface:LogAnalyticsAdds association between input source log analytics entity and one or more existing destination entities.- Specified by:
addEntityAssociationin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
addSourceEventTypes
public AddSourceEventTypesResponse addSourceEventTypes(AddSourceEventTypesRequest request)
Description copied from interface:LogAnalyticsAdd one or more event types to a source.An event type and version can be enabled only on one source.
- Specified by:
addSourceEventTypesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
appendLookupData
public AppendLookupDataResponse appendLookupData(AppendLookupDataRequest request)
Description copied from interface:LogAnalyticsAppends data to the lookup content.The csv file containing the content to be appended is passed in as binary data in the request.
Note: This operation consumes a stream.
If the stream supports
InputStream.mark(int)andInputStream.reset(), when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream, and the stream'sFileChannelposition can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)andInputStream.reset(). Then the same procedure as above is followed. If the stream'sFileChannelposition cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)andInputStream.reset(), then the stream is wrapped in aBufferedInputStream, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStreamwhoseFileChannelposition can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
appendLookupDatain interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
assignEncryptionKey
public AssignEncryptionKeyResponse assignEncryptionKey(AssignEncryptionKeyRequest request)
Description copied from interface:LogAnalyticsThis API submits a work request to assign customer encryption key.- Specified by:
assignEncryptionKeyin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
batchGetBasicInfo
public BatchGetBasicInfoResponse batchGetBasicInfo(BatchGetBasicInfoRequest request)
Description copied from interface:LogAnalyticsLists basic information about a specified set of labels in batch.- Specified by:
batchGetBasicInfoin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
cancelQueryWorkRequest
public CancelQueryWorkRequestResponse cancelQueryWorkRequest(CancelQueryWorkRequestRequest request)
Description copied from interface:LogAnalyticsCancel/Remove query job work request.- Specified by:
cancelQueryWorkRequestin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeIngestTimeRuleCompartment
public ChangeIngestTimeRuleCompartmentResponse changeIngestTimeRuleCompartment(ChangeIngestTimeRuleCompartmentRequest request)
Description copied from interface:LogAnalyticsMoves the specified ingest time rule to a different compartment.- Specified by:
changeIngestTimeRuleCompartmentin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeLogAnalyticsEmBridgeCompartment
public ChangeLogAnalyticsEmBridgeCompartmentResponse changeLogAnalyticsEmBridgeCompartment(ChangeLogAnalyticsEmBridgeCompartmentRequest request)
Description copied from interface:LogAnalyticsUpdate the compartment of the log analytics enterprise manager bridge with the given id.- Specified by:
changeLogAnalyticsEmBridgeCompartmentin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeLogAnalyticsEntityCompartment
public ChangeLogAnalyticsEntityCompartmentResponse changeLogAnalyticsEntityCompartment(ChangeLogAnalyticsEntityCompartmentRequest request)
Description copied from interface:LogAnalyticsUpdate the compartment of the log analytics entity with the given id.- Specified by:
changeLogAnalyticsEntityCompartmentin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeLogAnalyticsLogGroupCompartment
public ChangeLogAnalyticsLogGroupCompartmentResponse changeLogAnalyticsLogGroupCompartment(ChangeLogAnalyticsLogGroupCompartmentRequest request)
Description copied from interface:LogAnalyticsMoves the specified log group to a different compartment.- Specified by:
changeLogAnalyticsLogGroupCompartmentin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeLogAnalyticsObjectCollectionRuleCompartment
public ChangeLogAnalyticsObjectCollectionRuleCompartmentResponse changeLogAnalyticsObjectCollectionRuleCompartment(ChangeLogAnalyticsObjectCollectionRuleCompartmentRequest request)
Description copied from interface:LogAnalyticsMove the rule from it’s current compartment to the given compartment.- Specified by:
changeLogAnalyticsObjectCollectionRuleCompartmentin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeLookupCompartment
public ChangeLookupCompartmentResponse changeLookupCompartment(ChangeLookupCompartmentRequest request)
Description copied from interface:LogAnalyticsMoves the specified lookup to a different compartment.- Specified by:
changeLookupCompartmentin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeScheduledTaskCompartment
public ChangeScheduledTaskCompartmentResponse changeScheduledTaskCompartment(ChangeScheduledTaskCompartmentRequest request)
Description copied from interface:LogAnalyticsMove the scheduled task into a different compartment within the same tenancy.- Specified by:
changeScheduledTaskCompartmentin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
clean
public CleanResponse clean(CleanRequest request)
Description copied from interface:LogAnalyticsClean accumulated acceleration data stored for the accelerated saved search.The ScheduledTask taskType must be ACCELERATION.
- Specified by:
cleanin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
compareContent
public CompareContentResponse compareContent(CompareContentRequest request)
Description copied from interface:LogAnalyticsReturns the difference between the two input payloads, including intraline differences.- Specified by:
compareContentin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createIngestTimeRule
public CreateIngestTimeRuleResponse createIngestTimeRule(CreateIngestTimeRuleRequest request)
Description copied from interface:LogAnalyticsCreates a new ingest time rule in the specified compartment.You may also specify optional information such as description, defined tags, and free-form tags.
- Specified by:
createIngestTimeRulein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createLogAnalyticsEmBridge
public CreateLogAnalyticsEmBridgeResponse createLogAnalyticsEmBridge(CreateLogAnalyticsEmBridgeRequest request)
Description copied from interface:LogAnalyticsAdd configuration for enterprise manager bridge.Enterprise manager bridge is used to automatically add selected entities from enterprise manager cloud control. A corresponding OCI bridge configuration is required in enterprise manager.
- Specified by:
createLogAnalyticsEmBridgein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createLogAnalyticsEntity
public CreateLogAnalyticsEntityResponse createLogAnalyticsEntity(CreateLogAnalyticsEntityRequest request)
Description copied from interface:LogAnalyticsCreate a new log analytics entity.- Specified by:
createLogAnalyticsEntityin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createLogAnalyticsEntityType
public CreateLogAnalyticsEntityTypeResponse createLogAnalyticsEntityType(CreateLogAnalyticsEntityTypeRequest request)
Description copied from interface:LogAnalyticsAdd custom log analytics entity type.- Specified by:
createLogAnalyticsEntityTypein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createLogAnalyticsLogGroup
public CreateLogAnalyticsLogGroupResponse createLogAnalyticsLogGroup(CreateLogAnalyticsLogGroupRequest request)
Description copied from interface:LogAnalyticsCreates a new log group in the specified compartment with the input display name.You may also specify optional information such as description, defined tags, and free-form tags.
- Specified by:
createLogAnalyticsLogGroupin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createLogAnalyticsObjectCollectionRule
public CreateLogAnalyticsObjectCollectionRuleResponse createLogAnalyticsObjectCollectionRule(CreateLogAnalyticsObjectCollectionRuleRequest request)
Description copied from interface:LogAnalyticsCreates a rule to collect logs from an object storage bucket.- Specified by:
createLogAnalyticsObjectCollectionRulein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createScheduledTask
public CreateScheduledTaskResponse createScheduledTask(CreateScheduledTaskRequest request)
Description copied from interface:LogAnalyticsSchedule a task as specified and return task info.- Specified by:
createScheduledTaskin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteAssociations
public DeleteAssociationsResponse deleteAssociations(DeleteAssociationsRequest request)
Description copied from interface:LogAnalyticsDeletes the associations between the sources and entities specified.- Specified by:
deleteAssociationsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteField
public DeleteFieldResponse deleteField(DeleteFieldRequest request)
Description copied from interface:LogAnalyticsDeletes field with the specified name.- Specified by:
deleteFieldin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteIngestTimeRule
public DeleteIngestTimeRuleResponse deleteIngestTimeRule(DeleteIngestTimeRuleRequest request)
Description copied from interface:LogAnalyticsDeletes the specified ingest time rule.- Specified by:
deleteIngestTimeRulein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteLabel
public DeleteLabelResponse deleteLabel(DeleteLabelRequest request)
Description copied from interface:LogAnalyticsDeletes label with the specified name.- Specified by:
deleteLabelin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteLogAnalyticsEmBridge
public DeleteLogAnalyticsEmBridgeResponse deleteLogAnalyticsEmBridge(DeleteLogAnalyticsEmBridgeRequest request)
Description copied from interface:LogAnalyticsDelete log analytics enterprise manager bridge with the given id.- Specified by:
deleteLogAnalyticsEmBridgein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteLogAnalyticsEntity
public DeleteLogAnalyticsEntityResponse deleteLogAnalyticsEntity(DeleteLogAnalyticsEntityRequest request)
Description copied from interface:LogAnalyticsDelete log analytics entity with the given id.- Specified by:
deleteLogAnalyticsEntityin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteLogAnalyticsEntityType
public DeleteLogAnalyticsEntityTypeResponse deleteLogAnalyticsEntityType(DeleteLogAnalyticsEntityTypeRequest request)
Description copied from interface:LogAnalyticsDelete log analytics entity type with the given name.- Specified by:
deleteLogAnalyticsEntityTypein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteLogAnalyticsLogGroup
public DeleteLogAnalyticsLogGroupResponse deleteLogAnalyticsLogGroup(DeleteLogAnalyticsLogGroupRequest request)
Description copied from interface:LogAnalyticsDeletes the specified log group.The log group cannot be part of an active association or have an active upload.
- Specified by:
deleteLogAnalyticsLogGroupin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteLogAnalyticsObjectCollectionRule
public DeleteLogAnalyticsObjectCollectionRuleResponse deleteLogAnalyticsObjectCollectionRule(DeleteLogAnalyticsObjectCollectionRuleRequest request)
Description copied from interface:LogAnalyticsDeletes the configured object storage bucket based collection rule and stop the log collection.It will not delete the existing processed data associated with this bucket from logging analytics storage.
- Specified by:
deleteLogAnalyticsObjectCollectionRulein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteLookup
public DeleteLookupResponse deleteLookup(DeleteLookupRequest request)
Description copied from interface:LogAnalyticsDeletes lookup with the specified name.- Specified by:
deleteLookupin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteParser
public DeleteParserResponse deleteParser(DeleteParserRequest request)
Description copied from interface:LogAnalyticsDeletes parser with the specified name.- Specified by:
deleteParserin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteScheduledTask
public DeleteScheduledTaskResponse deleteScheduledTask(DeleteScheduledTaskRequest request)
Description copied from interface:LogAnalyticsDelete the scheduled task.- Specified by:
deleteScheduledTaskin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteSource
public DeleteSourceResponse deleteSource(DeleteSourceRequest request)
Description copied from interface:LogAnalyticsDeletes source with the specified name.- Specified by:
deleteSourcein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteUpload
public DeleteUploadResponse deleteUpload(DeleteUploadRequest request)
Description copied from interface:LogAnalyticsDeletes an Upload by its reference.It deletes all the logs in storage asscoiated with the upload and the corresponding upload metadata.
- Specified by:
deleteUploadin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteUploadFile
public DeleteUploadFileResponse deleteUploadFile(DeleteUploadFileRequest request)
Description copied from interface:LogAnalyticsDeletes a specific log file inside an upload by upload file reference.It deletes all the logs from storage associated with the file and the corresponding metadata.
- Specified by:
deleteUploadFilein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteUploadWarning
public DeleteUploadWarningResponse deleteUploadWarning(DeleteUploadWarningRequest request)
Description copied from interface:LogAnalyticsSuppresses a specific warning inside an upload.- Specified by:
deleteUploadWarningin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
disableArchiving
public DisableArchivingResponse disableArchiving(DisableArchivingRequest request)
Description copied from interface:LogAnalyticsThis API disables archiving.- Specified by:
disableArchivingin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
disableAutoAssociation
public DisableAutoAssociationResponse disableAutoAssociation(DisableAutoAssociationRequest request)
Description copied from interface:LogAnalyticsDisables auto association for a log source.In the future, this log source would not be automatically associated with any entity that becomes eligible for association. In addition, you may also optionally remove all existing associations for this log source.
- Specified by:
disableAutoAssociationin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
disableIngestTimeRule
public DisableIngestTimeRuleResponse disableIngestTimeRule(DisableIngestTimeRuleRequest request)
Description copied from interface:LogAnalyticsDisables the specified ingest time rule.- Specified by:
disableIngestTimeRulein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
disableSourceEventTypes
public DisableSourceEventTypesResponse disableSourceEventTypes(DisableSourceEventTypesRequest request)
Description copied from interface:LogAnalyticsDisable one or more event types in a source.- Specified by:
disableSourceEventTypesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
enableArchiving
public EnableArchivingResponse enableArchiving(EnableArchivingRequest request)
Description copied from interface:LogAnalyticsTHis API enables archiving.- Specified by:
enableArchivingin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
enableAutoAssociation
public EnableAutoAssociationResponse enableAutoAssociation(EnableAutoAssociationRequest request)
Description copied from interface:LogAnalyticsEnables auto association for a log source.This would initiate immediate association of the source to any eligible entities it is not already associated with, and would also ensure the log source gets associated with entities that are added or become eligible in the future.
- Specified by:
enableAutoAssociationin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
enableIngestTimeRule
public EnableIngestTimeRuleResponse enableIngestTimeRule(EnableIngestTimeRuleRequest request)
Description copied from interface:LogAnalyticsEnables the specified ingest time rule.- Specified by:
enableIngestTimeRulein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
enableSourceEventTypes
public EnableSourceEventTypesResponse enableSourceEventTypes(EnableSourceEventTypesRequest request)
Description copied from interface:LogAnalyticsEnable one or more event types in a source.An event type and version can be enabled only in one source.
- Specified by:
enableSourceEventTypesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
estimatePurgeDataSize
public EstimatePurgeDataSizeResponse estimatePurgeDataSize(EstimatePurgeDataSizeRequest request)
Description copied from interface:LogAnalyticsThis API estimates the size of data to be purged based based on time interval, purge query etc.- Specified by:
estimatePurgeDataSizein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
estimateRecallDataSize
public EstimateRecallDataSizeResponse estimateRecallDataSize(EstimateRecallDataSizeRequest request)
Description copied from interface:LogAnalyticsThis API gives an active storage usage estimate for archived data to be recalled and the time range of such data.- Specified by:
estimateRecallDataSizein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
estimateReleaseDataSize
public EstimateReleaseDataSizeResponse estimateReleaseDataSize(EstimateReleaseDataSizeRequest request)
Description copied from interface:LogAnalyticsThis API gives an active storage usage estimate for recalled data to be released and the time range of such data.- Specified by:
estimateReleaseDataSizein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
exportCustomContent
public ExportCustomContentResponse exportCustomContent(ExportCustomContentRequest request)
Description copied from interface:LogAnalyticsExports all custom details of the specified sources, parsers, fields and labels, in zip format.- Specified by:
exportCustomContentin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
exportQueryResult
public ExportQueryResultResponse exportQueryResult(ExportQueryResultRequest request)
Description copied from interface:LogAnalyticsExport data based on query.Endpoint returns a stream of data. Endpoint is synchronous. Queries must deliver first result within 60 seconds or calls are subject to timeout.
- Specified by:
exportQueryResultin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
extractStructuredLogFieldPaths
public ExtractStructuredLogFieldPathsResponse extractStructuredLogFieldPaths(ExtractStructuredLogFieldPathsRequest request)
Description copied from interface:LogAnalyticsExtracts the field paths from the example json or xml content.- Specified by:
extractStructuredLogFieldPathsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
extractStructuredLogHeaderPaths
public ExtractStructuredLogHeaderPathsResponse extractStructuredLogHeaderPaths(ExtractStructuredLogHeaderPathsRequest request)
Description copied from interface:LogAnalyticsExtracts the header paths from the example json or xml content.- Specified by:
extractStructuredLogHeaderPathsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
filter
public FilterResponse filter(FilterRequest request)
Description copied from interface:LogAnalyticsEach filter specifies an operator, a field and one or more values to be inserted into the provided query as criteria.- Specified by:
filterin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getAssociationSummary
public GetAssociationSummaryResponse getAssociationSummary(GetAssociationSummaryRequest request)
Description copied from interface:LogAnalyticsReturns the count of source associations for entities in the specified compartment.- Specified by:
getAssociationSummaryin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getCategory
public GetCategoryResponse getCategory(GetCategoryRequest request)
Description copied from interface:LogAnalyticsGets detailed information about the category with the specified name.- Specified by:
getCategoryin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getColumnNames
public GetColumnNamesResponse getColumnNames(GetColumnNamesRequest request)
Description copied from interface:LogAnalyticsExtracts column names from the input SQL query.- Specified by:
getColumnNamesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getConfigWorkRequest
public GetConfigWorkRequestResponse getConfigWorkRequest(GetConfigWorkRequestRequest request)
Description copied from interface:LogAnalyticsReturns detailed information about the configuration work request with the specified id.- Specified by:
getConfigWorkRequestin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getField
public GetFieldResponse getField(GetFieldRequest request)
Description copied from interface:LogAnalyticsGets detailed information about the field with the specified name.- Specified by:
getFieldin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getFieldUsages
public GetFieldUsagesResponse getFieldUsages(GetFieldUsagesRequest request)
Description copied from interface:LogAnalyticsGets usage information about the field with the specified name.- Specified by:
getFieldUsagesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getFieldsSummary
public GetFieldsSummaryResponse getFieldsSummary(GetFieldsSummaryRequest request)
Description copied from interface:LogAnalyticsReturns the count of fields.You may optionally specify isShowDetail=true to view a summary of each field data type.
- Specified by:
getFieldsSummaryin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getIngestTimeRule
public GetIngestTimeRuleResponse getIngestTimeRule(GetIngestTimeRuleRequest request)
Description copied from interface:LogAnalyticsGets detailed information about the specified ingest time rule such as description, defined tags, and free-form tags.- Specified by:
getIngestTimeRulein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getLabel
public GetLabelResponse getLabel(GetLabelRequest request)
Description copied from interface:LogAnalyticsGets detailed information about the label with the specified name.- Specified by:
getLabelin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getLabelSummary
public GetLabelSummaryResponse getLabelSummary(GetLabelSummaryRequest request)
Description copied from interface:LogAnalyticsReturns the count of labels.- Specified by:
getLabelSummaryin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getLogAnalyticsEmBridge
public GetLogAnalyticsEmBridgeResponse getLogAnalyticsEmBridge(GetLogAnalyticsEmBridgeRequest request)
Description copied from interface:LogAnalyticsRetrieve the log analytics enterprise manager bridge with the given id.- Specified by:
getLogAnalyticsEmBridgein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getLogAnalyticsEmBridgeSummary
public GetLogAnalyticsEmBridgeSummaryResponse getLogAnalyticsEmBridgeSummary(GetLogAnalyticsEmBridgeSummaryRequest request)
Description copied from interface:LogAnalyticsReturns log analytics enterprise manager bridges summary report.- Specified by:
getLogAnalyticsEmBridgeSummaryin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getLogAnalyticsEntitiesSummary
public GetLogAnalyticsEntitiesSummaryResponse getLogAnalyticsEntitiesSummary(GetLogAnalyticsEntitiesSummaryRequest request)
Description copied from interface:LogAnalyticsReturns log analytics entities count summary report.- Specified by:
getLogAnalyticsEntitiesSummaryin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getLogAnalyticsEntity
public GetLogAnalyticsEntityResponse getLogAnalyticsEntity(GetLogAnalyticsEntityRequest request)
Description copied from interface:LogAnalyticsRetrieve the log analytics entity with the given id.- Specified by:
getLogAnalyticsEntityin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getLogAnalyticsEntityType
public GetLogAnalyticsEntityTypeResponse getLogAnalyticsEntityType(GetLogAnalyticsEntityTypeRequest request)
Description copied from interface:LogAnalyticsRetrieve the log analytics entity type with the given name.- Specified by:
getLogAnalyticsEntityTypein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getLogAnalyticsLogGroup
public GetLogAnalyticsLogGroupResponse getLogAnalyticsLogGroup(GetLogAnalyticsLogGroupRequest request)
Description copied from interface:LogAnalyticsGets detailed information about the specified log group such as display name, description, defined tags, and free-form tags.- Specified by:
getLogAnalyticsLogGroupin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getLogAnalyticsLogGroupsSummary
public GetLogAnalyticsLogGroupsSummaryResponse getLogAnalyticsLogGroupsSummary(GetLogAnalyticsLogGroupsSummaryRequest request)
Description copied from interface:LogAnalyticsReturns the count of log groups in a compartment.- Specified by:
getLogAnalyticsLogGroupsSummaryin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getLogAnalyticsObjectCollectionRule
public GetLogAnalyticsObjectCollectionRuleResponse getLogAnalyticsObjectCollectionRule(GetLogAnalyticsObjectCollectionRuleRequest request)
Description copied from interface:LogAnalyticsGets a configured object storage based collection rule by given id- Specified by:
getLogAnalyticsObjectCollectionRulein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getLogSetsCount
public GetLogSetsCountResponse getLogSetsCount(GetLogSetsCountRequest request)
Description copied from interface:LogAnalyticsThis API returns the count of distinct log sets.- Specified by:
getLogSetsCountin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getLookup
public GetLookupResponse getLookup(GetLookupRequest request)
Description copied from interface:LogAnalyticsGets detailed information about the lookup with the specified name.- Specified by:
getLookupin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getLookupSummary
public GetLookupSummaryResponse getLookupSummary(GetLookupSummaryRequest request)
Description copied from interface:LogAnalyticsReturns the count of user created and oracle defined lookups.- Specified by:
getLookupSummaryin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getNamespace
public GetNamespaceResponse getNamespace(GetNamespaceRequest request)
Description copied from interface:LogAnalyticsThis API gets the namespace details of a tenancy already onboarded in Logging Analytics Application- Specified by:
getNamespacein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getParser
public GetParserResponse getParser(GetParserRequest request)
Description copied from interface:LogAnalyticsGets detailed information about the parser with the specified name.- Specified by:
getParserin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getParserSummary
public GetParserSummaryResponse getParserSummary(GetParserSummaryRequest request)
Description copied from interface:LogAnalyticsReturns the count of parsers.- Specified by:
getParserSummaryin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getPreferences
public GetPreferencesResponse getPreferences(GetPreferencesRequest request)
Description copied from interface:LogAnalyticsLists the tenant preferences such as DEFAULT_HOMEPAGE and collection properties.- Specified by:
getPreferencesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getQueryResult
public GetQueryResultResponse getQueryResult(GetQueryResultRequest request)
Description copied from interface:LogAnalyticsReturns the intermediate results for a query that was specified to run asynchronously if the query has not completed, otherwise the final query results identified by a queryWorkRequestId returned when submitting the query execute asynchronously.- Specified by:
getQueryResultin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getQueryWorkRequest
public GetQueryWorkRequestResponse getQueryWorkRequest(GetQueryWorkRequestRequest request)
Description copied from interface:LogAnalyticsRetrieve work request details by workRequestId.This endpoint can be polled for status tracking of work request. Clients should poll using the interval returned in the retry-after header.
- Specified by:
getQueryWorkRequestin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getRecallCount
public GetRecallCountResponse getRecallCount(GetRecallCountRequest request)
Description copied from interface:LogAnalyticsThis API gets the number of recalls made and the maximum recalls that can be made- Specified by:
getRecallCountin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getRecalledDataSize
public GetRecalledDataSizeResponse getRecalledDataSize(GetRecalledDataSizeRequest request)
Description copied from interface:LogAnalyticsThis API gets the datasize of recalls for a given timeframe- Specified by:
getRecalledDataSizein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getRulesSummary
public GetRulesSummaryResponse getRulesSummary(GetRulesSummaryRequest request)
Description copied from interface:LogAnalyticsReturns the count of detection rules in a compartment.- Specified by:
getRulesSummaryin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getScheduledTask
public GetScheduledTaskResponse getScheduledTask(GetScheduledTaskRequest request)
Description copied from interface:LogAnalyticsGet the scheduled task for the specified task identifier.- Specified by:
getScheduledTaskin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getSource
public GetSourceResponse getSource(GetSourceRequest request)
Description copied from interface:LogAnalyticsGets detailed information about the source with the specified name.- Specified by:
getSourcein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getSourceSummary
public GetSourceSummaryResponse getSourceSummary(GetSourceSummaryRequest request)
Description copied from interface:LogAnalyticsReturns the count of sources.- Specified by:
getSourceSummaryin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getStorage
public GetStorageResponse getStorage(GetStorageRequest request)
Description copied from interface:LogAnalyticsThis API gets the storage configuration of a tenancy- Specified by:
getStoragein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getStorageUsage
public GetStorageUsageResponse getStorageUsage(GetStorageUsageRequest request)
Description copied from interface:LogAnalyticsThis API gets storage usage information of a tenancy.Storage usage information includes active, archived or recalled data. The unit of return data is in bytes.
- Specified by:
getStorageUsagein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getStorageWorkRequest
public GetStorageWorkRequestResponse getStorageWorkRequest(GetStorageWorkRequestRequest request)
Description copied from interface:LogAnalyticsThis API returns work request details specified by {workRequestId}.This API can be polled for status tracking of work request. Clients should poll using the interval returned in retry-after header.
- Specified by:
getStorageWorkRequestin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getTemplate
public GetTemplateResponse getTemplate(GetTemplateRequest request)
Description copied from interface:LogAnalyticsGets detailed information about the template with the specified ocid.- Specified by:
getTemplatein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getUnprocessedDataBucket
public GetUnprocessedDataBucketResponse getUnprocessedDataBucket(GetUnprocessedDataBucketRequest request)
Description copied from interface:LogAnalyticsThis API retrieves details of the configured bucket that stores unprocessed payloads.- Specified by:
getUnprocessedDataBucketin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getUpload
public GetUploadResponse getUpload(GetUploadRequest request)
Description copied from interface:LogAnalyticsGets an On-Demand Upload info by reference.- Specified by:
getUploadin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWorkRequest
public GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Description copied from interface:LogAnalyticsGets the status of the work request with the given ID.- Specified by:
getWorkRequestin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
importCustomContent
public ImportCustomContentResponse importCustomContent(ImportCustomContentRequest request)
Description copied from interface:LogAnalyticsImports the specified custom content from the input in zip format.Note: This operation consumes a stream.
If the stream supports
InputStream.mark(int)andInputStream.reset(), when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream, and the stream'sFileChannelposition can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)andInputStream.reset(). Then the same procedure as above is followed. If the stream'sFileChannelposition cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)andInputStream.reset(), then the stream is wrapped in aBufferedInputStream, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStreamwhoseFileChannelposition can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
importCustomContentin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listAssociableEntities
public ListAssociableEntitiesResponse listAssociableEntities(ListAssociableEntitiesRequest request)
Description copied from interface:LogAnalyticsLists the entities in the specified compartment which are (in)eligible for association with this source.- Specified by:
listAssociableEntitiesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listAssociatedEntities
public ListAssociatedEntitiesResponse listAssociatedEntities(ListAssociatedEntitiesRequest request)
Description copied from interface:LogAnalyticsLists the association details of entities in the specified compartment that are associated with at least one source.- Specified by:
listAssociatedEntitiesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listAutoAssociations
public ListAutoAssociationsResponse listAutoAssociations(ListAutoAssociationsRequest request)
Description copied from interface:LogAnalyticsGets information related to auto association for the source with the specified name.- Specified by:
listAutoAssociationsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listCategories
public ListCategoriesResponse listCategories(ListCategoriesRequest request)
Description copied from interface:LogAnalyticsReturns a list of categories, containing detailed information about them.You may limit the number of results, provide sorting order, and filter by information such as category name or description.
- Specified by:
listCategoriesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listConfigWorkRequests
public ListConfigWorkRequestsResponse listConfigWorkRequests(ListConfigWorkRequestsRequest request)
Description copied from interface:LogAnalyticsReturns the list of configuration work requests such as association or lookup operations, containing detailed information about them.You may paginate or limit the number of results.
- Specified by:
listConfigWorkRequestsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listEffectiveProperties
public ListEffectivePropertiesResponse listEffectiveProperties(ListEffectivePropertiesRequest request)
Description copied from interface:LogAnalyticsReturns a list of effective properties for the specified resource.- Specified by:
listEffectivePropertiesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listEncryptionKeyInfo
public ListEncryptionKeyInfoResponse listEncryptionKeyInfo(ListEncryptionKeyInfoRequest request)
Description copied from interface:LogAnalyticsThis API returns the list of customer owned encryption key info.- Specified by:
listEncryptionKeyInfoin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listEntityAssociations
public ListEntityAssociationsResponse listEntityAssociations(ListEntityAssociationsRequest request)
Description copied from interface:LogAnalyticsReturn a list of log analytics entities associated with input source log analytics entity.- Specified by:
listEntityAssociationsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listEntitySourceAssociations
public ListEntitySourceAssociationsResponse listEntitySourceAssociations(ListEntitySourceAssociationsRequest request)
Description copied from interface:LogAnalyticsReturns the list of source associations for the specified entity.- Specified by:
listEntitySourceAssociationsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listFields
public ListFieldsResponse listFields(ListFieldsRequest request)
Description copied from interface:LogAnalyticsReturns a list of log fields, containing detailed information about them.You may limit the number of results, provide sorting order, and filter by specifying various options including parser and source names.
- Specified by:
listFieldsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listIngestTimeRules
public ListIngestTimeRulesResponse listIngestTimeRules(ListIngestTimeRulesRequest request)
Description copied from interface:LogAnalyticsReturns a list of ingest time rules in a compartment.You may limit the number of rules, provide sorting options, and filter the results.
- Specified by:
listIngestTimeRulesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listLabelPriorities
public ListLabelPrioritiesResponse listLabelPriorities(ListLabelPrioritiesRequest request)
Description copied from interface:LogAnalyticsLists the available problem priorities that could be associated with a label.- Specified by:
listLabelPrioritiesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listLabelSourceDetails
public ListLabelSourceDetailsResponse listLabelSourceDetails(ListLabelSourceDetailsRequest request)
Description copied from interface:LogAnalyticsLists sources using the label, along with configuration details like base field, operator and condition.- Specified by:
listLabelSourceDetailsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listLabels
public ListLabelsResponse listLabels(ListLabelsRequest request)
Description copied from interface:LogAnalyticsReturns a list of labels, containing detailed information about them.You may limit the number of results, provide sorting order, and filter by information such as label name, display name, description and priority.
- Specified by:
listLabelsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listLogAnalyticsEmBridges
public ListLogAnalyticsEmBridgesResponse listLogAnalyticsEmBridges(ListLogAnalyticsEmBridgesRequest request)
Description copied from interface:LogAnalyticsReturn a list of log analytics enterprise manager bridges.- Specified by:
listLogAnalyticsEmBridgesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listLogAnalyticsEntities
public ListLogAnalyticsEntitiesResponse listLogAnalyticsEntities(ListLogAnalyticsEntitiesRequest request)
Description copied from interface:LogAnalyticsReturn a list of log analytics entities.- Specified by:
listLogAnalyticsEntitiesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listLogAnalyticsEntityTopology
public ListLogAnalyticsEntityTopologyResponse listLogAnalyticsEntityTopology(ListLogAnalyticsEntityTopologyRequest request)
Description copied from interface:LogAnalyticsReturn a log analytics entity topology collection that contains a set of log analytics entities and a set of relationships between those, for the input source entity.- Specified by:
listLogAnalyticsEntityTopologyin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listLogAnalyticsEntityTypes
public ListLogAnalyticsEntityTypesResponse listLogAnalyticsEntityTypes(ListLogAnalyticsEntityTypesRequest request)
Description copied from interface:LogAnalyticsReturn a list of log analytics entity types.- Specified by:
listLogAnalyticsEntityTypesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listLogAnalyticsLogGroups
public ListLogAnalyticsLogGroupsResponse listLogAnalyticsLogGroups(ListLogAnalyticsLogGroupsRequest request)
Description copied from interface:LogAnalyticsReturns a list of log groups in a compartment.You may limit the number of log groups, provide sorting options, and filter the results by specifying a display name.
- Specified by:
listLogAnalyticsLogGroupsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listLogAnalyticsObjectCollectionRules
public ListLogAnalyticsObjectCollectionRulesResponse listLogAnalyticsObjectCollectionRules(ListLogAnalyticsObjectCollectionRulesRequest request)
Description copied from interface:LogAnalyticsGets list of collection rules.- Specified by:
listLogAnalyticsObjectCollectionRulesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listLogSets
public ListLogSetsResponse listLogSets(ListLogSetsRequest request)
Description copied from interface:LogAnalyticsThis API returns a list of log sets.- Specified by:
listLogSetsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listLookups
public ListLookupsResponse listLookups(ListLookupsRequest request)
Description copied from interface:LogAnalyticsReturns a list of lookups, containing detailed information about them.You may limit the number of results, provide sorting order, and filter by information such as lookup name, description and type.
- Specified by:
listLookupsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listMetaSourceTypes
public ListMetaSourceTypesResponse listMetaSourceTypes(ListMetaSourceTypesRequest request)
Description copied from interface:LogAnalyticsLists the types of log sources supported.- Specified by:
listMetaSourceTypesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listNamespaces
public ListNamespacesResponse listNamespaces(ListNamespacesRequest request)
Description copied from interface:LogAnalyticsGiven a tenancy OCID, this API returns the namespace of the tenancy if it is valid and subscribed to the region.The result also indicates if the tenancy is onboarded with Logging Analytics.
- Specified by:
listNamespacesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listOverlappingRecalls
public ListOverlappingRecallsResponse listOverlappingRecalls(ListOverlappingRecallsRequest request)
Description copied from interface:LogAnalyticsThis API gets the list of overlapping recalls made in the given timeframe- Specified by:
listOverlappingRecallsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listParserActions
public ListParserActionsResponse listParserActions(ListParserActionsRequest request)
Description copied from interface:LogAnalyticsReturns a list of parser actions.You may limit the number of results and provide sorting order.
- Specified by:
listParserActionsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listParserFunctions
public ListParserFunctionsResponse listParserFunctions(ListParserFunctionsRequest request)
Description copied from interface:LogAnalyticsLists the parser functions defined for the specified parser.- Specified by:
listParserFunctionsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listParserMetaPlugins
public ListParserMetaPluginsResponse listParserMetaPlugins(ListParserMetaPluginsRequest request)
Description copied from interface:LogAnalyticsLists the parser meta plugins available for defining parser functions.- Specified by:
listParserMetaPluginsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listParsers
public ListParsersResponse listParsers(ListParsersRequest request)
Description copied from interface:LogAnalyticsReturns a list of parsers, containing detailed information about them.You may limit the number of results, provide sorting order, and filter by information such as parser name, type, display name and description.
- Specified by:
listParsersin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listPropertiesMetadata
public ListPropertiesMetadataResponse listPropertiesMetadata(ListPropertiesMetadataRequest request)
Description copied from interface:LogAnalyticsReturns a list of properties along with their metadata.- Specified by:
listPropertiesMetadatain interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listQueryWorkRequests
public ListQueryWorkRequestsResponse listQueryWorkRequests(ListQueryWorkRequestsRequest request)
Description copied from interface:LogAnalyticsList active asynchronous queries.- Specified by:
listQueryWorkRequestsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listRecalledData
public ListRecalledDataResponse listRecalledData(ListRecalledDataRequest request)
Description copied from interface:LogAnalyticsThis API returns the list of recalled data of a tenancy.- Specified by:
listRecalledDatain interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listRecalledInfo
public ListRecalledInfoResponse listRecalledInfo(ListRecalledInfoRequest request)
Description copied from interface:LogAnalyticsThis API returns the list of recalled data of a tenancy.- Specified by:
listRecalledInfoin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listResourceCategories
public ListResourceCategoriesResponse listResourceCategories(ListResourceCategoriesRequest request)
Description copied from interface:LogAnalyticsReturns a list of resources and their category assignments.You may limit the number of results, provide sorting order, and filter by information such as resource type.
- Specified by:
listResourceCategoriesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listRules
public ListRulesResponse listRules(ListRulesRequest request)
Description copied from interface:LogAnalyticsReturns a list of ingest time rules and scheduled tasks in a compartment.You may limit the number of items returned, provide sorting options, and filter the results.
- Specified by:
listRulesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listScheduledTasks
public ListScheduledTasksResponse listScheduledTasks(ListScheduledTasksRequest request)
Description copied from interface:LogAnalyticsLists scheduled tasks.- Specified by:
listScheduledTasksin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listSourceAssociations
public ListSourceAssociationsResponse listSourceAssociations(ListSourceAssociationsRequest request)
Description copied from interface:LogAnalyticsReturns the list of entity associations in the input compartment for the specified source.- Specified by:
listSourceAssociationsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listSourceEventTypes
public ListSourceEventTypesResponse listSourceEventTypes(ListSourceEventTypesRequest request)
Description copied from interface:LogAnalyticsLists the event types mapped to the source with the specified name.The event type string could be the fully qualified name or a prefix that matches the event type.
- Specified by:
listSourceEventTypesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listSourceExtendedFieldDefinitions
public ListSourceExtendedFieldDefinitionsResponse listSourceExtendedFieldDefinitions(ListSourceExtendedFieldDefinitionsRequest request)
Description copied from interface:LogAnalyticsLists the extended field definitions for the source with the specified name.- Specified by:
listSourceExtendedFieldDefinitionsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listSourceLabelOperators
public ListSourceLabelOperatorsResponse listSourceLabelOperators(ListSourceLabelOperatorsRequest request)
Description copied from interface:LogAnalyticsLists the supported conditional operators that could be used for matching log field values to generate a label.You may use patterns to specify a condition. If a log entry matches that condition, it is tagged with the corresponding label.
- Specified by:
listSourceLabelOperatorsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listSourceMetaFunctions
public ListSourceMetaFunctionsResponse listSourceMetaFunctions(ListSourceMetaFunctionsRequest request)
Description copied from interface:LogAnalyticsLists the functions that could be used to enrich log entries based on meaningful information extracted from the log fields.- Specified by:
listSourceMetaFunctionsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listSourcePatterns
public ListSourcePatternsResponse listSourcePatterns(ListSourcePatternsRequest request)
Description copied from interface:LogAnalyticsLists the source patterns for the source with the specified name.- Specified by:
listSourcePatternsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listSources
public ListSourcesResponse listSources(ListSourcesRequest request)
Description copied from interface:LogAnalyticsReturns a list of sources, containing detailed information about them.You may limit the number of results, provide sorting order, and filter by information such as display name, description and entity type.
- Specified by:
listSourcesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listStorageWorkRequestErrors
public ListStorageWorkRequestErrorsResponse listStorageWorkRequestErrors(ListStorageWorkRequestErrorsRequest request)
Description copied from interface:LogAnalyticsThis API returns the list of work request errors if any.- Specified by:
listStorageWorkRequestErrorsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listStorageWorkRequests
public ListStorageWorkRequestsResponse listStorageWorkRequests(ListStorageWorkRequestsRequest request)
Description copied from interface:LogAnalyticsThis API lists storage work requests.Use query parameters to narrow down or sort the result list.
- Specified by:
listStorageWorkRequestsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listSupportedCharEncodings
public ListSupportedCharEncodingsResponse listSupportedCharEncodings(ListSupportedCharEncodingsRequest request)
Description copied from interface:LogAnalyticsGets list of character encodings which are supported by on-demand upload.- Specified by:
listSupportedCharEncodingsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listSupportedTimezones
public ListSupportedTimezonesResponse listSupportedTimezones(ListSupportedTimezonesRequest request)
Description copied from interface:LogAnalyticsGets list of timezones which are supported by on-demand upload.- Specified by:
listSupportedTimezonesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listTemplates
public ListTemplatesResponse listTemplates(ListTemplatesRequest request)
Description copied from interface:LogAnalyticsReturns a list of templates, containing detailed information about them.You may limit the number of results, provide sorting order, and filter by information such as template name, type, display name and description.
- Specified by:
listTemplatesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listUploadFiles
public ListUploadFilesResponse listUploadFiles(ListUploadFilesRequest request)
Description copied from interface:LogAnalyticsGets list of files in an upload along with its processing state.- Specified by:
listUploadFilesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listUploadWarnings
public ListUploadWarningsResponse listUploadWarnings(ListUploadWarningsRequest request)
Description copied from interface:LogAnalyticsGets list of warnings in an upload caused by incorrect configuration.- Specified by:
listUploadWarningsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listUploads
public ListUploadsResponse listUploads(ListUploadsRequest request)
Description copied from interface:LogAnalyticsGets a list of all On-demand uploads.To use this and other API operations, you must be authorized in an IAM policy.
- Specified by:
listUploadsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWarnings
public ListWarningsResponse listWarnings(ListWarningsRequest request)
Description copied from interface:LogAnalyticsReturns a list of collection warnings, containing detailed information about them.You may limit the number of results, provide sorting order, and filter by information such as start time, end time, warning type, warning state, source name, source pattern and entity name.
- Specified by:
listWarningsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestErrors
public ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Description copied from interface:LogAnalyticsReturn a (paginated) list of errors for a given work request.- Specified by:
listWorkRequestErrorsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestLogs
public ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Description copied from interface:LogAnalyticsReturn a (paginated) list of logs for a given work request.- Specified by:
listWorkRequestLogsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequests
public ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Description copied from interface:LogAnalyticsLists the work requests in a compartment.- Specified by:
listWorkRequestsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
offboardNamespace
public OffboardNamespaceResponse offboardNamespace(OffboardNamespaceRequest request)
Description copied from interface:LogAnalyticsOff-boards a tenant from Logging Analytics- Specified by:
offboardNamespacein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
onboardNamespace
public OnboardNamespaceResponse onboardNamespace(OnboardNamespaceRequest request)
Description copied from interface:LogAnalyticsOn-boards a tenant to Logging Analytics.- Specified by:
onboardNamespacein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
parseQuery
public ParseQueryResponse parseQuery(ParseQueryRequest request)
Description copied from interface:LogAnalyticsDescribe query- Specified by:
parseQueryin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
pauseScheduledTask
public PauseScheduledTaskResponse pauseScheduledTask(PauseScheduledTaskRequest request)
Description copied from interface:LogAnalyticsPause the scheduled task specified by {scheduledTaskId}.- Specified by:
pauseScheduledTaskin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
purgeStorageData
public PurgeStorageDataResponse purgeStorageData(PurgeStorageDataRequest request)
Description copied from interface:LogAnalyticsThis API submits a work request to purge data.Only data from log groups that the user has permission to delete will be purged. To purge all data, the user must have permission to all log groups.
- Specified by:
purgeStorageDatain interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
putQueryWorkRequestBackground
public PutQueryWorkRequestBackgroundResponse putQueryWorkRequestBackground(PutQueryWorkRequestBackgroundRequest request)
Description copied from interface:LogAnalyticsPut the work request specified by {workRequestId} into the background.Backgrounded queries will preserve query results on query completion for up to 7 days for recall. After 7 days the results and query expire.
- Specified by:
putQueryWorkRequestBackgroundin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
query
public QueryResponse query(QueryRequest request)
Description copied from interface:LogAnalyticsPerforms a log analytics search, if shouldRunAsync is false returns the query results once they become available subject to 60 second timeout.If a query is subject to exceed that time then it should be run asynchronously. Asynchronous query submissions return the queryWorkRequestId to use for execution tracking, query submission lifecycle actions and to poll for query results.
- Specified by:
queryin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
recallArchivedData
public RecallArchivedDataResponse recallArchivedData(RecallArchivedDataRequest request)
Description copied from interface:LogAnalyticsThis API submits a work request to recall archived data based on time interval and data type.- Specified by:
recallArchivedDatain interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
registerLookup
public RegisterLookupResponse registerLookup(RegisterLookupRequest request)
Description copied from interface:LogAnalyticsCreates a lookup with the specified name, type and description.Note: This operation consumes a stream.
If the stream supports
InputStream.mark(int)andInputStream.reset(), when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream, and the stream'sFileChannelposition can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)andInputStream.reset(). Then the same procedure as above is followed. If the stream'sFileChannelposition cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)andInputStream.reset(), then the stream is wrapped in aBufferedInputStream, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStreamwhoseFileChannelposition can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
registerLookupin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
releaseRecalledData
public ReleaseRecalledDataResponse releaseRecalledData(ReleaseRecalledDataRequest request)
Description copied from interface:LogAnalyticsThis API submits a work request to release recalled data based on time interval and data type.- Specified by:
releaseRecalledDatain interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
removeEntityAssociations
public RemoveEntityAssociationsResponse removeEntityAssociations(RemoveEntityAssociationsRequest request)
Description copied from interface:LogAnalyticsDelete association between input source log analytics entity and destination entities.- Specified by:
removeEntityAssociationsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
removePreferences
public RemovePreferencesResponse removePreferences(RemovePreferencesRequest request)
Description copied from interface:LogAnalyticsRemoves the tenant preferences such as DEFAULT_HOMEPAGE and collection properties.- Specified by:
removePreferencesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
removeResourceCategories
public RemoveResourceCategoriesResponse removeResourceCategories(RemoveResourceCategoriesRequest request)
Description copied from interface:LogAnalyticsRemoves the category assignments of DASHBOARD and SAVEDSEARCH resources.- Specified by:
removeResourceCategoriesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
removeSourceEventTypes
public RemoveSourceEventTypesResponse removeSourceEventTypes(RemoveSourceEventTypesRequest request)
Description copied from interface:LogAnalyticsRemove one or more event types from a source.- Specified by:
removeSourceEventTypesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
resumeScheduledTask
public ResumeScheduledTaskResponse resumeScheduledTask(ResumeScheduledTaskRequest request)
Description copied from interface:LogAnalyticsResume the scheduled task specified by {scheduledTaskId}.- Specified by:
resumeScheduledTaskin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
run
public RunResponse run(RunRequest request)
Description copied from interface:LogAnalyticsExecute the saved search acceleration task in the foreground.The ScheduledTask taskType must be ACCELERATION. Optionally specify time range (timeStart and timeEnd). The default is all time.
- Specified by:
runin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
setUnprocessedDataBucket
public SetUnprocessedDataBucketResponse setUnprocessedDataBucket(SetUnprocessedDataBucketRequest request)
Description copied from interface:LogAnalyticsThis API configures a bucket to store unprocessed payloads.While processing there could be reasons a payload cannot be processed (mismatched structure, corrupted archive format, etc), if configured the payload would be uploaded to the bucket for verification.
- Specified by:
setUnprocessedDataBucketin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
suggest
public SuggestResponse suggest(SuggestRequest request)
Description copied from interface:LogAnalyticsReturns a context specific list of either commands, fields, or values to append to the end of the specified query string if applicable.- Specified by:
suggestin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
suppressWarning
public SuppressWarningResponse suppressWarning(SuppressWarningRequest request)
Description copied from interface:LogAnalyticsSupresses a list of warnings.Any unsuppressed warnings in the input list would be suppressed. Warnings in the input list which are already suppressed will not be modified.
- Specified by:
suppressWarningin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
testParser
public TestParserResponse testParser(TestParserRequest request)
Description copied from interface:LogAnalyticsTests the parser definition against the specified example content to ensure fields are successfully extracted.- Specified by:
testParserin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
unsuppressWarning
public UnsuppressWarningResponse unsuppressWarning(UnsuppressWarningRequest request)
Description copied from interface:LogAnalyticsUnsupresses a list of warnings.Any suppressed warnings in the input list would be unsuppressed. Warnings in the input list which are already unsuppressed will not be modified.
- Specified by:
unsuppressWarningin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateIngestTimeRule
public UpdateIngestTimeRuleResponse updateIngestTimeRule(UpdateIngestTimeRuleRequest request)
Description copied from interface:LogAnalyticsUpdates the specified ingest time rule’s description, defined tags, and free-form tags.- Specified by:
updateIngestTimeRulein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateLogAnalyticsEmBridge
public UpdateLogAnalyticsEmBridgeResponse updateLogAnalyticsEmBridge(UpdateLogAnalyticsEmBridgeRequest request)
Description copied from interface:LogAnalyticsUpdate log analytics enterprise manager bridge with the given id.- Specified by:
updateLogAnalyticsEmBridgein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateLogAnalyticsEntity
public UpdateLogAnalyticsEntityResponse updateLogAnalyticsEntity(UpdateLogAnalyticsEntityRequest request)
Description copied from interface:LogAnalyticsUpdate the log analytics entity with the given id.- Specified by:
updateLogAnalyticsEntityin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateLogAnalyticsEntityType
public UpdateLogAnalyticsEntityTypeResponse updateLogAnalyticsEntityType(UpdateLogAnalyticsEntityTypeRequest request)
Description copied from interface:LogAnalyticsUpdate custom log analytics entity type.Out of box entity types cannot be udpated.
- Specified by:
updateLogAnalyticsEntityTypein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateLogAnalyticsLogGroup
public UpdateLogAnalyticsLogGroupResponse updateLogAnalyticsLogGroup(UpdateLogAnalyticsLogGroupRequest request)
Description copied from interface:LogAnalyticsUpdates the specified log group’s display name, description, defined tags, and free-form tags.- Specified by:
updateLogAnalyticsLogGroupin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateLogAnalyticsObjectCollectionRule
public UpdateLogAnalyticsObjectCollectionRuleResponse updateLogAnalyticsObjectCollectionRule(UpdateLogAnalyticsObjectCollectionRuleRequest request)
Description copied from interface:LogAnalyticsUpdates configuration of the object collection rule for the given id.- Specified by:
updateLogAnalyticsObjectCollectionRulein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateLookup
public UpdateLookupResponse updateLookup(UpdateLookupRequest request)
Description copied from interface:LogAnalyticsUpdates the metadata of the specified lookup, such as the lookup description.- Specified by:
updateLookupin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateLookupData
public UpdateLookupDataResponse updateLookupData(UpdateLookupDataRequest request)
Description copied from interface:LogAnalyticsUpdates the lookup content.The csv file containing the content to be updated is passed in as binary data in the request.
Note: This operation consumes a stream.
If the stream supports
InputStream.mark(int)andInputStream.reset(), when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream, and the stream'sFileChannelposition can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)andInputStream.reset(). Then the same procedure as above is followed. If the stream'sFileChannelposition cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)andInputStream.reset(), then the stream is wrapped in aBufferedInputStream, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStreamwhoseFileChannelposition can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
updateLookupDatain interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updatePreferences
public UpdatePreferencesResponse updatePreferences(UpdatePreferencesRequest request)
Description copied from interface:LogAnalyticsUpdates the tenant preferences such as DEFAULT_HOMEPAGE and collection properties.- Specified by:
updatePreferencesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateResourceCategories
public UpdateResourceCategoriesResponse updateResourceCategories(UpdateResourceCategoriesRequest request)
Description copied from interface:LogAnalyticsUpdates the category assignments of DASHBOARD and SAVEDSEARCH resources.- Specified by:
updateResourceCategoriesin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateScheduledTask
public UpdateScheduledTaskResponse updateScheduledTask(UpdateScheduledTaskRequest request)
Description copied from interface:LogAnalyticsUpdate the scheduled task.Schedules may be updated only for taskType SAVED_SEARCH and PURGE.
- Specified by:
updateScheduledTaskin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateStorage
public UpdateStorageResponse updateStorage(UpdateStorageRequest request)
Description copied from interface:LogAnalyticsThis API updates the archiving configuration- Specified by:
updateStoragein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
uploadDiscoveryData
public UploadDiscoveryDataResponse uploadDiscoveryData(UploadDiscoveryDataRequest request)
Description copied from interface:LogAnalyticsAccepts discovery data for processing by Logging Analytics.Note: This operation consumes a stream.
If the stream supports
InputStream.mark(int)andInputStream.reset(), when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream, and the stream'sFileChannelposition can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)andInputStream.reset(). Then the same procedure as above is followed. If the stream'sFileChannelposition cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)andInputStream.reset(), then the stream is wrapped in aBufferedInputStream, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStreamwhoseFileChannelposition can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
uploadDiscoveryDatain interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
uploadLogEventsFile
public UploadLogEventsFileResponse uploadLogEventsFile(UploadLogEventsFileRequest request)
Description copied from interface:LogAnalyticsAccepts log events for processing by Logging Analytics.Note: This operation consumes a stream.
If the stream supports
InputStream.mark(int)andInputStream.reset(), when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream, and the stream'sFileChannelposition can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)andInputStream.reset(). Then the same procedure as above is followed. If the stream'sFileChannelposition cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)andInputStream.reset(), then the stream is wrapped in aBufferedInputStream, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStreamwhoseFileChannelposition can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
uploadLogEventsFilein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
uploadLogFile
public UploadLogFileResponse uploadLogFile(UploadLogFileRequest request)
Description copied from interface:LogAnalyticsAccepts log data for processing by Logging Analytics.Note: This operation consumes a stream.
If the stream supports
InputStream.mark(int)andInputStream.reset(), when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream, and the stream'sFileChannelposition can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)andInputStream.reset(). Then the same procedure as above is followed. If the stream'sFileChannelposition cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)andInputStream.reset(), then the stream is wrapped in aBufferedInputStream, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStreamwhoseFileChannelposition can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
uploadLogFilein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
uploadOtlpLogs
public UploadOtlpLogsResponse uploadOtlpLogs(UploadOtlpLogsRequest request)
Description copied from interface:LogAnalyticsAccepts log data in OTLP JSON-encoded Protobuf format.Note: This operation consumes a stream.
If the stream supports
InputStream.mark(int)andInputStream.reset(), when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream, and the stream'sFileChannelposition can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)andInputStream.reset(). Then the same procedure as above is followed. If the stream'sFileChannelposition cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)andInputStream.reset(), then the stream is wrapped in aBufferedInputStream, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStreamwhoseFileChannelposition can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
uploadOtlpLogsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
upsertAssociations
public UpsertAssociationsResponse upsertAssociations(UpsertAssociationsRequest request)
Description copied from interface:LogAnalyticsCreates or updates associations between sources and entities.All entities should belong to the specified input compartment.
- Specified by:
upsertAssociationsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
upsertField
public UpsertFieldResponse upsertField(UpsertFieldRequest request)
Description copied from interface:LogAnalyticsCreates or updates a field that could be used in parser expressions to extract and assign value.To create a field, specify its display name. A name would be generated for the field. For subsequent calls to update the field, include the name attribute.
- Specified by:
upsertFieldin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
upsertLabel
public UpsertLabelResponse upsertLabel(UpsertLabelRequest request)
Description copied from interface:LogAnalyticsCreates or updates a label that could be used to tag a log entry.You may optionally designate the label as a problem, and assign it a priority. You may also provide its related terms (aliases). To create a label, specify its display name. A name would be generated for the label. For subsequent calls to update the label, include the name attribute.
- Specified by:
upsertLabelin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
upsertParser
public UpsertParserResponse upsertParser(UpsertParserRequest request)
Description copied from interface:LogAnalyticsCreates or updates a parser, which defines how fields are extracted from a log entry.- Specified by:
upsertParserin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
upsertSource
public UpsertSourceResponse upsertSource(UpsertSourceRequest request)
Description copied from interface:LogAnalyticsCreates or updates a log source.You may also specify parsers, labels, extended fields etc., for the source.
- Specified by:
upsertSourcein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
validateAssociationParameters
public ValidateAssociationParametersResponse validateAssociationParameters(ValidateAssociationParametersRequest request)
Description copied from interface:LogAnalyticsChecks if the passed in entities could be associated with the specified sources.The validation is performed to ensure that the entities have the relevant property values that are used in the corresponding source patterns.
- Specified by:
validateAssociationParametersin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
validateEndpoint
public ValidateEndpointResponse validateEndpoint(ValidateEndpointRequest request)
Description copied from interface:LogAnalyticsValidates the REST endpoint configuration.- Specified by:
validateEndpointin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
validateFile
public ValidateFileResponse validateFile(ValidateFileRequest request)
Description copied from interface:LogAnalyticsValidates a log file to check whether it is eligible to be uploaded or not.- Specified by:
validateFilein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
validateLabelCondition
public ValidateLabelConditionResponse validateLabelCondition(ValidateLabelConditionRequest request)
Description copied from interface:LogAnalyticsValidates specified condition for a source label.If both conditionString and conditionBlocks are specified, they would be validated to ensure they represent identical conditions. If one of them is input, the response would include the validated representation of the other structure too. Additionally, if field values are passed, the condition specification would be evaluated against them.
- Specified by:
validateLabelConditionin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
validateSource
public ValidateSourceResponse validateSource(ValidateSourceRequest request)
Description copied from interface:LogAnalyticsChecks if the specified input is a valid log source definition.- Specified by:
validateSourcein interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
validateSourceExtendedFieldDetails
public ValidateSourceExtendedFieldDetailsResponse validateSourceExtendedFieldDetails(ValidateSourceExtendedFieldDetailsRequest request)
Description copied from interface:LogAnalyticsChecks if the specified input contains valid extended field definitions against the provided example content.- Specified by:
validateSourceExtendedFieldDetailsin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
validateSourceMapping
public ValidateSourceMappingResponse validateSourceMapping(ValidateSourceMappingRequest request)
Description copied from interface:LogAnalyticsValidates the source mapping for a given file and provides match status and the parsed representation of log data.- Specified by:
validateSourceMappingin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
verify
public VerifyResponse verify(VerifyRequest request)
Description copied from interface:LogAnalyticsVerify the accelerated saved search task specified by {scheduledTaskId}.For internal use only. Optionally specify whether to return accelerated search results; the default is false. The ScheduledTask taskType must be ACCELERATION.
- Specified by:
verifyin interfaceLogAnalytics- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public LogAnalyticsWaiters getWaiters()
Description copied from interface:LogAnalyticsGets the pre-configured waiters available for resources for this service.- Specified by:
getWaitersin interfaceLogAnalytics- Returns:
- The service waiters.
-
getPaginators
public LogAnalyticsPaginators getPaginators()
Description copied from interface:LogAnalyticsGets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterableinterface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Specified by:
getPaginatorsin interfaceLogAnalytics- Returns:
- The service paginators.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
useRealmSpecificEndpointTemplate
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint- The endpoint template in userequiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient.This will call
ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
-