question

JumanaZainuddinBohra-8668 avatar image
0 Votes"
JumanaZainuddinBohra-8668 asked AnuragSingh-MSFT edited

I have pushed constant tags to be displayed with customevents and customMetrics. Where in appinsights are they mapped with column names?

I have pushed constant tags to be displayed with customevents and customMetrics. Where in appinsights are they mapped with column names?

sub make_entry($type, $data) {
return {
iKey => $intrumentation_key,
time => strftime("%Y-%m-%dT%H:%M:%S.000Z", gmtime),
name => $type,
tags => \%tags,
data => {
baseType => $type,
baseData => $data,
},
}
}

my %tags = (
'ai.user.accountId' => $partner_id,
'ai.user.id' => $ownership->get('SERIAL'),
'ai.internal.nodeName' => $ownership->get('ID'),
'ai.device.osVersion' => get_sw_release(),
'ai.cloud.role' => get_role_replication(),
);

How can I see ai.internal.nodeName on appinsights?

azure-monitor
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AnuragSingh-MSFT avatar image
0 Votes"
AnuragSingh-MSFT answered JumanaZainuddinBohra-8668 commented

Hi @JumanaZainuddinBohra-8668,

Welcome to Microsoft Q&A! Thanks for posting the question.

Based on my understanding, the script above is a Perl script. Please correct me if I'm missing something. As per official Documentation for Supported Language, Perl is not supported for ApplicationInsights - ref: Supported languages. Also, please refer to Unsupported SDKs section of this doc.

With that information at hand, I would still try to help you based on my understanding of the question above. Since you have forwarded data to customevents and customMetrics (which have the new names as AppEvents and AppMetrics respectively in worksapce based schema), this information should be available in one of these tables' column. You may refer to this link for more details on the new names as well as the columns available in them - Table Structure.

Please let me know if you have any questions.


Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for your answer. Table structure helps me know the permissible column names and yes its a perl backend.

0 Votes 0 ·