Share via

Send Synapse pyspark app logs to Geneva in a cost-effective and SFI Compliant way

Muhesh Krishnamurthy 0 Reputation points Microsoft Employee
2026-03-17T06:57:39.5233333+00:00

So currently we have use case where we have to send pyspark app logs to Geneva in a SFI Compliant way.

Our Current Architecture is Leveraging Synapse Diagnostic Emitters which offers 3 destinations

  • Azure Log Analytics (Secret based auth)
  • Storage Account (Secret based auth)
  • Event Hub (Secret based auth or Cert based auth)

We had to go with Event Hub since it is the only SFI compliant way possible out of the above 3 options, therefore our architecture became:
Synapse -> EventHub -> Event Trigger Azure Function (with ANTMDS Agent) -> Geneva

which works but it is not cost-effective.

Is there any SFI compliant and cost-effective way to send spark app logs to geneva from synapse.

Also is there a way to send Spark Application logs(Log4j logs) to Storage Account just with managed Identity ?

Azure Synapse Analytics
Azure Synapse Analytics

An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.


1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-17T06:57:51.32+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The available Synapse Apache Spark diagnostic emitters support only three destination types: Azure Log Analytics, Azure Storage, and Azure Event Hubs.

    From the documented configuration options:

    • Azure Log Analytics: uses a workspace ID plus a secret (Log Analytics key) or a secret stored in Azure Key Vault.
    • Azure Storage: uses either an Access Key or SAS token, provided directly via secret or indirectly via Azure Key Vault.
    • Azure Event Hubs: uses a connection string provided directly via secret or indirectly via Azure Key Vault; there is also support for certificate-based service principal authentication for Event Hubs.

    No documented option exists to:

    1. Send Synapse Spark logs directly to Geneva from Synapse diagnostic emitters without going through one of these three destinations.
    2. Use managed identity alone (without access key/SAS/Key Vault secret) to write Spark application logs (Log4j logs) from Synapse diagnostic emitters to Azure Storage.

    For SFI-compliant routing, Event Hubs with secret or certificate-based authentication is the only documented path among the three emitter types. Any further cost optimization or Geneva integration would need to be implemented downstream of one of these supported destinations (for example, after Event Hubs), as there is no additional built-in, lower-cost, SFI-compliant Geneva target in the diagnostic emitter framework.

    Similarly, for Storage, the documented authentication modes are AccessKey or SAS, either inline or via Key Vault; managed identity is not listed as a supported auth mechanism for the AzureStorage diagnostic emitter.


    References:

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.