@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public class LogAnalyticsClient extends Object implements LogAnalytics
Modifier and Type | Class and Description |
---|---|
static class |
LogAnalyticsClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
static Service |
SERVICE
Service instance for LogAnalytics.
|
Modifier | Constructor and Description |
---|---|
|
LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration.
|
|
LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration.
|
|
LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
|
LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
|
LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Creates a new service instance using the given authentication provider and client configuration.
|
protected |
LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService,
com.oracle.bmc.http.internal.RestClientFactoryBuilder restClientFactoryBuilder)
Creates a new service instance using the given authentication provider and client configuration.
|
|
LogAnalyticsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
|
|
LogAnalyticsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
|
|
LogAnalyticsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration.
|
public static final Service SERVICE
Service instance for LogAnalytics.
public LogAnalyticsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
authenticationDetailsProvider
- The authentication details provider, required.public LogAnalyticsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.public LogAnalyticsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.public LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.public LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.additionalClientConfigurators
- Additional client configurators to be run after the primary configurator.public LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.additionalClientConfigurators
- Additional client configurators to be run after the primary configurator.endpoint
- Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider
)public LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories
- The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators
- Additional client configurators to be run after the primary configurator.endpoint
- Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider
)public LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories
- The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators
- Additional client configurators to be run after the primary configurator.endpoint
- Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider
)executorService
- ExecutorService used by the client, or null to use the default configured ThreadPoolExecutorprotected LogAnalyticsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService, com.oracle.bmc.http.internal.RestClientFactoryBuilder restClientFactoryBuilder)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
Use the LogAnalyticsClient.Builder
to get access to all these parameters.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories
- The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators
- Additional client configurators to be run after the primary configurator.endpoint
- Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider
)executorService
- ExecutorService used by the client, or null to use the default configured ThreadPoolExecutorrestClientFactoryBuilder
- the builder for the RestClientFactory
public static LogAnalyticsClient.Builder builder()
Create a builder for this client.
public void setEndpoint(String endpoint)
LogAnalytics
Sets the endpoint to call (ex, https://www.example.com).
setEndpoint
in interface LogAnalytics
endpoint
- The endpoint of the service.public String getEndpoint()
LogAnalytics
Gets the set endpoint for REST call (ex, https://www.example.com)
getEndpoint
in interface LogAnalytics
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 void close()
close
in interface AutoCloseable
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 AppendLookupDataResponse appendLookupData(AppendLookupDataRequest request)
LogAnalytics
Append data to a lookup. The file containing the information to append must be provided.
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 BatchGetBasicInfoResponse batchGetBasicInfo(BatchGetBasicInfoRequest request)
LogAnalytics
get basic information about a specified set of labels
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 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
Updates the compartment of the Log-Analytics group with the given id.
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 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-Analytics group.
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
delete associations
deleteAssociations
in interface LogAnalytics
request
- The request object containing the details to sendpublic DeleteFieldResponse deleteField(DeleteFieldRequest request)
LogAnalytics
delete field with specified name
deleteField
in interface LogAnalytics
request
- The request object containing the details to sendpublic DeleteLabelResponse deleteLabel(DeleteLabelRequest request)
LogAnalytics
delete a label
deleteLabel
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 Log-Analytics group with the given id.
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
Delete the specified lookup.
deleteLookup
in interface LogAnalytics
request
- The request object containing the details to sendpublic DeleteParserResponse deleteParser(DeleteParserRequest request)
LogAnalytics
delete parser with 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
delete source with specified ID
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 EnableArchivingResponse enableArchiving(EnableArchivingRequest request)
LogAnalytics
THis API enables archiving.
enableArchiving
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
export
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
structured log fieldpaths
extractStructuredLogFieldPaths
in interface LogAnalytics
request
- The request object containing the details to sendpublic ExtractStructuredLogHeaderPathsResponse extractStructuredLogHeaderPaths(ExtractStructuredLogHeaderPathsRequest request)
LogAnalytics
structured log header paths
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
association summary
getAssociationSummary
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetColumnNamesResponse getColumnNames(GetColumnNamesRequest request)
LogAnalytics
extract column names from SQL query
getColumnNames
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetConfigWorkRequestResponse getConfigWorkRequest(GetConfigWorkRequestRequest request)
LogAnalytics
association summary by source
getConfigWorkRequest
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetFieldResponse getField(GetFieldRequest request)
LogAnalytics
get common field with specified name
getField
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetFieldsSummaryResponse getFieldsSummary(GetFieldsSummaryRequest request)
LogAnalytics
get field summary
getFieldsSummary
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetLabelResponse getLabel(GetLabelRequest request)
LogAnalytics
get label with specified name
getLabel
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetLabelSummaryResponse getLabelSummary(GetLabelSummaryRequest request)
LogAnalytics
get total count
getLabelSummary
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
Retrieves the Log-Analytics group with the given id.
getLogAnalyticsLogGroup
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetLogAnalyticsLogGroupsSummaryResponse getLogAnalyticsLogGroupsSummary(GetLogAnalyticsLogGroupsSummaryRequest request)
LogAnalytics
Returns a count of Log-Analytics groups.
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 GetLookupResponse getLookup(GetLookupRequest request)
LogAnalytics
Obtains the lookup with the specified reference.
getLookup
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
get parser with fields by Name
getParser
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetParserSummaryResponse getParserSummary(GetParserSummaryRequest request)
LogAnalytics
parser summary
getParserSummary
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 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
get source with specified name
getSource
in interface LogAnalytics
request
- The request object containing the details to sendpublic GetSourceSummaryResponse getSourceSummary(GetSourceSummaryRequest request)
LogAnalytics
source summary
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 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
register custom content
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 ListAssociatedEntitiesResponse listAssociatedEntities(ListAssociatedEntitiesRequest request)
LogAnalytics
list of entities that have been associated to at least one source
listAssociatedEntities
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListConfigWorkRequestsResponse listConfigWorkRequests(ListConfigWorkRequestsRequest request)
LogAnalytics
association summary by source
listConfigWorkRequests
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
entity associations summary
listEntitySourceAssociations
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListFieldsResponse listFields(ListFieldsRequest request)
LogAnalytics
get all common field with specified display name and description
listFields
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListLabelPrioritiesResponse listLabelPriorities(ListLabelPrioritiesRequest request)
LogAnalytics
get list of priorities
listLabelPriorities
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListLabelSourceDetailsResponse listLabelSourceDetails(ListLabelSourceDetailsRequest request)
LogAnalytics
get details of sources using the label
listLabelSourceDetails
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListLabelsResponse listLabels(ListLabelsRequest request)
LogAnalytics
get labels passing specified filter
listLabels
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 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-Analytics groups.
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 ListLookupsResponse listLookups(ListLookupsRequest request)
LogAnalytics
Obtains a list of lookups. The list is filtered according to the filter criteria specified by the user, and sorted according to the ordering criteria specified.
listLookups
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListMetaSourceTypesResponse listMetaSourceTypes(ListMetaSourceTypesRequest request)
LogAnalytics
get all meta source types
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 ListParserFunctionsResponse listParserFunctions(ListParserFunctionsRequest request)
LogAnalytics
get pre-process plugin instance
listParserFunctions
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListParserMetaPluginsResponse listParserMetaPlugins(ListParserMetaPluginsRequest request)
LogAnalytics
get pre-process Meta plugins
listParserMetaPlugins
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListParsersResponse listParsers(ListParsersRequest request)
LogAnalytics
List parsers passing specified filter
listParsers
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 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
association summary by source
listSourceAssociations
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListSourceExtendedFieldDefinitionsResponse listSourceExtendedFieldDefinitions(ListSourceExtendedFieldDefinitionsRequest request)
LogAnalytics
get source extended fields for source with specified Id
listSourceExtendedFieldDefinitions
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListSourceLabelOperatorsResponse listSourceLabelOperators(ListSourceLabelOperatorsRequest request)
LogAnalytics
list source label operators
listSourceLabelOperators
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListSourceMetaFunctionsResponse listSourceMetaFunctions(ListSourceMetaFunctionsRequest request)
LogAnalytics
get source meta functions
listSourceMetaFunctions
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListSourcePatternsResponse listSourcePatterns(ListSourcePatternsRequest request)
LogAnalytics
get source patterns for source with specified Id
listSourcePatterns
in interface LogAnalytics
request
- The request object containing the details to sendpublic ListSourcesResponse listSources(ListSourcesRequest request)
LogAnalytics
source list
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
Obtains a list of warnings. The list is filtered according to the filter criteria specified by the user, and sorted according to the ordering criteria specified.
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
register lookup
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 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 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
Accepts a list of warnings. Any unsuppressed warnings in the input list will 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
test parser
testParser
in interface LogAnalytics
request
- The request object containing the details to sendpublic UnsuppressWarningResponse unsuppressWarning(UnsuppressWarningRequest request)
LogAnalytics
Accepts a list of warnings. Any suppressed warnings in the input list will be unsuppressed. Warnings in the input list which are unsuppressed will not be modified.
unsuppressWarning
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 Log-Analytics group with the given id.
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 specified lookup with the details provided. This API will not update lookup metadata (such as lookup description).
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 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 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
create or update associations for a source
upsertAssociations
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpsertFieldResponse upsertField(UpsertFieldRequest request)
LogAnalytics
Defines or update a field.
upsertField
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpsertLabelResponse upsertLabel(UpsertLabelRequest request)
LogAnalytics
Define or update a label.
upsertLabel
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpsertParserResponse upsertParser(UpsertParserRequest request)
LogAnalytics
Define or update parser
upsertParser
in interface LogAnalytics
request
- The request object containing the details to sendpublic UpsertSourceResponse upsertSource(UpsertSourceRequest request)
LogAnalytics
Define or update a source
upsertSource
in interface LogAnalytics
request
- The request object containing the details to sendpublic ValidateAssociationParametersResponse validateAssociationParameters(ValidateAssociationParametersRequest request)
LogAnalytics
association parameter validation
validateAssociationParameters
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 ValidateSourceResponse validateSource(ValidateSourceRequest request)
LogAnalytics
Pre-define or update a source
validateSource
in interface LogAnalytics
request
- The request object containing the details to sendpublic ValidateSourceExtendedFieldDetailsResponse validateSourceExtendedFieldDetails(ValidateSourceExtendedFieldDetailsRequest request)
LogAnalytics
test extended fields
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 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
Copyright © 2016–2021. All rights reserved.