You have an Azure subscription named Subscription1 that contains an Azure Log Analytics workspace named Workspace1. You need to view the error events from a table named Event. Which query should you run in Workspace1?
A.
Get-Event Event | where ($_.EventType ""eq "error")
B.
Get-Event Event | where ($_.EventType == "error")
C.
search in (Event) * | where EventType ""eq "error"
Suggested Answer:D🗳️
To search a term in a specific table, add in (table-name) just after the search operator References: https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/search-queries https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/get-started-portal
D is correct. Kusto Query Language in Azure Log Analytics -
Examples:
search in (Table-Name) "error" <--Search string "error" in Table across all columns.
search in (Table-Name) Column1:"error" <--Search string "error" in given table and column
search in (Table1, Table2) Column1=="error" <-Search in given tables and columns for exact string "error".
Table scoping
To search a term in a specific table, add in (table-name) just after the search operator:
Kusto
Copy
search in (Event) "error"
| take 100
upvoted 4 times
...
This section is not available anymore. Please use the main Exam Page.AZ-103 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
peterhaan898
Highly Voted 5 years, 4 months agoCloudyuga
Highly Voted 4 years, 11 months agosimanastasiya
Most Recent 4 years, 5 months agoX_L
4 years, 8 months agosjoerdstefma
5 years, 3 months ago