SOLVED

Survey: Adding query examples to the Logs UX

%3CLINGO-SUB%20id%3D%22lingo-sub-890668%22%20slang%3D%22en-US%22%3ESurvey%3A%20Adding%20query%20examples%20to%20the%20Logs%20UX%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-890668%22%20slang%3D%22en-US%22%3E%3CP%3EHi!%3C%2FP%3E%0A%3CP%3EWe%E2%80%99re%20adding%20query%20examples%20to%20the%20Logs%20pages%20of%20various%20Azure%20resources%20(such%20as%20Key%20Vaults%20and%20Stream%20Analytics)%2C%20to%20help%20users%20get%20started%20easily%2C%20and%20find%20meaningful%20data%20and%20insights.%20Which%20would%20you%20prefer%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EQueries%E2%80%99%20titles%20can%20be%20phrased%20as%3A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20A%20question%3A%20%E2%80%9CHow%20many%20requests%20failed%20over%20the%20last%20day%3F%E2%80%9D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20A%20statement%3A%20%E2%80%9CList%20all%20failed%20requests%20over%20the%20last%20day%E2%80%9D.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhich%20is%20better%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ESimilar%20examples%20(such%20as%20calculating%20average%20vs%20median%2C%20or%20bins%20of%201%20hour%20vs%201%20day)%20can%20be%20shown%20as%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20Two%20separate%20examples%20(each%20with%20its%20own%20title%20and%20description)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20One%20example%20with%20a%20comment%20in%20it%2C%20explaining%20a%20possible%20modification%20(such%20as%20%E2%80%9Creplace%20this%20value%20to%201d%20to%20run%20per%20day%20instead%20of%20hour%E2%80%9D)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhich%20is%20better%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-890668%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Log%20Analytics%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-917646%22%20slang%3D%22en-US%22%3ERe%3A%20Survey%3A%20Adding%20query%20examples%20to%20the%20Logs%20UX%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-917646%22%20slang%3D%22en-US%22%3EStatements%20are%20better%20as%20they%20dictate%20what%20the%20results%20are.%3CBR%20%2F%3E%3CBR%20%2F%3EOne%20example%20with%20comments--in%20fact%2C%20all%20query%20examples%20should%20include%20basic%20comments%2C%20specifically%20before%20query%20statements%20that%20are%20more%20complex%20than%20standard%20%22where%22%20operators.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-976986%22%20slang%3D%22en-US%22%3ERE%3A%20Survey%3A%20Adding%20query%20examples%20to%20the%20Logs%20UX%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-976986%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Fwww.iprobet168.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.iprobet168.com%3C%2FA%3E%3C%2FLINGO-BODY%3E
Highlighted
Microsoft

Hi!

We’re adding query examples to the Logs pages of various Azure resources (such as Key Vaults and Stream Analytics), to help users get started easily, and find meaningful data and insights. Which would you prefer?

 

  1. Queries’ titles can be phrased as:

          A question: “How many requests failed over the last day?”

          A statement: “List all failed requests over the last day”.

 

Which is better?

 

  • Similar examples (such as calculating average vs median, or bins of 1 hour vs 1 day) can be shown as:

          Two separate examples (each with its own title and description)

          One example with a comment in it, explaining a possible modification (such as “replace this value to 1d to run per day instead of hour”)

 

Which is better?

1 Reply
Highlighted
Solution
Statements are better as they dictate what the results are.

One example with comments--in fact, all query examples should include basic comments, specifically before query statements that are more complex than standard "where" operators.