Home

KQL Queries in Sentinel & Defender? Different UI's...?

%3CLINGO-SUB%20id%3D%22lingo-sub-689787%22%20slang%3D%22en-US%22%3EKQL%20Queries%20in%20Sentinel%20%26amp%3B%20Defender%3F%20Different%20UI's...%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-689787%22%20slang%3D%22en-US%22%3E%3CP%3EFrom%20what%20I%20was%20reading%20it%20*appeared*%20that%20both%20the%20Sentinel%20and%20Defender%20ATP%20instances%20were%20using%20the%20same%20KQL%20Queries%20for%20advanced%20hunting%20queries%3F%20And%20to%20a%20certain%20extent%20that%20does%20appear%20to%20be%20the%20case.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20then%20why%20are%20they%20both%20using%20different%20UI's%3F%3C%2FP%3E%3CP%3EThey%20both%20look%20kind%20of%20the%20same%20in%20the%20intial%20query%20-%20but%20when%20you%20start%20to%20look%20at%20opening%20your%20results%20looking%20for%20additional%20%22identifiers%22%20to%20narrow%20the%20results%20the%20two%20systems%20use%20quite%20a%20different%20approach%20-%20to%20the%20point%20that%20it's%20really%20jarring%20-%20how%20did%20this%20happen%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESentinel%20has%20some%20hidden%20%2B%20%26amp%3B%20-%20buttons%20so%20that%20it%20can%20easily%20be%20added%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20610px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F118015iAD4099359B1442C9%2Fimage-dimensions%2F610x331%3Fv%3D1.0%22%20width%3D%22610%22%20height%3D%22331%22%20alt%3D%22Sentinel_Add_Field.JPG%22%20title%3D%22Sentinel_Add_Field.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20then%20in%20Defender%20ATP%20it%20uses%20a%20technique%20that%20requires%20a%20%22right%20click%22%20on%20the%20line%20to%20bring%20up%20this%20prompt%20below%20-%20what%20gives%20with%20this...%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20651px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F118016i27B3A87D7BA75F46%2Fimage-dimensions%2F651x401%3Fv%3D1.0%22%20width%3D%22651%22%20height%3D%22401%22%20alt%3D%22Defender_ATP.JPG%22%20title%3D%22Defender_ATP.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-694638%22%20slang%3D%22en-US%22%3ERe%3A%20KQL%20Queries%20in%20Sentinel%20%26amp%3B%20Defender%3F%20Different%20UI's...%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-694638%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F129396%22%20target%3D%22_blank%22%3E%40David%20Caddick%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20am%20not%20sure%20I%20can%20bridge%20the%20gap%20between%20the%20two%2C%20and%20I%20understand%20that%20more%20conformity%20would%20make%20it%20easier%20to%20use.%20I%20can%20explain%20why%20the%20difference%20is%20there%3A%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fkusto%2Fconcepts%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EKusto%3C%2FA%3E%20(the%20K%20in%20KQL)%20is%20a%20a%20Microsoft%20developed%20database%20technology%20targeted%20at%20big%20data%20analytics.%20It%20is%20widely%20used%20by%20Microsoft%20products%20and%20is%20also%20available%20to%20you%20directly%20as%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-explorer%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Data%20Explorer%3C%2FA%3E.%20Each%20system%20using%20Kusto%20can%20expose%20it%20to%20a%20different%20level%20and%20add%20additional%20functionality.%20Both%20MDATP%20and%20Sentinel%20(in%20practice%2C%20Log%20Analytics)%20expose%20a%20lot%2C%20making%20it%20look%20similar%2C%20but%26nbsp%3Bthere%20are%20differences%2C%20and%20not%20just%20in%20the%20UI.%20Some%20Kusto%20capabilities%20might%20be%20available%20in%20one%20and%20not%20the%20other%2C%20or%20in%20neither.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOn%20the%20practical%20side%2C%20we%20would%20love%20to%20hear%20about%20those%20discrepancies%2C%20as%20well%20as%20your%20preferred%20solution%20and%20add%20to%20the%20relevant%20roadmap%20the%20features%20you%20liked%20better.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E~%20Ofer%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-695073%22%20slang%3D%22en-US%22%3ERe%3A%20KQL%20Queries%20in%20Sentinel%20%26amp%3B%20Defender%3F%20Different%20UI's...%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-695073%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F293879%22%20target%3D%22_blank%22%3E%40Ofer_Shezaf%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20my%202%20cents%20-%20and%20keeping%20in%20mind%20I%20haven't%20investigated%20Playbooks%20or%20Notebooks%20yet...%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EIt's%20very%26nbsp%3Bhandy%20having%20the%20search%20to%20the%20schema%20right%20there%20%2B%20the%20Tabs%20feature%20is%20very%20simple%20to%20use%20and%20intuitive%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F118244i9346CFA4CBBD9C9E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Sentinel_UI_1.jpg%22%20title%3D%22Sentinel_UI_1.jpg%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ESentinel_UI_1%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EHaving%20the%20tabs%20work%20like%20a%20browser%20is%20very%20simple.%20The%20History%20section%20is%20a%20little%20hard%20to%20read...%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EInstead%20of%20History%20being%20laid%20out%20like%20it%20is%20today%20-%20can%20you%20simply%20%22extract%22%20the%20first%20two%20lines%20of%20%22comments%22%20(%20%2F%2F%20)%20and%20then%20display%20that%20in%20the%20same%20sized%20tiles%20(as%20below)%20-%20this%20will%20be%20easier%20to%20read%20%2B%20it%20will%20help%20encourage%20folks%20to%20write%2Fadd%20comments%20correctly%20in%20their%20queries%E2%80%A6%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20we%20also%20have%20%22extensibility%22%20to%20drop%20the%20samples%20we%20don't%20need%2Fuse%20-%20or%20at%20least%20put%20them%20further%20back%20-%20then%20we%20can%20have%20our%20saved%20examples%2Fhunting%20queries%20can%20be%20brought%20in%20here%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F118245i1A4461EC744EED74%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Sentinel_UI_2.jpg%22%20title%3D%22Sentinel_UI_2.jpg%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ESentinel_UI_2%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ENot%20sure%20if%20Tabs%20works%20here%3F%20and%20it%20sort%20of%20looks%20like%20there%20is%20a%20lack%20of%20search%20in%20the%20Schema%20on%20the%20left%2C%20but%20possibly%20this%20is%20because%20we%20can%20seach%20other%20elements%20from%20the%20search%20areas%20on%20the%20right...%3F%3C%2FP%3E%3CP%3EThe%20list%20of%20%22suggested%22%20queries%20is%20good%20and%20appears%20to%20be%20contextual%3F%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F118246i02B738154DB44D0D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Defender_UI_1.jpg%22%20title%3D%22Defender_UI_1.jpg%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EDefender_UI_1%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20this%20helps%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

