@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public class LogAnalyticsClient extends BaseSyncClient implements LogAnalytics
Modifier and Type | Class and Description |
---|---|
static class |
LogAnalyticsClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
String |
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.
|
Optional<String> |
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.
|
static Service |
SERVICE
Service instance for LogAnalytics.
|
Constructor and Description |
---|
LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Deprecated.
Use the
builder instead. |
LogAnalyticsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
LogAnalyticsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
LogAnalyticsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
Modifier and Type | Method and Description |
---|---|
AddEntityAssociationResponse |
addEntityAssociation(AddEntityAssociationRequest request)
Adds association between input source log analytics entity and one or more existing
destination entities.
|
AddSourceEventTypesResponse |
addSourceEventTypes(AddSourceEventTypesRequest request)
Add one or more event types to a source.
|
AppendLookupDataResponse |
appendLookupData(AppendLookupDataRequest request)
Appends data to the lookup content.
|
AssignEncryptionKeyResponse |
assignEncryptionKey(AssignEncryptionKeyRequest request)
This API submits a work request to assign customer encryption key.
|
BatchGetBasicInfoResponse |
batchGetBasicInfo(BatchGetBasicInfoRequest request)
Lists basic information about a specified set of labels in batch.
|
static LogAnalyticsClient.Builder |
builder()
Create a builder for this client.
|
CancelQueryWorkRequestResponse |
cancelQueryWorkRequest(CancelQueryWorkRequestRequest request)
Cancel/Remove query job work request.
|
ChangeIngestTimeRuleCompartmentResponse |
changeIngestTimeRuleCompartment(ChangeIngestTimeRuleCompartmentRequest request)
Moves the specified ingest time rule to a different compartment.
|
ChangeLogAnalyticsEmBridgeCompartmentResponse |
changeLogAnalyticsEmBridgeCompartment(ChangeLogAnalyticsEmBridgeCompartmentRequest request)
Update the compartment of the log analytics enterprise manager bridge with the given id.
|
ChangeLogAnalyticsEntityCompartmentResponse |
changeLogAnalyticsEntityCompartment(ChangeLogAnalyticsEntityCompartmentRequest request)
Update the compartment of the log analytics entity with the given id.
|
ChangeLogAnalyticsLogGroupCompartmentResponse |
changeLogAnalyticsLogGroupCompartment(ChangeLogAnalyticsLogGroupCompartmentRequest request)
Moves the specified log group to a different compartment.
|
ChangeLogAnalyticsObjectCollectionRuleCompartmentResponse |
changeLogAnalyticsObjectCollectionRuleCompartment(ChangeLogAnalyticsObjectCollectionRuleCompartmentRequest request)
Move the rule from it’s current compartment to the given compartment.
|
ChangeScheduledTaskCompartmentResponse |
changeScheduledTaskCompartment(ChangeScheduledTaskCompartmentRequest request)
Move the scheduled task into a different compartment within the same tenancy.
|
CleanResponse |
clean(CleanRequest request)
Clean accumulated acceleration data stored for the accelerated saved search.
|
void |
close() |
CompareContentResponse |
compareContent(CompareContentRequest request)
Returns the difference between the two input payloads, including intraline differences.
|
CreateIngestTimeRuleResponse |
createIngestTimeRule(CreateIngestTimeRuleRequest request)
Creates a new ingest time rule in the specified compartment.
|
CreateLogAnalyticsEmBridgeResponse |
createLogAnalyticsEmBridge(CreateLogAnalyticsEmBridgeRequest request)
Add configuration for enterprise manager bridge.
|
CreateLogAnalyticsEntityResponse |
createLogAnalyticsEntity(CreateLogAnalyticsEntityRequest request)
Create a new log analytics entity.
|
CreateLogAnalyticsEntityTypeResponse |
createLogAnalyticsEntityType(CreateLogAnalyticsEntityTypeRequest request)
Add custom log analytics entity type.
|
CreateLogAnalyticsLogGroupResponse |
createLogAnalyticsLogGroup(CreateLogAnalyticsLogGroupRequest request)
Creates a new log group in the specified compartment with the input display name.
|
CreateLogAnalyticsObjectCollectionRuleResponse |
createLogAnalyticsObjectCollectionRule(CreateLogAnalyticsObjectCollectionRuleRequest request)
Creates a rule to collect logs from an object storage bucket.
|
CreateScheduledTaskResponse |
createScheduledTask(CreateScheduledTaskRequest request)
Schedule a task as specified and return task info.
|
DeleteAssociationsResponse |
deleteAssociations(DeleteAssociationsRequest request)
Deletes the associations between the sources and entities specified.
|
DeleteFieldResponse |
deleteField(DeleteFieldRequest request)
Deletes field with the specified name.
|
DeleteIngestTimeRuleResponse |
deleteIngestTimeRule(DeleteIngestTimeRuleRequest request)
Deletes the specified ingest time rule.
|
DeleteLabelResponse |
deleteLabel(DeleteLabelRequest request)
Deletes label with the specified name.
|
DeleteLogAnalyticsEmBridgeResponse |
deleteLogAnalyticsEmBridge(DeleteLogAnalyticsEmBridgeRequest request)
Delete log analytics enterprise manager bridge with the given id.
|
DeleteLogAnalyticsEntityResponse |
deleteLogAnalyticsEntity(DeleteLogAnalyticsEntityRequest request)
Delete log analytics entity with the given id.
|
DeleteLogAnalyticsEntityTypeResponse |
deleteLogAnalyticsEntityType(DeleteLogAnalyticsEntityTypeRequest request)
Delete log analytics entity type with the given name.
|
DeleteLogAnalyticsLogGroupResponse |
deleteLogAnalyticsLogGroup(DeleteLogAnalyticsLogGroupRequest request)
Deletes the specified log group.
|
DeleteLogAnalyticsObjectCollectionRuleResponse |
deleteLogAnalyticsObjectCollectionRule(DeleteLogAnalyticsObjectCollectionRuleRequest request)
Deletes the configured object storage bucket based collection rule and stop the log
collection.
|
DeleteLookupResponse |
deleteLookup(DeleteLookupRequest request)
Deletes lookup with the specified name.
|
DeleteParserResponse |
deleteParser(DeleteParserRequest request)
Deletes parser with the specified name.
|
DeleteScheduledTaskResponse |
deleteScheduledTask(DeleteScheduledTaskRequest request)
Delete the scheduled task.
|
DeleteSourceResponse |
deleteSource(DeleteSourceRequest request)
Deletes source with the specified name.
|
DeleteUploadResponse |
deleteUpload(DeleteUploadRequest request)
Deletes an Upload by its reference.
|
DeleteUploadFileResponse |
deleteUploadFile(DeleteUploadFileRequest request)
Deletes a specific log file inside an upload by upload file reference.
|
DeleteUploadWarningResponse |
deleteUploadWarning(DeleteUploadWarningRequest request)
Suppresses a specific warning inside an upload.
|
DisableArchivingResponse |
disableArchiving(DisableArchivingRequest request)
This API disables archiving.
|
DisableAutoAssociationResponse |
disableAutoAssociation(DisableAutoAssociationRequest request)
Disables auto association for a log source.
|
DisableIngestTimeRuleResponse |
disableIngestTimeRule(DisableIngestTimeRuleRequest request)
Disables the specified ingest time rule.
|
DisableSourceEventTypesResponse |
disableSourceEventTypes(DisableSourceEventTypesRequest request)
Disable one or more event types in a source.
|
EnableArchivingResponse |
enableArchiving(EnableArchivingRequest request)
THis API enables archiving.
|
EnableAutoAssociationResponse |
enableAutoAssociation(EnableAutoAssociationRequest request)
Enables auto association for a log source.
|
EnableIngestTimeRuleResponse |
enableIngestTimeRule(EnableIngestTimeRuleRequest request)
Enables the specified ingest time rule.
|
EnableSourceEventTypesResponse |
enableSourceEventTypes(EnableSourceEventTypesRequest request)
Enable one or more event types in a source.
|
EstimatePurgeDataSizeResponse |
estimatePurgeDataSize(EstimatePurgeDataSizeRequest request)
This API estimates the size of data to be purged based based on time interval, purge query
etc.
|
EstimateRecallDataSizeResponse |
estimateRecallDataSize(EstimateRecallDataSizeRequest request)
This API gives an active storage usage estimate for archived data to be recalled and the time
range of such data.
|
EstimateReleaseDataSizeResponse |
estimateReleaseDataSize(EstimateReleaseDataSizeRequest request)
This API gives an active storage usage estimate for recalled data to be released and the time
range of such data.
|
ExportCustomContentResponse |
exportCustomContent(ExportCustomContentRequest request)
Exports all custom details of the specified sources, parsers, fields and labels, in zip
format.
|
ExportQueryResultResponse |
exportQueryResult(ExportQueryResultRequest request)
Export data based on query.
|
ExtractStructuredLogFieldPathsResponse |
extractStructuredLogFieldPaths(ExtractStructuredLogFieldPathsRequest request)
Extracts the field paths from the example json or xml content.
|
ExtractStructuredLogHeaderPathsResponse |
extractStructuredLogHeaderPaths(ExtractStructuredLogHeaderPathsRequest request)
Extracts the header paths from the example json or xml content.
|
FilterResponse |
filter(FilterRequest request)
Each filter specifies an operator, a field and one or more values to be inserted into the
provided query as criteria.
|
GetAssociationSummaryResponse |
getAssociationSummary(GetAssociationSummaryRequest request)
Returns the count of source associations for entities in the specified compartment.
|
GetCategoryResponse |
getCategory(GetCategoryRequest request)
Gets detailed information about the category with the specified name.
|
String |
getClientCommonLibraryVersion() |
GetColumnNamesResponse |
getColumnNames(GetColumnNamesRequest request)
Extracts column names from the input SQL query.
|
GetConfigWorkRequestResponse |
getConfigWorkRequest(GetConfigWorkRequestRequest request)
Returns detailed information about the configuration work request with the specified id.
|
protected ClientConfigurator |
getDefaultConfigurator() |
String |
getEndpoint() |
GetFieldResponse |
getField(GetFieldRequest request)
Gets detailed information about the field with the specified name.
|
GetFieldsSummaryResponse |
getFieldsSummary(GetFieldsSummaryRequest request)
Returns the count of fields.
|
GetIngestTimeRuleResponse |
getIngestTimeRule(GetIngestTimeRuleRequest request)
Gets detailed information about the specified ingest time rule such as description, defined
tags, and free-form tags.
|
GetLabelResponse |
getLabel(GetLabelRequest request)
Gets detailed information about the label with the specified name.
|
GetLabelSummaryResponse |
getLabelSummary(GetLabelSummaryRequest request)
Returns the count of labels.
|
GetLogAnalyticsEmBridgeResponse |
getLogAnalyticsEmBridge(GetLogAnalyticsEmBridgeRequest request)
Retrieve the log analytics enterprise manager bridge with the given id.
|
GetLogAnalyticsEmBridgeSummaryResponse |
getLogAnalyticsEmBridgeSummary(GetLogAnalyticsEmBridgeSummaryRequest request)
Returns log analytics enterprise manager bridges summary report.
|
GetLogAnalyticsEntitiesSummaryResponse |
getLogAnalyticsEntitiesSummary(GetLogAnalyticsEntitiesSummaryRequest request)
Returns log analytics entities count summary report.
|
GetLogAnalyticsEntityResponse |
getLogAnalyticsEntity(GetLogAnalyticsEntityRequest request)
Retrieve the log analytics entity with the given id.
|
GetLogAnalyticsEntityTypeResponse |
getLogAnalyticsEntityType(GetLogAnalyticsEntityTypeRequest request)
Retrieve the log analytics entity type with the given name.
|
GetLogAnalyticsLogGroupResponse |
getLogAnalyticsLogGroup(GetLogAnalyticsLogGroupRequest request)
Gets detailed information about the specified log group such as display name, description,
defined tags, and free-form tags.
|
GetLogAnalyticsLogGroupsSummaryResponse |
getLogAnalyticsLogGroupsSummary(GetLogAnalyticsLogGroupsSummaryRequest request)
Returns the count of log groups in a compartment.
|
GetLogAnalyticsObjectCollectionRuleResponse |
getLogAnalyticsObjectCollectionRule(GetLogAnalyticsObjectCollectionRuleRequest request)
Gets a configured object storage based collection rule by given id
|
GetLogSetsCountResponse |
getLogSetsCount(GetLogSetsCountRequest request)
This API returns the count of distinct log sets.
|
GetLookupResponse |
getLookup(GetLookupRequest request)
Gets detailed information about the lookup with the specified name.
|
GetLookupSummaryResponse |
getLookupSummary(GetLookupSummaryRequest request)
Returns the count of user created and oracle defined lookups.
|
Optional<String> |
getMinimumClientCommonLibraryVersionFromClient() |
GetNamespaceResponse |
getNamespace(GetNamespaceRequest request)
This API gets the namespace details of a tenancy already onboarded in Logging Analytics
Application
|
LogAnalyticsPaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data.
|
GetParserResponse |
getParser(GetParserRequest request)
Gets detailed information about the parser with the specified name.
|
GetParserSummaryResponse |
getParserSummary(GetParserSummaryRequest request)
Returns the count of parsers.
|
GetPreferencesResponse |
getPreferences(GetPreferencesRequest request)
Lists the tenant preferences such as DEFAULT_HOMEPAGE and collection properties.
|
GetQueryResultResponse |
getQueryResult(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.
|
GetQueryWorkRequestResponse |
getQueryWorkRequest(GetQueryWorkRequestRequest request)
Retrieve work request details by workRequestId.
|
GetRecallCountResponse |
getRecallCount(GetRecallCountRequest request)
This API gets the number of recalls made and the maximum recalls that can be made
|
GetRecalledDataSizeResponse |
getRecalledDataSize(GetRecalledDataSizeRequest request)
This API gets the datasize of recalls for a given timeframe
|
GetRulesSummaryResponse |
getRulesSummary(GetRulesSummaryRequest request)
Returns the count of detection rules in a compartment.
|
GetScheduledTaskResponse |
getScheduledTask(GetScheduledTaskRequest request)
Get the scheduled task for the specified task identifier.
|
GetSourceResponse |
getSource(GetSourceRequest request)
Gets detailed information about the source with the specified name.
|
GetSourceSummaryResponse |
getSourceSummary(GetSourceSummaryRequest request)
Returns the count of sources.
|
GetStorageResponse |
getStorage(GetStorageRequest request)
This API gets the storage configuration of a tenancy
|
GetStorageUsageResponse |
getStorageUsage(GetStorageUsageRequest request)
This API gets storage usage information of a tenancy.
|
GetStorageWorkRequestResponse |
getStorageWorkRequest(GetStorageWorkRequestRequest request)
This API returns work request details specified by {workRequestId}.
|
GetUnprocessedDataBucketResponse |
getUnprocessedDataBucket(GetUnprocessedDataBucketRequest request)
This API retrieves details of the configured bucket that stores unprocessed payloads.
|
GetUploadResponse |
getUpload(GetUploadRequest request)
Gets an On-Demand Upload info by reference.
|
LogAnalyticsWaiters |
getWaiters()
Gets the pre-configured waiters available for resources for this service.
|
GetWorkRequestResponse |
getWorkRequest(GetWorkRequestRequest request)
Gets the status of the work request with the given ID.
|
ImportCustomContentResponse |
importCustomContent(ImportCustomContentRequest request)
Imports the specified custom content from the input in zip format.
|
ListAssociableEntitiesResponse |
listAssociableEntities(ListAssociableEntitiesRequest request)
Lists the entities in the specified compartment which are (in)eligible for association with
this source.
|
ListAssociatedEntitiesResponse |
listAssociatedEntities(ListAssociatedEntitiesRequest request)
Lists the association details of entities in the specified compartment that are associated
with at least one source.
|
ListAutoAssociationsResponse |
listAutoAssociations(ListAutoAssociationsRequest request)
Gets information related to auto association for the source with the specified name.
|
ListCategoriesResponse |
listCategories(ListCategoriesRequest request)
Returns a list of categories, containing detailed information about them.
|
ListConfigWorkRequestsResponse |
listConfigWorkRequests(ListConfigWorkRequestsRequest request)
Returns the list of configuration work requests such as association or lookup operations,
containing detailed information about them.
|
ListEffectivePropertiesResponse |
listEffectiveProperties(ListEffectivePropertiesRequest request)
Returns a list of effective properties for the specified resource.
|
ListEncryptionKeyInfoResponse |
listEncryptionKeyInfo(ListEncryptionKeyInfoRequest request)
This API returns the list of customer owned encryption key info.
|
ListEntityAssociationsResponse |
listEntityAssociations(ListEntityAssociationsRequest request)
Return a list of log analytics entities associated with input source log analytics entity.
|
ListEntitySourceAssociationsResponse |
listEntitySourceAssociations(ListEntitySourceAssociationsRequest request)
Returns the list of source associations for the specified entity.
|
ListFieldsResponse |
listFields(ListFieldsRequest request)
Returns a list of log fields, containing detailed information about them.
|
ListIngestTimeRulesResponse |
listIngestTimeRules(ListIngestTimeRulesRequest request)
Returns a list of ingest time rules in a compartment.
|
ListLabelPrioritiesResponse |
listLabelPriorities(ListLabelPrioritiesRequest request)
Lists the available problem priorities that could be associated with a label.
|
ListLabelsResponse |
listLabels(ListLabelsRequest request)
Returns a list of labels, containing detailed information about them.
|
ListLabelSourceDetailsResponse |
listLabelSourceDetails(ListLabelSourceDetailsRequest request)
Lists sources using the label, along with configuration details like base field, operator and
condition.
|
ListLogAnalyticsEmBridgesResponse |
listLogAnalyticsEmBridges(ListLogAnalyticsEmBridgesRequest request)
Return a list of log analytics enterprise manager bridges.
|
ListLogAnalyticsEntitiesResponse |
listLogAnalyticsEntities(ListLogAnalyticsEntitiesRequest request)
Return a list of log analytics entities.
|
ListLogAnalyticsEntityTopologyResponse |
listLogAnalyticsEntityTopology(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.
|
ListLogAnalyticsEntityTypesResponse |
listLogAnalyticsEntityTypes(ListLogAnalyticsEntityTypesRequest request)
Return a list of log analytics entity types.
|
ListLogAnalyticsLogGroupsResponse |
listLogAnalyticsLogGroups(ListLogAnalyticsLogGroupsRequest request)
Returns a list of log groups in a compartment.
|
ListLogAnalyticsObjectCollectionRulesResponse |
listLogAnalyticsObjectCollectionRules(ListLogAnalyticsObjectCollectionRulesRequest request)
Gets list of collection rules.
|
ListLogSetsResponse |
listLogSets(ListLogSetsRequest request)
This API returns a list of log sets.
|
ListLookupsResponse |
listLookups(ListLookupsRequest request)
Returns a list of lookups, containing detailed information about them.
|
ListMetaSourceTypesResponse |
listMetaSourceTypes(ListMetaSourceTypesRequest request)
Lists the types of log sources supported.
|
ListNamespacesResponse |
listNamespaces(ListNamespacesRequest request)
Given a tenancy OCID, this API returns the namespace of the tenancy if it is valid and
subscribed to the region.
|
ListOverlappingRecallsResponse |
listOverlappingRecalls(ListOverlappingRecallsRequest request)
This API gets the list of overlapping recalls made in the given timeframe
|
ListParserFunctionsResponse |
listParserFunctions(ListParserFunctionsRequest request)
Lists the parser functions defined for the specified parser.
|
ListParserMetaPluginsResponse |
listParserMetaPlugins(ListParserMetaPluginsRequest request)
Lists the parser meta plugins available for defining parser functions.
|
ListParsersResponse |
listParsers(ListParsersRequest request)
Returns a list of parsers, containing detailed information about them.
|
ListPropertiesMetadataResponse |
listPropertiesMetadata(ListPropertiesMetadataRequest request)
Returns a list of properties along with their metadata.
|
ListQueryWorkRequestsResponse |
listQueryWorkRequests(ListQueryWorkRequestsRequest request)
List active asynchronous queries.
|
ListRecalledDataResponse |
listRecalledData(ListRecalledDataRequest request)
This API returns the list of recalled data of a tenancy.
|
ListResourceCategoriesResponse |
listResourceCategories(ListResourceCategoriesRequest request)
Returns a list of resources and their category assignments.
|
ListRulesResponse |
listRules(ListRulesRequest request)
Returns a list of ingest time rules and scheduled tasks in a compartment.
|
ListScheduledTasksResponse |
listScheduledTasks(ListScheduledTasksRequest request)
Lists scheduled tasks.
|
ListSourceAssociationsResponse |
listSourceAssociations(ListSourceAssociationsRequest request)
Returns the list of entity associations in the input compartment for the specified source.
|
ListSourceEventTypesResponse |
listSourceEventTypes(ListSourceEventTypesRequest request)
Lists the event types mapped to the source with the specified name.
|
ListSourceExtendedFieldDefinitionsResponse |
listSourceExtendedFieldDefinitions(ListSourceExtendedFieldDefinitionsRequest request)
Lists the extended field definitions for the source with the specified name.
|
ListSourceLabelOperatorsResponse |
listSourceLabelOperators(ListSourceLabelOperatorsRequest request)
Lists the supported conditional operators that could be used for matching log field values to
generate a label.
|
ListSourceMetaFunctionsResponse |
listSourceMetaFunctions(ListSourceMetaFunctionsRequest request)
Lists the functions that could be used to enrich log entries based on meaningful information
extracted from the log fields.
|
ListSourcePatternsResponse |
listSourcePatterns(ListSourcePatternsRequest request)
Lists the source patterns for the source with the specified name.
|
ListSourcesResponse |
listSources(ListSourcesRequest request)
Returns a list of sources, containing detailed information about them.
|
ListStorageWorkRequestErrorsResponse |
listStorageWorkRequestErrors(ListStorageWorkRequestErrorsRequest request)
This API returns the list of work request errors if any.
|
ListStorageWorkRequestsResponse |
listStorageWorkRequests(ListStorageWorkRequestsRequest request)
This API lists storage work requests.
|
ListSupportedCharEncodingsResponse |
listSupportedCharEncodings(ListSupportedCharEncodingsRequest request)
Gets list of character encodings which are supported by on-demand upload.
|
ListSupportedTimezonesResponse |
listSupportedTimezones(ListSupportedTimezonesRequest request)
Gets list of timezones which are supported by on-demand upload.
|
ListUploadFilesResponse |
listUploadFiles(ListUploadFilesRequest request)
Gets list of files in an upload along with its processing state.
|
ListUploadsResponse |
listUploads(ListUploadsRequest request)
Gets a list of all On-demand uploads.
|
ListUploadWarningsResponse |
listUploadWarnings(ListUploadWarningsRequest request)
Gets list of warnings in an upload caused by incorrect configuration.
|
ListWarningsResponse |
listWarnings(ListWarningsRequest request)
Returns a list of collection warnings, containing detailed information about them.
|
ListWorkRequestErrorsResponse |
listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Return a (paginated) list of errors for a given work request.
|
ListWorkRequestLogsResponse |
listWorkRequestLogs(ListWorkRequestLogsRequest request)
Return a (paginated) list of logs for a given work request.
|
ListWorkRequestsResponse |
listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a compartment.
|
OffboardNamespaceResponse |
offboardNamespace(OffboardNamespaceRequest request)
Off-boards a tenant from Logging Analytics
|
OnboardNamespaceResponse |
onboardNamespace(OnboardNamespaceRequest request)
On-boards a tenant to Logging Analytics.
|
ParseQueryResponse |
parseQuery(ParseQueryRequest request)
Describe query
|
PauseScheduledTaskResponse |
pauseScheduledTask(PauseScheduledTaskRequest request)
Pause the scheduled task specified by {scheduledTaskId}.
|
void |
populateServiceParametersInEndpoint(String endpoint,
Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base
endpoint.
|
PurgeStorageDataResponse |
purgeStorageData(PurgeStorageDataRequest request)
This API submits a work request to purge data.
|
PutQueryWorkRequestBackgroundResponse |
putQueryWorkRequestBackground(PutQueryWorkRequestBackgroundRequest request)
Put the work request specified by {workRequestId} into the background.
|
QueryResponse |
query(QueryRequest request)
Performs a log analytics search, if shouldRunAsync is false returns the query results once
they become available subject to 60 second timeout.
|
RecallArchivedDataResponse |
recallArchivedData(RecallArchivedDataRequest request)
This API submits a work request to recall archived data based on time interval and data type.
|
void |
refreshClient()
Rebuild the backing
HttpClient . |
RegisterLookupResponse |
registerLookup(RegisterLookupRequest request)
Creates a lookup with the specified name, type and description.
|
ReleaseRecalledDataResponse |
releaseRecalledData(ReleaseRecalledDataRequest request)
This API submits a work request to release recalled data based on time interval and data
type.
|
RemoveEntityAssociationsResponse |
removeEntityAssociations(RemoveEntityAssociationsRequest request)
Delete association between input source log analytics entity and destination entities.
|
RemovePreferencesResponse |
removePreferences(RemovePreferencesRequest request)
Removes the tenant preferences such as DEFAULT_HOMEPAGE and collection properties.
|
RemoveResourceCategoriesResponse |
removeResourceCategories(RemoveResourceCategoriesRequest request)
Removes the category assignments of DASHBOARD and SAVEDSEARCH resources.
|
RemoveSourceEventTypesResponse |
removeSourceEventTypes(RemoveSourceEventTypesRequest request)
Remove one or more event types from a source.
|
ResumeScheduledTaskResponse |
resumeScheduledTask(ResumeScheduledTaskRequest request)
Resume the scheduled task specified by {scheduledTaskId}.
|
RunResponse |
run(RunRequest request)
Execute the saved search acceleration task in the foreground.
|
void |
setEndpoint(String endpoint) |
void |
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
|
void |
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
|
SetUnprocessedDataBucketResponse |
setUnprocessedDataBucket(SetUnprocessedDataBucketRequest request)
This API configures a bucket to store unprocessed payloads.
|
SuggestResponse |
suggest(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.
|
SuppressWarningResponse |
suppressWarning(SuppressWarningRequest request)
Supresses a list of warnings.
|
TestParserResponse |
testParser(TestParserRequest request)
Tests the parser definition against the specified example content to ensure fields are
successfully extracted.
|
UnsuppressWarningResponse |
unsuppressWarning(UnsuppressWarningRequest request)
Unsupresses a list of warnings.
|
void |
updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.
|
UpdateIngestTimeRuleResponse |
updateIngestTimeRule(UpdateIngestTimeRuleRequest request)
Updates the specified ingest time rule’s description, defined tags, and free-form tags.
|
UpdateLogAnalyticsEmBridgeResponse |
updateLogAnalyticsEmBridge(UpdateLogAnalyticsEmBridgeRequest request)
Update log analytics enterprise manager bridge with the given id.
|
UpdateLogAnalyticsEntityResponse |
updateLogAnalyticsEntity(UpdateLogAnalyticsEntityRequest request)
Update the log analytics entity with the given id.
|
UpdateLogAnalyticsEntityTypeResponse |
updateLogAnalyticsEntityType(UpdateLogAnalyticsEntityTypeRequest request)
Update custom log analytics entity type.
|
UpdateLogAnalyticsLogGroupResponse |
updateLogAnalyticsLogGroup(UpdateLogAnalyticsLogGroupRequest request)
Updates the specified log group’s display name, description, defined tags, and free-form
tags.
|
UpdateLogAnalyticsObjectCollectionRuleResponse |
updateLogAnalyticsObjectCollectionRule(UpdateLogAnalyticsObjectCollectionRuleRequest request)
Updates configuration of the object collection rule for the given id.
|
UpdateLookupResponse |
updateLookup(UpdateLookupRequest request)
Updates the metadata of the specified lookup, such as the lookup description.
|
UpdateLookupDataResponse |
updateLookupData(UpdateLookupDataRequest request)
Updates the lookup content.
|
UpdatePreferencesResponse |
updatePreferences(UpdatePreferencesRequest request)
Updates the tenant preferences such as DEFAULT_HOMEPAGE and collection properties.
|
UpdateResourceCategoriesResponse |
updateResourceCategories(UpdateResourceCategoriesRequest request)
Updates the category assignments of DASHBOARD and SAVEDSEARCH resources.
|
UpdateScheduledTaskResponse |
updateScheduledTask(UpdateScheduledTaskRequest request)
Update the scheduled task.
|
UpdateStorageResponse |
updateStorage(UpdateStorageRequest request)
This API updates the archiving configuration
|
UploadDiscoveryDataResponse |
uploadDiscoveryData(UploadDiscoveryDataRequest request)
Accepts discovery data for processing by Logging Analytics.
|
UploadLogEventsFileResponse |
uploadLogEventsFile(UploadLogEventsFileRequest request)
Accepts log events for processing by Logging Analytics.
|
UploadLogFileResponse |
uploadLogFile(UploadLogFileRequest request)
Accepts log data for processing by Logging Analytics.
|
UpsertAssociationsResponse |
upsertAssociations(UpsertAssociationsRequest request)
Creates or updates associations between sources and entities.
|
UpsertFieldResponse |
upsertField(UpsertFieldRequest request)
Creates or updates a field that could be used in parser expressions to extract and assign
value.
|
UpsertLabelResponse |
upsertLabel(UpsertLabelRequest request)
Creates or updates a label that could be used to tag a log entry.
|
UpsertParserResponse |
upsertParser(UpsertParserRequest request)
Creates or updates a parser, which defines how fields are extracted from a log entry.
|
UpsertSourceResponse |
upsertSource(UpsertSourceRequest request)
Creates or updates a log source.
|
void |
useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.
|
ValidateAssociationParametersResponse |
validateAssociationParameters(ValidateAssociationParametersRequest request)
Checks if the passed in entities could be associated with the specified sources.
|
ValidateEndpointResponse |
validateEndpoint(ValidateEndpointRequest request)
Validates the REST endpoint configuration.
|
ValidateFileResponse |
validateFile(ValidateFileRequest request)
Validates a log file to check whether it is eligible to be uploaded or not.
|
ValidateLabelConditionResponse |
validateLabelCondition(ValidateLabelConditionRequest request)
Validates specified condition for a source label.
|
ValidateSourceResponse |
validateSource(ValidateSourceRequest request)
Checks if the specified input is a valid log source definition.
|
ValidateSourceExtendedFieldDetailsResponse |
validateSourceExtendedFieldDetails(ValidateSourceExtendedFieldDetailsRequest request)
Checks if the specified input contains valid extended field definitions against the provided
example content.
|
ValidateSourceMappingResponse |
validateSourceMapping(ValidateSourceMappingRequest request)
Validates the source mapping for a given file and provides match status and the parsed
representation of log data.
|
VerifyResponse |
verify(VerifyRequest request)
Verify the accelerated saved search task specified by {scheduledTaskId}.
|
clientCall
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for LogAnalytics.
public final String clientCommonLibraryVersion
@Deprecated public LogAnalyticsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LogAnalyticsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public LogAnalyticsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LogAnalyticsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public LogAnalyticsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LogAnalyticsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LogAnalyticsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LogAnalyticsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
@Deprecated public LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LogAnalyticsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
@Deprecated public LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LogAnalyticsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
@Deprecated public LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see LogAnalyticsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
executorService
- LogAnalyticsClient.Builder.executorService
public static LogAnalyticsClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
LogAnalytics
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the
endpoint. If the service is not available in this Region, however, an
IllegalArgumentException will be raised.
setRegion
in interface LogAnalytics
region
- The region of the service.public void setRegion(String regionId)
LogAnalytics
Sets 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 call setEndpoint
.
setRegion
in interface LogAnalytics
regionId
- The public region ID.public AddEntityAssociationResponse addEntityAssociation(AddEntityAssociationRequest request)
LogAnalytics
Adds association between input source log analytics entity and one or more existing destination entities.
addEntityAssociation
in interface LogAnalytics
request
- The request object containing the details to sendpublic AddSourceEventTypesResponse addSourceEventTypes(AddSourceEventTypesRequest request)
LogAnalytics
Add one or more event types to a source. An event type and version can be enabled only on one source.
addSourceEventTypes
in interface LogAnalytics
request
- The request object containing the details to sendpublic AppendLookupDataResponse appendLookupData(AppendLookupDataRequest request)
LogAnalytics
Appends 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)
and InputStream.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 to
InputStream.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's FileChannel
position can be changed (like for a regular file), the stream
will be wrapped in such a way that it does provide support for InputStream.mark(int)
and InputStream.reset()
. Then the same
procedure as above is followed. If the stream's FileChannel
position 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)
and InputStream.reset()
, then the stream is wrapped in a BufferedInputStream
, 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 FileInputStream
whose FileChannel
position 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.
appendLookupData
in interface LogAnalytics
request
- The request object containing the details to sendpublic AssignEncryptionKeyResponse assignEncryptionKey(AssignEncryptionKeyRequest request)
LogAnalytics
This API submits a work request to assign customer encryption key.
assignEncryptionKey
in interface LogAnalytics
request
- The request object containing the details to sendpublic BatchGetBasicInfoResponse batchGetBasicInfo(BatchGetBasicInfoRequest request)
LogAnalytics
Lists basic information about a specified set of labels in batch.
batchGetBasicInfo
in interface LogAnalytics
request
- The request object containing the details to sendpublic CancelQueryWorkRequestResponse cancelQueryWorkRequest(CancelQueryWorkRequestRequest request)
LogAnalytics
Cancel/Remove query job work request.
cancelQueryWorkRequest
in interface LogAnalytics
request
- The request object containing the details to sendpublic ChangeIngestTimeRuleCompartmentResponse changeIngestTimeRuleCompartment(ChangeIngestTimeRuleCompartmentRequest request)
LogAnalytics
Moves the specified ingest time rule to a different compartment.
changeIngestTimeRuleCompartment
in interface LogAnalytics
request
- The request object containing the details to sendpublic ChangeLogAnalyticsEmBridgeCompartmentResponse changeLogAnalyticsEmBridgeCompartment(ChangeLogAnalyticsEmBridgeCompartmentRequest request)
LogAnalytics
Update the compartment of the log analytics enterprise manager bridge with the given id.
changeLogAnalyticsEmBridgeCompartment
in interface LogAnalytics
request
- The request object containing the details to sendpublic ChangeLogAnalyticsEntityCompartmentResponse changeLogAnalyticsEntityCompartment(ChangeLogAnalyticsEntityCompartmentRequest request)
LogAnalytics
Update the compartment of the log analytics entity with the given id.
changeLogAnalyticsEntityCompartment
in interface LogAnalytics
request
- The request object containing the details to sendpublic ChangeLogAnalyticsLogGroupCompartmentResponse changeLogAnalyticsLogGroupCompartment(ChangeLogAnalyticsLogGroupCompartmentRequest request)
LogAnalytics
Moves the specified log group to a different compartment.
changeLogAnalyticsLogGroupCompartment
in interface LogAnalytics
request
- The request object containing the details to sendpublic ChangeLogAnalyticsObjectCollectionRuleCompartmentResponse changeLogAnalyticsObjectCollectionRuleCompartment(ChangeLogAnalyticsObjectCollectionRuleCompartmentRequest request)
LogAnalytics
Move the rule from it’s current compartment to the given compartment.
changeLogAnalyticsObjectCollectionRuleCompartment
in interface LogAnalytics
request
- The request object containing the details to sendpublic ChangeScheduledTaskCompartmentResponse changeScheduledTaskCompartment(ChangeScheduledTaskCompartmentRequest request)
LogAnalytics
Move the scheduled task into a different compartment within the same tenancy.
changeScheduledTaskCompartment
in interface LogAnalytics
request
- The request object containing the details to sendpublic CleanResponse clean(CleanRequest request)
LogAnalytics
Clean accumulated acceleration data stored for the accelerated saved search. The ScheduledTask taskType must be ACCELERATION.
clean
in interface LogAnalytics
request
- The request object containing the details to sendpublic CompareContentResponse compareContent(CompareContentRequest request)
LogAnalytics
Returns the difference between the two input payloads, including intraline differences.
compareContent
in interface LogAnalytics
request
- The request object containing the details to sendpublic CreateIngestTimeRuleResponse createIngestTimeRule(CreateIngestTimeRuleRequest request)
LogAnalytics
Creates a new ingest time rule in the specified compartment. You may also specify optional information such as description, defined tags, and free-form tags.
createIngestTimeRule
in interface LogAnalytics
request
- The request object containing the details to sendpublic CreateLogAnalyticsEmBridgeResponse createLogAnalyticsEmBridge(CreateLogAnalyticsEmBridgeRequest request)
LogAnalytics
Add 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.
createLogAnalyticsEmBridge
in interface LogAnalytics
request
- The request object containing the details to sendpublic CreateLogAnalyticsEntityResponse createLogAnalyticsEntity(CreateLogAnalyticsEntityRequest request)
LogAnalytics
Create a new log analytics entity.
createLogAnalyticsEntity
in interface LogAnalytics
request
- The request object containing the details to sendpublic CreateLogAnalyticsEntityTypeResponse createLogAnalyticsEntityType(CreateLogAnalyticsEntityTypeRequest request)
LogAnalytics
Add custom log analytics entity type.
createLogAnalyticsEntityType
in interface LogAnalytics
request
- The request object containing the details to sendpublic CreateLogAnalyticsLogGroupResponse createLogAnalyticsLogGroup(CreateLogAnalyticsLogGroupRequest request)
LogAnalytics
Creates 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.
createLogAnalyticsLogGroup
in interface LogAnalytics
request
- The request object containing the details to sendpublic CreateLogAnalyticsObjectCollectionRuleResponse createLogAnalyticsObjectCollectionRule(CreateLogAnalyticsObjectCollectionRuleRequest request)
LogAnalytics
Creates a rule to collect logs from an object storage bucket.
createLogAnalyticsObjectCollectionRule
in interface LogAnalytics
request
- The request object containing the details to sendpublic CreateScheduledTaskResponse createScheduledTask(CreateScheduledTaskRequest request)
LogAnalytics
Schedule a task as specified and return task info.
createScheduledTask
in interface LogAnalytics
request
- The request object containing the details to sendpublic DeleteAssociationsResponse deleteAssociations(DeleteAssociationsRequest request)
LogAnalytics
Deletes the associations between the sources and entities specified.
deleteAssociations
in interface LogAnalytics
request
- The request object containing the details to sendpublic DeleteFieldResponse deleteField(DeleteFieldRequest request)
LogAnalytics
Deletes field with the specified name.
deleteField
in interface LogAnalytics
request
- The request object containing the details to sendpublic DeleteIngestTimeRuleResponse deleteIngestTimeRule(DeleteIngestTimeRuleRequest request)
LogAnalytics
Deletes the specified ingest time rule.
deleteIngestTimeRule
in interface LogAnalytics
request
- The request object containing the details to sendpublic DeleteLabelResponse deleteLabel(DeleteLabelRequest request)
LogAnalytics
Deletes label with the specified name.
deleteLabel
in interface LogAnalytics
request
- The request object containing the details to sendpublic DeleteLogAnalyticsEmBridgeResponse deleteLogAnalyticsEmBridge(DeleteLogAnalyticsEmBridgeRequest request)
LogAnalytics
Delete log analytics enterprise manager bridge with the given id.
deleteLogAnalyticsEmBridge
in interface LogAnalytics
request
- The request object containing the details to sendpublic DeleteLogAnalyticsEntityResponse deleteLogAnalyticsEntity(DeleteLogAnalyticsEntityRequest request)
LogAnalytics
Delete log analytics entity with the given id.
deleteLogAnalyticsEntity
in interface LogAnalytics
request
- The request object containing the details to sendpublic DeleteLogAnalyticsEntityTypeResponse deleteLogAnalyticsEntityType(DeleteLogAnalyticsEntityTypeRequest request)
LogAnalytics
Delete log analytics entity type with the given name.
deleteLogAnalyticsEntityType
in interface LogAnalytics
request
- The request object containing the details to sendpublic DeleteLogAnalyticsLogGroupResponse deleteLogAnalyticsLogGroup(DeleteLogAnalyticsLogGroupRequest request)
LogAnalytics
Deletes the specified log group. The log group cannot be part of an active association or have an active upload.
deleteLogAnalyticsLogGroup
in interface LogAnalytics
request
- The request object containing the details to sendpublic DeleteLogAnalyticsObjectCollectionRuleResponse deleteLogAnalyticsObjectCollectionRule(DeleteLogAnalyticsObjectCollectionRuleRequest request)
LogAnalytics
Deletes 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.
deleteLogAnalyticsObjectCollectionRule
in interface LogAnalytics
request
- The request object containing the details to sendpublic DeleteLookupResponse deleteLookup(DeleteLookupRequest request)
LogAnalytics
Deletes lookup with the specified name.
deleteLookup
in interface LogAnalytics
request
- The request object containing the details to sendpublic DeleteParserResponse deleteParser(DeleteParserRequest request)
LogAnalytics
Deletes parser with the specified name.
deleteParser
in interface LogAnalytics
request
- The request object containing the details to sendpublic DeleteScheduledTaskResponse deleteScheduledTask(DeleteScheduledTaskRequest request)
LogAnalytics
Delete the scheduled task.
deleteScheduledTask
in interface LogAnalytics
request
- The request object containing the details to sendpublic DeleteSourceResponse deleteSource(DeleteSourceRequest request)
LogAnalytics
Deletes source with the specified name.
deleteSource
in interface LogAnalytics
request
- The request object containing the details to sendpublic DeleteUploadResponse deleteUpload(DeleteUploadRequest request)
LogAnalytics
Deletes an Upload by its reference. It deletes all the logs in storage asscoiated with the upload and the corresponding upload metadata.
deleteUpload
in interface LogAnalytics
request
- The request object containing the details to sendpublic DeleteUploadFileResponse deleteUploadFile(DeleteUploadFileRequest request)
LogAnalytics
Deletes 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.
deleteUploadFile
in interface LogAnalytics
request
- The request object containing the details to sendpublic DeleteUploadWarningResponse deleteUploadWarning(DeleteUploadWarningRequest request)
LogAnalytics
Suppresses a specific warning inside an upload.
deleteUploadWarning
in interface LogAnalytics
request
- The request object containing the details to sendpublic DisableArchivingResponse disableArchiving(DisableArchivingRequest request)
LogAnalytics
This API disables archiving.
disableArchiving
in interface LogAnalytics
request
- The request object containing the details to sendpublic DisableAutoAssociationResponse disableAutoAssociation(DisableAutoAssociationRequest request)
LogAnalytics
Disables 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.
disableAutoAssociation
in interface LogAnalytics
request
- The request object containing the details to sendpublic DisableIngestTimeRuleResponse disableIngestTimeRule(DisableIngestTimeRuleRequest request)
LogAnalytics
Disables the specified ingest time rule.
disableIngestTimeRule
in interface LogAnalytics
request
- The request object containing the details to sendpublic DisableSourceEventTypesResponse disableSourceEventTypes(DisableSourceEventTypesRequest request)
LogAnalytics
Disable one or more event types in a source.
disableSourceEventTypes
in interface LogAnalytics
request
- The request object containing the details to sendpublic EnableArchivingResponse enableArchiving(EnableArchivingRequest request)
LogAnalytics
THis API enables archiving.
enableArchiving
in interface LogAnalytics
request
- The request object containing the details to sendpublic EnableAutoAssociationResponse enableAutoAssociation(EnableAutoAssociationRequest request)
LogAnalytics
Enables 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.
enableAutoAssociation
in interface LogAnalytics
request
- The request object containing the details to sendpublic EnableIngestTimeRuleResponse enableIngestTimeRule(EnableIngestTimeRuleRequest request)
LogAnalytics
Enables the specified ingest time rule.
enableIngestTimeRule
in interface LogAnalytics
request
- The request object containing the details to sendpublic EnableSourceEventTypesResponse enableSourceEventTypes(EnableSourceEventTypesRequest request)
LogAnalytics
Enable one or more event types in a source. An event type and version can be enabled only in one source.
enableSourceEventTypes
in interface LogAnalytics
request
- The request object containing the details to sendpublic EstimatePurgeDataSizeResponse estimatePurgeDataSize(EstimatePurgeDataSizeRequest request)
LogAnalytics
This API estimates the size of data to be purged based based on time interval, purge query etc.
estimatePurgeDataSize
in interface LogAnalytics
request
- The request object containing the details to sendpublic EstimateRecallDataSizeResponse estimateRecallDataSize(EstimateRecallDataSizeRequest request)
LogAnalytics
This API gives an active storage usage estimate for archived data to be recalled and the time range of such data.
estimateRecallDataSize
in interface LogAnalytics
request
- The request object containing the details to sendpublic EstimateReleaseDataSizeResponse estimateReleaseDataSize(EstimateReleaseDataSizeRequest request)
LogAnalytics
This API gives an active storage usage estimate for recalled data to be released and the time range of such data.
estimateReleaseDataSize
in interface LogAnalytics
request
- The request object containing the details to sendpublic ExportCustomContentResponse exportCustomContent(ExportCustomContentRequest request)
LogAnalytics
Exports all custom details of the specified sources, parsers, fields and labels, in zip format.
exportCustomContent
in interface LogAnalytics
request
- The request object containing the details to sendpublic ExportQueryResultResponse exportQueryResult(ExportQueryResultRequest request)
LogAnalytics
Export 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.
exportQueryResult
in interface LogAnalytics
request
- The request object containing the details to sendpublic ExtractStructuredLogFieldPathsResponse extractStructuredLogFieldPaths(ExtractStructuredLogFieldPathsRequest request)
LogAnalytics
Extracts the field paths from the example json or xml content.
extractStructuredLogFieldPaths
in interface LogAnalytics
request
- The request object containing the details to sendpublic ExtractStructuredLogHeaderPathsResponse extractStructuredLogHeaderPaths(ExtractStructuredLogHeaderPathsRequest request)
LogAnalytics
Extracts the header paths from the example json or xml content.
extractStructuredLogHeaderPaths
in interface LogAnalytics
request
- The request object containing the details to sendpublic FilterResponse filter(FilterRequest request)
LogAnalytics
Each filter specifies an operator, a field and one or more values to be inserted into the provided query as criteria.
filter
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetAssociationSummaryResponse getAssociationSummary(GetAssociationSummaryRequest request)
LogAnalytics
Returns the count of source associations for entities in the specified compartment.
getAssociationSummary
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetCategoryResponse getCategory(GetCategoryRequest request)
LogAnalytics
Gets detailed information about the category with the specified name.
getCategory
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetColumnNamesResponse getColumnNames(GetColumnNamesRequest request)
LogAnalytics
Extracts column names from the input SQL query.
getColumnNames
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetConfigWorkRequestResponse getConfigWorkRequest(GetConfigWorkRequestRequest request)
LogAnalytics
Returns detailed information about the configuration work request with the specified id.
getConfigWorkRequest
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetFieldResponse getField(GetFieldRequest request)
LogAnalytics
Gets detailed information about the field with the specified name.
getField
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetFieldsSummaryResponse getFieldsSummary(GetFieldsSummaryRequest request)
LogAnalytics
Returns the count of fields. You may optionally specify isShowDetail=true to view a summary of each field data type.
getFieldsSummary
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetIngestTimeRuleResponse getIngestTimeRule(GetIngestTimeRuleRequest request)
LogAnalytics
Gets detailed information about the specified ingest time rule such as description, defined tags, and free-form tags.
getIngestTimeRule
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetLabelResponse getLabel(GetLabelRequest request)
LogAnalytics
Gets detailed information about the label with the specified name.
getLabel
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetLabelSummaryResponse getLabelSummary(GetLabelSummaryRequest request)
LogAnalytics
Returns the count of labels.
getLabelSummary
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetLogAnalyticsEmBridgeResponse getLogAnalyticsEmBridge(GetLogAnalyticsEmBridgeRequest request)
LogAnalytics
Retrieve the log analytics enterprise manager bridge with the given id.
getLogAnalyticsEmBridge
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetLogAnalyticsEmBridgeSummaryResponse getLogAnalyticsEmBridgeSummary(GetLogAnalyticsEmBridgeSummaryRequest request)
LogAnalytics
Returns log analytics enterprise manager bridges summary report.
getLogAnalyticsEmBridgeSummary
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetLogAnalyticsEntitiesSummaryResponse getLogAnalyticsEntitiesSummary(GetLogAnalyticsEntitiesSummaryRequest request)
LogAnalytics
Returns log analytics entities count summary report.
getLogAnalyticsEntitiesSummary
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetLogAnalyticsEntityResponse getLogAnalyticsEntity(GetLogAnalyticsEntityRequest request)
LogAnalytics
Retrieve the log analytics entity with the given id.
getLogAnalyticsEntity
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetLogAnalyticsEntityTypeResponse getLogAnalyticsEntityType(GetLogAnalyticsEntityTypeRequest request)
LogAnalytics
Retrieve the log analytics entity type with the given name.
getLogAnalyticsEntityType
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetLogAnalyticsLogGroupResponse getLogAnalyticsLogGroup(GetLogAnalyticsLogGroupRequest request)
LogAnalytics
Gets detailed information about the specified log group such as display name, description, defined tags, and free-form tags.
getLogAnalyticsLogGroup
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetLogAnalyticsLogGroupsSummaryResponse getLogAnalyticsLogGroupsSummary(GetLogAnalyticsLogGroupsSummaryRequest request)
LogAnalytics
Returns the count of log groups in a compartment.
getLogAnalyticsLogGroupsSummary
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetLogAnalyticsObjectCollectionRuleResponse getLogAnalyticsObjectCollectionRule(GetLogAnalyticsObjectCollectionRuleRequest request)
LogAnalytics
Gets a configured object storage based collection rule by given id
getLogAnalyticsObjectCollectionRule
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetLogSetsCountResponse getLogSetsCount(GetLogSetsCountRequest request)
LogAnalytics
This API returns the count of distinct log sets.
getLogSetsCount
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetLookupResponse getLookup(GetLookupRequest request)
LogAnalytics
Gets detailed information about the lookup with the specified name.
getLookup
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetLookupSummaryResponse getLookupSummary(GetLookupSummaryRequest request)
LogAnalytics
Returns the count of user created and oracle defined lookups.
getLookupSummary
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetNamespaceResponse getNamespace(GetNamespaceRequest request)
LogAnalytics
This API gets the namespace details of a tenancy already onboarded in Logging Analytics Application
getNamespace
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetParserResponse getParser(GetParserRequest request)
LogAnalytics
Gets detailed information about the parser with the specified name.
getParser
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetParserSummaryResponse getParserSummary(GetParserSummaryRequest request)
LogAnalytics
Returns the count of parsers.
getParserSummary
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetPreferencesResponse getPreferences(GetPreferencesRequest request)
LogAnalytics
Lists the tenant preferences such as DEFAULT_HOMEPAGE and collection properties.
getPreferences
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetQueryResultResponse getQueryResult(GetQueryResultRequest request)
LogAnalytics
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.
getQueryResult
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetQueryWorkRequestResponse getQueryWorkRequest(GetQueryWorkRequestRequest request)
LogAnalytics
Retrieve 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.
getQueryWorkRequest
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetRecallCountResponse getRecallCount(GetRecallCountRequest request)
LogAnalytics
This API gets the number of recalls made and the maximum recalls that can be made
getRecallCount
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetRecalledDataSizeResponse getRecalledDataSize(GetRecalledDataSizeRequest request)
LogAnalytics
This API gets the datasize of recalls for a given timeframe
getRecalledDataSize
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetRulesSummaryResponse getRulesSummary(GetRulesSummaryRequest request)
LogAnalytics
Returns the count of detection rules in a compartment.
getRulesSummary
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetScheduledTaskResponse getScheduledTask(GetScheduledTaskRequest request)
LogAnalytics
Get the scheduled task for the specified task identifier.
getScheduledTask
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetSourceResponse getSource(GetSourceRequest request)
LogAnalytics
Gets detailed information about the source with the specified name.
getSource
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetSourceSummaryResponse getSourceSummary(GetSourceSummaryRequest request)
LogAnalytics
Returns the count of sources.
getSourceSummary
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetStorageResponse getStorage(GetStorageRequest request)
LogAnalytics
This API gets the storage configuration of a tenancy
getStorage
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetStorageUsageResponse getStorageUsage(GetStorageUsageRequest request)
LogAnalytics
This 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.
getStorageUsage
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetStorageWorkRequestResponse getStorageWorkRequest(GetStorageWorkRequestRequest request)
LogAnalytics
This 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.
getStorageWorkRequest
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetUnprocessedDataBucketResponse getUnprocessedDataBucket(GetUnprocessedDataBucketRequest request)
LogAnalytics
This API retrieves details of the configured bucket that stores unprocessed payloads.
getUnprocessedDataBucket
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetUploadResponse getUpload(GetUploadRequest request)
LogAnalytics
Gets an On-Demand Upload info by reference.
getUpload
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
LogAnalytics
Gets the status of the work request with the given ID.
getWorkRequest
in interface LogAnalytics
request
- The request object containing the details to sendpublic ImportCustomContentResponse importCustomContent(ImportCustomContentRequest request)
LogAnalytics
Imports the specified custom content from the input in zip format.
Note: This operation consumes a stream.
If the stream supports InputStream.mark(int)
and InputStream.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 to
InputStream.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's FileChannel
position can be changed (like for a regular file), the stream
will be wrapped in such a way that it does provide support for InputStream.mark(int)
and InputStream.reset()
. Then the same
procedure as above is followed. If the stream's FileChannel
position 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)
and InputStream.reset()
, then the stream is wrapped in a BufferedInputStream
, 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 FileInputStream
whose FileChannel
position 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.
importCustomContent
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListAssociableEntitiesResponse listAssociableEntities(ListAssociableEntitiesRequest request)
LogAnalytics
Lists the entities in the specified compartment which are (in)eligible for association with this source.
listAssociableEntities
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListAssociatedEntitiesResponse listAssociatedEntities(ListAssociatedEntitiesRequest request)
LogAnalytics
Lists the association details of entities in the specified compartment that are associated with at least one source.
listAssociatedEntities
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListAutoAssociationsResponse listAutoAssociations(ListAutoAssociationsRequest request)
LogAnalytics
Gets information related to auto association for the source with the specified name.
listAutoAssociations
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListCategoriesResponse listCategories(ListCategoriesRequest request)
LogAnalytics
Returns 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.
listCategories
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListConfigWorkRequestsResponse listConfigWorkRequests(ListConfigWorkRequestsRequest request)
LogAnalytics
Returns 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.
listConfigWorkRequests
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListEffectivePropertiesResponse listEffectiveProperties(ListEffectivePropertiesRequest request)
LogAnalytics
Returns a list of effective properties for the specified resource.
listEffectiveProperties
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListEncryptionKeyInfoResponse listEncryptionKeyInfo(ListEncryptionKeyInfoRequest request)
LogAnalytics
This API returns the list of customer owned encryption key info.
listEncryptionKeyInfo
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListEntityAssociationsResponse listEntityAssociations(ListEntityAssociationsRequest request)
LogAnalytics
Return a list of log analytics entities associated with input source log analytics entity.
listEntityAssociations
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListEntitySourceAssociationsResponse listEntitySourceAssociations(ListEntitySourceAssociationsRequest request)
LogAnalytics
Returns the list of source associations for the specified entity.
listEntitySourceAssociations
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListFieldsResponse listFields(ListFieldsRequest request)
LogAnalytics
Returns 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.
listFields
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListIngestTimeRulesResponse listIngestTimeRules(ListIngestTimeRulesRequest request)
LogAnalytics
Returns a list of ingest time rules in a compartment. You may limit the number of rules, provide sorting options, and filter the results.
listIngestTimeRules
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListLabelPrioritiesResponse listLabelPriorities(ListLabelPrioritiesRequest request)
LogAnalytics
Lists the available problem priorities that could be associated with a label.
listLabelPriorities
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListLabelSourceDetailsResponse listLabelSourceDetails(ListLabelSourceDetailsRequest request)
LogAnalytics
Lists sources using the label, along with configuration details like base field, operator and condition.
listLabelSourceDetails
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListLabelsResponse listLabels(ListLabelsRequest request)
LogAnalytics
Returns 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.
listLabels
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListLogAnalyticsEmBridgesResponse listLogAnalyticsEmBridges(ListLogAnalyticsEmBridgesRequest request)
LogAnalytics
Return a list of log analytics enterprise manager bridges.
listLogAnalyticsEmBridges
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListLogAnalyticsEntitiesResponse listLogAnalyticsEntities(ListLogAnalyticsEntitiesRequest request)
LogAnalytics
Return a list of log analytics entities.
listLogAnalyticsEntities
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListLogAnalyticsEntityTopologyResponse listLogAnalyticsEntityTopology(ListLogAnalyticsEntityTopologyRequest request)
LogAnalytics
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.
listLogAnalyticsEntityTopology
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListLogAnalyticsEntityTypesResponse listLogAnalyticsEntityTypes(ListLogAnalyticsEntityTypesRequest request)
LogAnalytics
Return a list of log analytics entity types.
listLogAnalyticsEntityTypes
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListLogAnalyticsLogGroupsResponse listLogAnalyticsLogGroups(ListLogAnalyticsLogGroupsRequest request)
LogAnalytics
Returns 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.
listLogAnalyticsLogGroups
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListLogAnalyticsObjectCollectionRulesResponse listLogAnalyticsObjectCollectionRules(ListLogAnalyticsObjectCollectionRulesRequest request)
LogAnalytics
Gets list of collection rules.
listLogAnalyticsObjectCollectionRules
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListLogSetsResponse listLogSets(ListLogSetsRequest request)
LogAnalytics
This API returns a list of log sets.
listLogSets
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListLookupsResponse listLookups(ListLookupsRequest request)
LogAnalytics
Returns 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.
listLookups
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListMetaSourceTypesResponse listMetaSourceTypes(ListMetaSourceTypesRequest request)
LogAnalytics
Lists the types of log sources supported.
listMetaSourceTypes
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListNamespacesResponse listNamespaces(ListNamespacesRequest request)
LogAnalytics
Given 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.
listNamespaces
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListOverlappingRecallsResponse listOverlappingRecalls(ListOverlappingRecallsRequest request)
LogAnalytics
This API gets the list of overlapping recalls made in the given timeframe
listOverlappingRecalls
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListParserFunctionsResponse listParserFunctions(ListParserFunctionsRequest request)
LogAnalytics
Lists the parser functions defined for the specified parser.
listParserFunctions
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListParserMetaPluginsResponse listParserMetaPlugins(ListParserMetaPluginsRequest request)
LogAnalytics
Lists the parser meta plugins available for defining parser functions.
listParserMetaPlugins
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListParsersResponse listParsers(ListParsersRequest request)
LogAnalytics
Returns 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.
listParsers
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListPropertiesMetadataResponse listPropertiesMetadata(ListPropertiesMetadataRequest request)
LogAnalytics
Returns a list of properties along with their metadata.
listPropertiesMetadata
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListQueryWorkRequestsResponse listQueryWorkRequests(ListQueryWorkRequestsRequest request)
LogAnalytics
List active asynchronous queries.
listQueryWorkRequests
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListRecalledDataResponse listRecalledData(ListRecalledDataRequest request)
LogAnalytics
This API returns the list of recalled data of a tenancy.
listRecalledData
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListResourceCategoriesResponse listResourceCategories(ListResourceCategoriesRequest request)
LogAnalytics
Returns 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.
listResourceCategories
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListRulesResponse listRules(ListRulesRequest request)
LogAnalytics
Returns 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.
listRules
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListScheduledTasksResponse listScheduledTasks(ListScheduledTasksRequest request)
LogAnalytics
Lists scheduled tasks.
listScheduledTasks
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListSourceAssociationsResponse listSourceAssociations(ListSourceAssociationsRequest request)
LogAnalytics
Returns the list of entity associations in the input compartment for the specified source.
listSourceAssociations
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListSourceEventTypesResponse listSourceEventTypes(ListSourceEventTypesRequest request)
LogAnalytics
Lists 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.
listSourceEventTypes
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListSourceExtendedFieldDefinitionsResponse listSourceExtendedFieldDefinitions(ListSourceExtendedFieldDefinitionsRequest request)
LogAnalytics
Lists the extended field definitions for the source with the specified name.
listSourceExtendedFieldDefinitions
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListSourceLabelOperatorsResponse listSourceLabelOperators(ListSourceLabelOperatorsRequest request)
LogAnalytics
Lists 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.
listSourceLabelOperators
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListSourceMetaFunctionsResponse listSourceMetaFunctions(ListSourceMetaFunctionsRequest request)
LogAnalytics
Lists the functions that could be used to enrich log entries based on meaningful information extracted from the log fields.
listSourceMetaFunctions
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListSourcePatternsResponse listSourcePatterns(ListSourcePatternsRequest request)
LogAnalytics
Lists the source patterns for the source with the specified name.
listSourcePatterns
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListSourcesResponse listSources(ListSourcesRequest request)
LogAnalytics
Returns 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.
listSources
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListStorageWorkRequestErrorsResponse listStorageWorkRequestErrors(ListStorageWorkRequestErrorsRequest request)
LogAnalytics
This API returns the list of work request errors if any.
listStorageWorkRequestErrors
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListStorageWorkRequestsResponse listStorageWorkRequests(ListStorageWorkRequestsRequest request)
LogAnalytics
This API lists storage work requests. Use query parameters to narrow down or sort the result list.
listStorageWorkRequests
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListSupportedCharEncodingsResponse listSupportedCharEncodings(ListSupportedCharEncodingsRequest request)
LogAnalytics
Gets list of character encodings which are supported by on-demand upload.
listSupportedCharEncodings
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListSupportedTimezonesResponse listSupportedTimezones(ListSupportedTimezonesRequest request)
LogAnalytics
Gets list of timezones which are supported by on-demand upload.
listSupportedTimezones
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListUploadFilesResponse listUploadFiles(ListUploadFilesRequest request)
LogAnalytics
Gets list of files in an upload along with its processing state.
listUploadFiles
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListUploadWarningsResponse listUploadWarnings(ListUploadWarningsRequest request)
LogAnalytics
Gets list of warnings in an upload caused by incorrect configuration.
listUploadWarnings
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListUploadsResponse listUploads(ListUploadsRequest request)
LogAnalytics
Gets a list of all On-demand uploads. To use this and other API operations, you must be authorized in an IAM policy.
listUploads
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListWarningsResponse listWarnings(ListWarningsRequest request)
LogAnalytics
Returns 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.
listWarnings
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
LogAnalytics
Return a (paginated) list of errors for a given work request.
listWorkRequestErrors
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
LogAnalytics
Return a (paginated) list of logs for a given work request.
listWorkRequestLogs
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
LogAnalytics
Lists the work requests in a compartment.
listWorkRequests
in interface LogAnalytics
request
- The request object containing the details to sendpublic OffboardNamespaceResponse offboardNamespace(OffboardNamespaceRequest request)
LogAnalytics
Off-boards a tenant from Logging Analytics
offboardNamespace
in interface LogAnalytics
request
- The request object containing the details to sendpublic OnboardNamespaceResponse onboardNamespace(OnboardNamespaceRequest request)
LogAnalytics
On-boards a tenant to Logging Analytics.
onboardNamespace
in interface LogAnalytics
request
- The request object containing the details to sendpublic ParseQueryResponse parseQuery(ParseQueryRequest request)
LogAnalytics
Describe query
parseQuery
in interface LogAnalytics
request
- The request object containing the details to sendpublic PauseScheduledTaskResponse pauseScheduledTask(PauseScheduledTaskRequest request)
LogAnalytics
Pause the scheduled task specified by {scheduledTaskId}.
pauseScheduledTask
in interface LogAnalytics
request
- The request object containing the details to sendpublic PurgeStorageDataResponse purgeStorageData(PurgeStorageDataRequest request)
LogAnalytics
This 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.
purgeStorageData
in interface LogAnalytics
request
- The request object containing the details to sendpublic PutQueryWorkRequestBackgroundResponse putQueryWorkRequestBackground(PutQueryWorkRequestBackgroundRequest request)
LogAnalytics
Put 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.
putQueryWorkRequestBackground
in interface LogAnalytics
request
- The request object containing the details to sendpublic QueryResponse query(QueryRequest request)
LogAnalytics
Performs 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.
query
in interface LogAnalytics
request
- The request object containing the details to sendpublic RecallArchivedDataResponse recallArchivedData(RecallArchivedDataRequest request)
LogAnalytics
This API submits a work request to recall archived data based on time interval and data type.
recallArchivedData
in interface LogAnalytics
request
- The request object containing the details to sendpublic RegisterLookupResponse registerLookup(RegisterLookupRequest request)
LogAnalytics
Creates a lookup with the specified name, type and description. The csv file containing the lookup content is passed in as binary data in the request.
Note: This operation consumes a stream.
If the stream supports InputStream.mark(int)
and InputStream.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 to
InputStream.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's FileChannel
position can be changed (like for a regular file), the stream
will be wrapped in such a way that it does provide support for InputStream.mark(int)
and InputStream.reset()
. Then the same
procedure as above is followed. If the stream's FileChannel
position 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)
and InputStream.reset()
, then the stream is wrapped in a BufferedInputStream
, 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 FileInputStream
whose FileChannel
position 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.
registerLookup
in interface LogAnalytics
request
- The request object containing the details to sendpublic ReleaseRecalledDataResponse releaseRecalledData(ReleaseRecalledDataRequest request)
LogAnalytics
This API submits a work request to release recalled data based on time interval and data type.
releaseRecalledData
in interface LogAnalytics
request
- The request object containing the details to sendpublic RemoveEntityAssociationsResponse removeEntityAssociations(RemoveEntityAssociationsRequest request)
LogAnalytics
Delete association between input source log analytics entity and destination entities.
removeEntityAssociations
in interface LogAnalytics
request
- The request object containing the details to sendpublic RemovePreferencesResponse removePreferences(RemovePreferencesRequest request)
LogAnalytics
Removes the tenant preferences such as DEFAULT_HOMEPAGE and collection properties.
removePreferences
in interface LogAnalytics
request
- The request object containing the details to sendpublic RemoveResourceCategoriesResponse removeResourceCategories(RemoveResourceCategoriesRequest request)
LogAnalytics
Removes the category assignments of DASHBOARD and SAVEDSEARCH resources.
removeResourceCategories
in interface LogAnalytics
request
- The request object containing the details to sendpublic RemoveSourceEventTypesResponse removeSourceEventTypes(RemoveSourceEventTypesRequest request)
LogAnalytics
Remove one or more event types from a source.
removeSourceEventTypes
in interface LogAnalytics
request
- The request object containing the details to sendpublic ResumeScheduledTaskResponse resumeScheduledTask(ResumeScheduledTaskRequest request)
LogAnalytics
Resume the scheduled task specified by {scheduledTaskId}.
resumeScheduledTask
in interface LogAnalytics
request
- The request object containing the details to sendpublic RunResponse run(RunRequest request)
LogAnalytics
Execute 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.
run
in interface LogAnalytics
request
- The request object containing the details to sendpublic SetUnprocessedDataBucketResponse setUnprocessedDataBucket(SetUnprocessedDataBucketRequest request)
LogAnalytics
This 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.
setUnprocessedDataBucket
in interface LogAnalytics
request
- The request object containing the details to sendpublic SuggestResponse suggest(SuggestRequest request)
LogAnalytics
Returns a context specific list of either commands, fields, or values to append to the end of the specified query string if applicable.
suggest
in interface LogAnalytics
request
- The request object containing the details to sendpublic SuppressWarningResponse suppressWarning(SuppressWarningRequest request)
LogAnalytics
Supresses 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.
suppressWarning
in interface LogAnalytics
request
- The request object containing the details to sendpublic TestParserResponse testParser(TestParserRequest request)
LogAnalytics
Tests the parser definition against the specified example content to ensure fields are successfully extracted.
testParser
in interface LogAnalytics
request
- The request object containing the details to sendpublic UnsuppressWarningResponse unsuppressWarning(UnsuppressWarningRequest request)
LogAnalytics
Unsupresses 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.
unsuppressWarning
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpdateIngestTimeRuleResponse updateIngestTimeRule(UpdateIngestTimeRuleRequest request)
LogAnalytics
Updates the specified ingest time rule’s description, defined tags, and free-form tags.
updateIngestTimeRule
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpdateLogAnalyticsEmBridgeResponse updateLogAnalyticsEmBridge(UpdateLogAnalyticsEmBridgeRequest request)
LogAnalytics
Update log analytics enterprise manager bridge with the given id.
updateLogAnalyticsEmBridge
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpdateLogAnalyticsEntityResponse updateLogAnalyticsEntity(UpdateLogAnalyticsEntityRequest request)
LogAnalytics
Update the log analytics entity with the given id.
updateLogAnalyticsEntity
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpdateLogAnalyticsEntityTypeResponse updateLogAnalyticsEntityType(UpdateLogAnalyticsEntityTypeRequest request)
LogAnalytics
Update custom log analytics entity type. Out of box entity types cannot be udpated.
updateLogAnalyticsEntityType
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpdateLogAnalyticsLogGroupResponse updateLogAnalyticsLogGroup(UpdateLogAnalyticsLogGroupRequest request)
LogAnalytics
Updates the specified log group’s display name, description, defined tags, and free-form tags.
updateLogAnalyticsLogGroup
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpdateLogAnalyticsObjectCollectionRuleResponse updateLogAnalyticsObjectCollectionRule(UpdateLogAnalyticsObjectCollectionRuleRequest request)
LogAnalytics
Updates configuration of the object collection rule for the given id.
updateLogAnalyticsObjectCollectionRule
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpdateLookupResponse updateLookup(UpdateLookupRequest request)
LogAnalytics
Updates the metadata of the specified lookup, such as the lookup description.
updateLookup
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpdateLookupDataResponse updateLookupData(UpdateLookupDataRequest request)
LogAnalytics
Updates 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)
and InputStream.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 to
InputStream.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's FileChannel
position can be changed (like for a regular file), the stream
will be wrapped in such a way that it does provide support for InputStream.mark(int)
and InputStream.reset()
. Then the same
procedure as above is followed. If the stream's FileChannel
position 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)
and InputStream.reset()
, then the stream is wrapped in a BufferedInputStream
, 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 FileInputStream
whose FileChannel
position 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.
updateLookupData
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpdatePreferencesResponse updatePreferences(UpdatePreferencesRequest request)
LogAnalytics
Updates the tenant preferences such as DEFAULT_HOMEPAGE and collection properties.
updatePreferences
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpdateResourceCategoriesResponse updateResourceCategories(UpdateResourceCategoriesRequest request)
LogAnalytics
Updates the category assignments of DASHBOARD and SAVEDSEARCH resources.
updateResourceCategories
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpdateScheduledTaskResponse updateScheduledTask(UpdateScheduledTaskRequest request)
LogAnalytics
Update the scheduled task. Schedules may be updated only for taskType SAVED_SEARCH and PURGE.
updateScheduledTask
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpdateStorageResponse updateStorage(UpdateStorageRequest request)
LogAnalytics
This API updates the archiving configuration
updateStorage
in interface LogAnalytics
request
- The request object containing the details to sendpublic UploadDiscoveryDataResponse uploadDiscoveryData(UploadDiscoveryDataRequest request)
LogAnalytics
Accepts discovery data for processing by Logging Analytics.
Note: This operation consumes a stream.
If the stream supports InputStream.mark(int)
and InputStream.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 to
InputStream.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's FileChannel
position can be changed (like for a regular file), the stream
will be wrapped in such a way that it does provide support for InputStream.mark(int)
and InputStream.reset()
. Then the same
procedure as above is followed. If the stream's FileChannel
position 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)
and InputStream.reset()
, then the stream is wrapped in a BufferedInputStream
, 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 FileInputStream
whose FileChannel
position 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.
uploadDiscoveryData
in interface LogAnalytics
request
- The request object containing the details to sendpublic UploadLogEventsFileResponse uploadLogEventsFile(UploadLogEventsFileRequest request)
LogAnalytics
Accepts log events for processing by Logging Analytics.
Note: This operation consumes a stream.
If the stream supports InputStream.mark(int)
and InputStream.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 to
InputStream.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's FileChannel
position can be changed (like for a regular file), the stream
will be wrapped in such a way that it does provide support for InputStream.mark(int)
and InputStream.reset()
. Then the same
procedure as above is followed. If the stream's FileChannel
position 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)
and InputStream.reset()
, then the stream is wrapped in a BufferedInputStream
, 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 FileInputStream
whose FileChannel
position 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.
uploadLogEventsFile
in interface LogAnalytics
request
- The request object containing the details to sendpublic UploadLogFileResponse uploadLogFile(UploadLogFileRequest request)
LogAnalytics
Accepts log data for processing by Logging Analytics.
Note: This operation consumes a stream.
If the stream supports InputStream.mark(int)
and InputStream.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 to
InputStream.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's FileChannel
position can be changed (like for a regular file), the stream
will be wrapped in such a way that it does provide support for InputStream.mark(int)
and InputStream.reset()
. Then the same
procedure as above is followed. If the stream's FileChannel
position 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)
and InputStream.reset()
, then the stream is wrapped in a BufferedInputStream
, 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 FileInputStream
whose FileChannel
position 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.
uploadLogFile
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpsertAssociationsResponse upsertAssociations(UpsertAssociationsRequest request)
LogAnalytics
Creates or updates associations between sources and entities. All entities should belong to the specified input compartment.
upsertAssociations
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpsertFieldResponse upsertField(UpsertFieldRequest request)
LogAnalytics
Creates 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.
upsertField
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpsertLabelResponse upsertLabel(UpsertLabelRequest request)
LogAnalytics
Creates 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.
upsertLabel
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpsertParserResponse upsertParser(UpsertParserRequest request)
LogAnalytics
Creates or updates a parser, which defines how fields are extracted from a log entry.
upsertParser
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpsertSourceResponse upsertSource(UpsertSourceRequest request)
LogAnalytics
Creates or updates a log source. You may also specify parsers, labels, extended fields etc., for the source.
upsertSource
in interface LogAnalytics
request
- The request object containing the details to sendpublic ValidateAssociationParametersResponse validateAssociationParameters(ValidateAssociationParametersRequest request)
LogAnalytics
Checks 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.
validateAssociationParameters
in interface LogAnalytics
request
- The request object containing the details to sendpublic ValidateEndpointResponse validateEndpoint(ValidateEndpointRequest request)
LogAnalytics
Validates the REST endpoint configuration.
validateEndpoint
in interface LogAnalytics
request
- The request object containing the details to sendpublic ValidateFileResponse validateFile(ValidateFileRequest request)
LogAnalytics
Validates a log file to check whether it is eligible to be uploaded or not.
validateFile
in interface LogAnalytics
request
- The request object containing the details to sendpublic ValidateLabelConditionResponse validateLabelCondition(ValidateLabelConditionRequest request)
LogAnalytics
Validates 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.
validateLabelCondition
in interface LogAnalytics
request
- The request object containing the details to sendpublic ValidateSourceResponse validateSource(ValidateSourceRequest request)
LogAnalytics
Checks if the specified input is a valid log source definition.
validateSource
in interface LogAnalytics
request
- The request object containing the details to sendpublic ValidateSourceExtendedFieldDetailsResponse validateSourceExtendedFieldDetails(ValidateSourceExtendedFieldDetailsRequest request)
LogAnalytics
Checks if the specified input contains valid extended field definitions against the provided example content.
validateSourceExtendedFieldDetails
in interface LogAnalytics
request
- The request object containing the details to sendpublic ValidateSourceMappingResponse validateSourceMapping(ValidateSourceMappingRequest request)
LogAnalytics
Validates the source mapping for a given file and provides match status and the parsed representation of log data.
validateSourceMapping
in interface LogAnalytics
request
- The request object containing the details to sendpublic VerifyResponse verify(VerifyRequest request)
LogAnalytics
Verify 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.
verify
in interface LogAnalytics
request
- The request object containing the details to sendpublic LogAnalyticsWaiters getWaiters()
LogAnalytics
Gets the pre-configured waiters available for resources for this service.
getWaiters
in interface LogAnalytics
public LogAnalyticsPaginators getPaginators()
LogAnalytics
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data. These paginators provide an Iterable
interface so that service responses, or resources/records, can be iterated through without
having to manually deal with pagination and page tokens.
getPaginators
in interface LogAnalytics
protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
Copyright © 2016–2024. All rights reserved.