Oleg Sh
Oleg Sh

Reputation: 9013

Application Insights log: search by Information content

I want to search Application Insights logs by messages inside. For example, I have the following log:

enter image description here

I want to search all calls, when message: 'FunctionCallEfsApi no messages' consists... How can I do it?

Upvotes: 14

Views: 17757

Answers (2)

Sajeetharan
Sajeetharan

Reputation: 222582

You can navigate to Logs(Analytics) on Application Insights resource you have and write a query to fetch those information,

traces
| where message contains "FunctionCallEfsApi no messages" 

enter image description here

Upvotes: 7

Aparna Gadgil
Aparna Gadgil

Reputation: 468

If you are looking inside traces or exceptions inside Application Insights, you can use following query to get all messages when message contains : 'FunctionCallEfsApi no messages'

traces | where message contains "FunctionCallEfsApi no messages" 

Upvotes: 19

Related Questions