From what I was reading it *appeared* that both the Sentinel and Defender ATP instances were using the same KQL Queries for advanced hunting queries? And to a certain extent that does appear to be the case.

 

So then why are they both using different UI's?

They both look kind of the same in the intial query - but when you start to look at opening your results looking for additional "identifiers" to narrow the results the two systems use quite a different approach - to the point that it's really jarring - how did this happen?

 

Sentinel has some hidden + & - buttons so that it can easily be added

Sentinel_Add_Field.JPG

 

And then in Defender ATP it uses a technique that requires a "right click" on the line to bring up this prompt below - what gives with this...?

 

Defender_ATP.JPG

2 Replies

@David Caddick 

 

I am not sure I can bridge the gap between the two, and I understand that more conformity would make it easier to use. I can explain why the difference is there: 

 

Kusto (the K in KQL) is a a Microsoft developed database technology targeted at big data analytics. It is widely used by Microsoft products and is also available to you directly as Azure Data Explorer. Each system using Kusto can expose it to a different level and add additional functionality. Both MDATP and Sentinel (in practice, Log Analytics) expose a lot, making it look similar, but there are differences, and not just in the UI. Some Kusto capabilities might be available in one and not the other, or in neither. 

 

On the practical side, we would love to hear about those discrepancies, as well as your preferred solution and add to the relevant roadmap the features you liked better. 

 

~ Ofer

Hi @Ofer_Shezaf 

 

For my 2 cents - and keeping in mind I haven't investigated Playbooks or Notebooks yet...?

It's very handy having the search to the schema right there + the Tabs feature is very simple to use and intuitive:

Sentinel_UI_1.jpgSentinel_UI_1

Having the tabs work like a browser is very simple. The History section is a little hard to read...?

 

Instead of History being laid out like it is today - can you simply "extract" the first two lines of "comments" ( // ) and then display that in the same sized tiles (as below) - this will be easier to read + it will help encourage folks to write/add comments correctly in their queries…?

 

Can we also have "extensibility" to drop the samples we don't need/use - or at least put them further back - then we can have our saved examples/hunting queries can be brought in here?

 

Sentinel_UI_2.jpgSentinel_UI_2

Not sure if Tabs works here? and it sort of looks like there is a lack of search in the Schema on the left, but possibly this is because we can seach other elements from the search areas on the right...?

The list of "suggested" queries is good and appears to be contextual?  

 

Defender_UI_1.jpgDefender_UI_1

 

I hope this helps?

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies