Forum Discussion
Jason Perron
Dec 01, 2017Copper Contributor
Using REST endpoint to add log data, can i set the MetricName value?
Disclaimer that i am new to OMS. I am using the ods.opinsights.azure.com/api/logs?api-version=2016-04-01 endpoint to save log entries to OMS. I am sending the messages as JSON which automatically c...
- Dec 03, 2017
Hi
When you send particular field/column to Log Analytics its name is changed based on the type. This is true for almost any field/column. However there are some fields/columns which are called reserved that you can send without name change if you send them in the right type of course. I've covered this topic here:
https://cloudadministrator.wordpress.com/2017/05/24/reserved-common-fields-in-log-analytics/
MetricName is not such a field/column.