Package | Description |
---|---|
com.azure.monitor.query |
Package containing clients for querying logs and metrics from Azure Monitor.
|
com.azure.monitor.query.models |
Package containing models for querying logs and metrics from Azure Monitor.
|
Modifier and Type | Method and Description |
---|---|
<T> Mono<List<T>> |
LogsQueryAsyncClient.query(String workspaceId,
String query,
com.azure.core.experimental.models.TimeInterval timeInterval,
Class<T> type,
LogsQueryOptions options) |
<T> List<T> |
LogsQueryClient.query(String workspaceId,
String query,
com.azure.core.experimental.models.TimeInterval timeInterval,
Class<T> type,
LogsQueryOptions options)
Returns all the Azure Monitor logs matching the given query in the specified workspaceId.
|
<T> Mono<com.azure.core.http.rest.Response<List<T>>> |
LogsQueryAsyncClient.queryWithResponse(String workspaceId,
String query,
com.azure.core.experimental.models.TimeInterval timeInterval,
Class<T> type,
LogsQueryOptions options)
Returns all the Azure Monitor logs matching the given query in the specified workspaceId.
|
<T> com.azure.core.http.rest.Response<List<T>> |
LogsQueryClient.queryWithResponse(String workspaceId,
String query,
com.azure.core.experimental.models.TimeInterval timeInterval,
Class<T> type,
LogsQueryOptions options,
com.azure.core.util.Context context)
Returns all the Azure Monitor logs matching the given query in the specified workspaceId.
|
Mono<com.azure.core.http.rest.Response<LogsQueryResult>> |
LogsQueryAsyncClient.queryWithResponse(String workspaceId,
String query,
com.azure.core.experimental.models.TimeInterval timeInterval,
LogsQueryOptions options)
Returns all the Azure Monitor logs matching the given query in the specified workspaceId.
|
com.azure.core.http.rest.Response<LogsQueryResult> |
LogsQueryClient.queryWithResponse(String workspaceId,
String query,
com.azure.core.experimental.models.TimeInterval timeInterval,
LogsQueryOptions options,
com.azure.core.util.Context context)
Returns all the Azure Monitor logs matching the given query in the specified workspaceId.
|
Modifier and Type | Method and Description |
---|---|
LogsQueryOptions |
LogsQueryOptions.setAdditionalWorkspaces(List<String> additionalWorkspaces)
Sets the list of additional workspaces on which this query is executed.
|
LogsQueryOptions |
LogsQueryOptions.setAdditionalWorkspaces(String... additionalWorkspaces)
Sets the list of additional workspaces on which this query is executed.
|
LogsQueryOptions |
LogsQueryOptions.setIncludeStatistics(boolean includeStatistics)
Sets the flag that indicates if the query should include statistics.
|
LogsQueryOptions |
LogsQueryOptions.setIncludeVisualization(boolean includeVisualization)
Sets the flag that indicates if the query should return visualization details.
|
LogsQueryOptions |
LogsQueryOptions.setServerTimeout(Duration serverTimeout)
Sets the server timeout for this query.
|
Modifier and Type | Method and Description |
---|---|
String |
LogsBatchQuery.addQuery(String workspaceId,
String query,
com.azure.core.experimental.models.TimeInterval timeInterval,
LogsQueryOptions logsQueryOptions)
Adds a new logs query to the batch.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.