Skip to content

Commit 9b566da

Browse files
committed
new doc how-to-use-certsp-emit-log-to-eventhub
1 parent 23cd19e commit 9b566da

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

articles/synapse-analytics/spark/how-to-use-certsp-emit-log-to-eventhub.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ This document provides a step-by-step guide for setting up Azure services, parti
1515
## Prerequisites
1616

1717
- An Azure subscription. If you don't have one, [create a free account](https://azure.microsoft.com/free/) before you begin.
18-
- [Synapse Analytics workspace](quickstart-create-workspace.md)
18+
- [Synapse Analytics workspace](./azure/quickstart-create-workspace.md)
1919
- If you are new to Azure Event Hubs, read through [Event Hubs overview](/azure/event-hubs/event-hubs-about.md) and [Event Hubs features](/azure/event-hubs/event-hubs-features).
20-
- [Azure Key Vault](azure/key-vault/general/overview.md)
20+
- [Azure Key Vault](./azure/key-vault/general/overview.md)
2121
- To complete this tutorial's steps, you need to have access to a resource group for which you're assigned the Owner role. Generate a certificate in the Key Vault in this resource group.
2222

2323

@@ -50,7 +50,7 @@ This document provides a step-by-step guide for setting up Azure services, parti
5050
}
5151
]
5252
```
53-
:::image type="content" source="media\trust-the-certificate.png" alt-text="Screenshot showing trust the certificate in the application.":::
53+
:::image type="content" source="media\trust-the-certificate.png" alt-text="Screenshot showing trust the certificate in the application.":::
5454

5555
## Step 4. Assign Azure Event Hubs Data Sender Role
5656

@@ -110,12 +110,12 @@ This document provides a step-by-step guide for setting up Azure services, parti
110110
111111
After executing the configuration code in Step 7, run the log-sending code to start emitting logs to Event Hub.
112112
113-
```
114-
%%spark
115-
val logger = org.apache.log4j.LogManager.getLogger("com.contoso.LoggerExample")
116-
logger.info("Hello, info message")
117-
logger.warn("Hello, warn message")
118-
logger.error("Hello, error message")
119-
```
113+
```
114+
%%spark
115+
val logger = org.apache.log4j.LogManager.getLogger("com.contoso.LoggerExample")
116+
logger.info("Hello, info message")
117+
logger.warn("Hello, warn message")
118+
logger.error("Hello, error message")
119+
```
120120
121121

articles/synapse-analytics/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ items:
821821
- name: Apache Spark Advisor
822822
href: ./monitoring/apache-spark-advisor.md
823823
- name: Use the certificate and service principal to send logs to EventHub
824-
href: ./monitoring/how-to-use-certsp-emit-log-to-eventhub.md
824+
href: ./monitoring/how-to-use-certsp-emit-log-to-eventhub.md
825825
- name: Data sources
826826
items:
827827
- name: Azure Cosmos DB Spark 3

0 commit comments

Comments
 (0)