Skip to content

4pp1n51ght5

Hacks, tips and tricks from a dev on the Microsoft Windows Cyber team

Primary Menu

  • Home
  • Assaf Neufeld

Tag 404

Cool Azure Log Analytics: How many unique users were affected by 404’s?

April 19, 2016August 9, 2017assaf___ 1 Comment

Here’s another nifty little trick useful for counting how many unique users were impacted from a service issue.

In order to do this, I use the “dcount” aggregation. It counts how many unique values are in the column.

requests
| where timestamp > ago(7d)
| where resultCode == "404"
| summarize dcount(user_Id)

Follow me on Twitter

My Tweets

Follow on RSS

RSS Feed

Top Posts & Pages

  • Searching all Tables with Union, Searching all Fields with '*'
    Searching all Tables with Union, Searching all Fields with '*'
Create a website or blog at WordPress.com
  • Subscribe Subscribed
    • 4pp1n51ght5
    • Join 26 other subscribers
    • Already have a WordPress.com account? Log in now.
    • 4pp1n51ght5
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar