File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sdk/monitor/azure-monitor-ingestion/src/samples/java/com/azure/monitor/ingestion Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ public final class UploadLogsSample {
21
21
*/
22
22
public static void main (String [] args ) {
23
23
LogsIngestionClient client = new LogsIngestionClientBuilder ()
24
- .endpoint ("<data-collection-endpoint" )
24
+ .endpoint ("<data-collection-endpoint> " )
25
25
.credential (new DefaultAzureCredentialBuilder ().build ())
26
26
.buildClient ();
27
27
28
28
List <Object > dataList = getLogs ();
29
- UploadLogsResult result = client .upload ("<data-collection-rule-id" , "stream-name" , dataList );
29
+ UploadLogsResult result = client .upload ("<data-collection-rule-id> " , "< stream-name> " , dataList );
30
30
System .out .println (result .getStatus ());
31
31
}
32
32
You can’t perform that action at this time.
0 commit comments