how to insert records in to app insights trace from postman

Kesavamurthi D 106 Reputation points
2022-09-17T10:40:49.69+00:00

hi admin
i am able to insert logs via python SDK in to trace table(ap insights), now i need to achive the same via postman.
kindly guide how to do it. i have appid and api key
tc = TelemetryClient("XXXXXXXXXXXXXXXXX")
df=tc.track_trace('final_acc1', common_dict
)
tc.flush()

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,186 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vinodh247 16,916 Reputation points
    2022-09-17T10:49:09.4+00:00

    Hi KesavamurthiD,

    Thanks for reaching out to Microsoft Q&A.

    Please check the below link, I found similar request of yours.

    https://stackoverflow.com/questions/73343941/log-message-in-application-insight-from-postman

    Additional details for application insights post custom metrics.

    https://learn.microsoft.com/en-us/answers/questions/75020/application-insights-rest-api-post-metric.html

    Please Upvote and Accept as answer if the reply was helpful.

    0 comments No comments

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.