🔥Pivot is probably one of the underutilized but very powerful #dataanalysis operator in #KQL

👉Like PivotTable in Excel it creates aggregated views on categorical data for analysis to spot any unusual patterns across multiple columns 🧵👇

Refer doc : docs.microsoft.com/en-us/azure/da…
👀Simple example of Pivot View of Successful Logons tabular data

👉No of unique users logging per hour across LogonTypes. 👇 Image
💪Now taking the power of pivot to next level.

🤔 Ever wanted to parse complex windows XML format but tired of manually parsing out individual columns per eventID.

😎Let`s see pivot in action parsing windows XML in EventData column dynamically with #KQL

cc @Cyb3rWard0g Image
📌Reference Queries :

👉github.com/Azure/Azure-Se…

👉github.com/ashwin-patil/b…

🙏Lastly always use pivot on smaller timeframes , when you already know the datasize and no of columns beforehand to avoid data explosion while creating pivot view and causing performance impact.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Ashwin Patil

Ashwin Patil Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @ashwinpatil

30 Oct 20
💥Highlights from my #KQL talk @Grayhat_Con @BlueTeamVillage in case you missed

📌Slides :
github.com/ashwin-patil/b…

📌GitHub - KQL Queries:
github.com/ashwin-patil/b…

🧵👇
🤔 Why you should learn Query language ?
Multiple Products - Varying KQL Support.

👀Always check documentation for support
docs.microsoft.com/en-us/azure/az…
Read 10 tweets
20 Nov 19
Wait is over .. Read final part 2 which is focused on aws log data ingestion , #hunting and investigation of Capital one breach TTPs in #AzureSentinel techcommunity.microsoft.com/t5/Azure-Senti…
T1078: Privileged role attached to Instance.
#AzureSentinel #MITRE #AWS #threathunting
github.com/Azure/Azure-Se…
T1078 : Suspicious credential token access of valid IAM Roles
#AzureSentinel #MITRE #AWS #threathunting
github.com/Azure/Azure-Se…
Read 5 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!