MULTIJSON data format missing when creating a Data Explorer data connection in the Azure Portal

J-C 5 Reputation points
2023-11-01T20:42:29.5433333+00:00

When creating a data connection from ADX/Kusto to EventHub, I would like to choose the MULTIJSON data format. If I recall correctly, this option was available in the Azure Portal, but there is only the JSON format now (see screenshot).

The docs still mention that data format, and I couldn't find any mention of it being deprecated. It is still possible to set it with Terraform, and I confirmed that it is working (we had data ingestion failures with JSON that stopped when we switched to MULTIJSON).

Is the MULTIJSON data format being phased out? Is this is a bug in the Azure Portal?

Ref:
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kusto_eventhub_data_connection#data_format
https://learn.microsoft.com/en-us/azure/data-explorer/ingest-json-formats?tabs=kusto-query-language#the-json-format

User's image

Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
531 questions
Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
646 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Markus M Schmieder 5 Reputation points
    2024-07-30T15:28:22.3433333+00:00

    We recently were in contact with Microsoft on this and it turns out the selection between JSON%20Files.-,JSON,-.json) (which is in fact JSONL) and MultiJson was NOT removed, but hidden behind an utterly misnamed toggle button called "ignore format errors". The product team actually agreed with us on this misnamer.
    User's image The idea is that users should not enable this button as it would require you to provide valid JSONL format, which looks like this:

       {"name": "First Object"}
       {"name": "Second Object"}
    

    Whereas leaving it disabled allows you to provide properly formatted MultiJSON like:

       [
         {
            "name": "First Object"
         },
         {
            "name": "Second Object"
         }
       ]
    
    1 person found this answer helpful.
    0 comments No comments

  2. Sander van de Velde | MVP 33,051 Reputation points MVP
    2023-11-01T21:52:53.21+00:00

    Hello @J-C ,

    welcome to this moderated Azure community forum.

    Yes, I can confirm this Multi-line-JSON was part of the selection in the past:

    User's image

    It is missing (although still referenced in the documentation) for both EventHub and IoTHub ingestion.

    It's unclear why this is not available in the portal anymore.

    Luckily, it still works for you using terraform. The same goes for the SDK.

    I will try to contact someone from the team to confirm this caveat.


    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.


Your answer

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