question

DivyaKhanna-6579 avatar image
0 Votes"
DivyaKhanna-6579 asked soysoliscarlos commented

How to monitor connections made to Cosmos DB and Key Vault?

I'm unable to monitor the number of connections being made to Azure Cosmos DB and Key Vault from my function app using Cosmos client and Secret client, respectively.

azure-monitorazure-cosmos-dbazure-key-vaultazure-metrics-advisor
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

soysoliscarlos avatar image
0 Votes"
soysoliscarlos answered soysoliscarlos commented

Hi @DivyaKhanna-6579

Welcome to Microsoft Q&A Platform, thanks for posting your query here.

You should activate the log for the Key Vault, from there you can monitor the connections to the Key Vault.

https://docs.microsoft.com/en-us/azure/key-vault/general/howto-logging

Also, you can configure alerts if there is any specific activity on the Key vault

https://docs.microsoft.com/en-us/azure/key-vault/general/alert

Hope this helps,
Carlos Solís Salazar


Please "Accept as Answer" and/or Upvote if any of the above helped so that, it can help others in the community looking for remediation for similar issues.

· 2
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.

Thank you so much. I'll try it out.

0 Votes 0 ·

Hi @DivyaKhanna-6579, if the above response helped answer your query, Please accept the response as answer, so others visiting the forum with the same query might get help.

0 Votes 0 ·