Uses of Class
com.azure.monitor.ingestion.models.LogsUploadOptions
Packages that use LogsUploadOptions
Package
Description
The Azure Monitor Ingestion client library is used to send custom logs to an Azure Monitor
Log Analytics workspace.
Package containing models for uploading logs to Azure Monitor.
-
Uses of LogsUploadOptions in com.azure.monitor.ingestion
Methods in com.azure.monitor.ingestion with parameters of type LogsUploadOptionsModifier and TypeMethodDescriptionLogsIngestionAsyncClient.upload(String ruleId, String streamName, Iterable<Object> logs, LogsUploadOptions options) Uploads logs to Azure Monitor with specified data collection rule id and stream name.voidLogsIngestionClient.upload(String ruleId, String streamName, Iterable<Object> logs, LogsUploadOptions options) Uploads logs to Azure Monitor with specified data collection rule id and stream name.voidLogsIngestionClient.upload(String ruleId, String streamName, Iterable<Object> logs, LogsUploadOptions options, com.azure.core.util.Context context) Uploads logs to Azure Monitor with specified data collection rule id and stream name. -
Uses of LogsUploadOptions in com.azure.monitor.ingestion.models
Methods in com.azure.monitor.ingestion.models that return LogsUploadOptionsModifier and TypeMethodDescriptionLogsUploadOptions.setLogsUploadErrorConsumer(Consumer<LogsUploadError> logsUploadErrorConsumer) Sets the error handler that is called when a request to the Azure Monitor service to upload logs fails.LogsUploadOptions.setMaxConcurrency(Integer maxConcurrency) Sets the max concurrent requests to send to the Azure Monitor service when uploading logs.LogsUploadOptions.setObjectSerializer(com.azure.core.util.serializer.ObjectSerializer objectSerializer) Sets the serializer to use to convert the log objects to JSON.