I'm trying to send some data tu Log Analytics using Azure Log Analytics Data Collector in preview. The problem is that is throwing the some error every time Error of AzureLogAnalyticsDataCollector.SendData: { "Error": "InvalidDataFormat", "Message": null }.
Anyone know how can send information well?
I've try this:
AzureLogAnalyticsDataCollector.SendData("Event";"{'message':'Btn pressed'}")
Solved! Go to Solution.
Hi @Anonymous ,
According to the documentation here:
https://docs.microsoft.com/en-us/connectors/azureloganalyticsdatacollector/#send-data
Name | Key | Required | Type | Description |
---|---|---|---|---|
JSON Request body
|
body | True | string |
Send data to Azure Log Analytics workspace. |
Custom Log Name
|
Log-Type | True | string |
Name of the custom log. |
If this issue remains after you make sure both are included correctly, then this might be a temporary issue since this connector is still in preview. I have found another thread that has the same error:
Regards,
Mona
Hi @Anonymous ,
According to the documentation here:
https://docs.microsoft.com/en-us/connectors/azureloganalyticsdatacollector/#send-data
Name | Key | Required | Type | Description |
---|---|---|---|---|
JSON Request body
|
body | True | string |
Send data to Azure Log Analytics workspace. |
Custom Log Name
|
Log-Type | True | string |
Name of the custom log. |
If this issue remains after you make sure both are included correctly, then this might be a temporary issue since this connector is still in preview. I have found another thread that has the same error:
Regards,
Mona
User | Count |
---|---|
260 | |
110 | |
92 | |
56 | |
41 |