Home

Tutorial deprecated example

Guillem Sola Aranda
New Contributor

Hi,

 

The last examples in the log analytics tutorial are deprectaed as the analytics query analysier tells me "Deprecated. See documentation for new syntax "

 

requests | where timestamp > datetime(04-25-2017) and timestamp <= datetime(04-26-2017) | evaluate d...

requests | where timestamp > datetime(04-25-2017) and timestamp <= datetime(04-26-2017) | evaluate d...

 

Who can solve this? Is this the right place to report it?

 

Regards

2 Replies

Hi and thanks for reporting! @Noa Kuperberg to get the fix in to both the tutorial and the diffpatterns doc page.

 

The synthax has changed to diffpatterns_v2. For example the first query would become:

requests | where timestamp > datetime(04-25-2017) and timestamp <= datetime(04-26-2017) | evaluate diffpatterns_v2(success, "true", "false")

 

The great thing about the _v2 variation is that it, unlike the previous one, no longer has to be the last clause in a query.

Hey, short update - the docs have been fixed according to the new syntax. Thank you for notifying on this!

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies