Forum Discussion
Using REST endpoint to add log data, can i set the MetricName value?
- Dec 04, 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.
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.
I'm still a little confused. Why is it that DurationMs doesn't suffix anything, but MetricName does?
From my understanding, you can do auto-scaling based on a metricname/value so i was hoping to be able to upload app specific timings in order to support scaling. Seems silly that i would have to create a custom field for a field already there
- Dec 05, 2017
Hi
I am not sure what you mean by auto-scaling. There are just some fields that are common for all tables and some that are created when uploading data. No matter how a filed is named that should not be a problem to cover any scenario that you have in mind. The query language itself is so powerful that you can even rename and extend the data while querying.