ACOUSTICS & DSP JS, REACT & NODE RESEARCH

Complete usage of regular expressions in VBS original

VBS regular expression functionMainly used in ASP, the effect is obvious1. Form verification function Copy codeThe code is as follows: Function Validate(strng,patrn)   Dim regEx   Set regEx = New RegExp   regEx.Pattern = patrn   regEx.IgnoreCase = True   regEx.Global = True   Validate = regEx.test(strng)   Set regEx = Nothing  End Function  Use…Read moreComplete usage of regular expressions in VBS original

DATA MANAGEMENT ELASTIC & LUCENE REST/HTTP & GRAPHQL

elasticsearch – Elastic Query to alert only when a certain logs comes more than a custom threshold

I have an echo alarm set like this {“query”: { “bool” : { “must” : [ {“regexp”:{“messageDetail.uri”: “/v[1,2]/ccpa/.*”}}, {“range”:{“timestamp”:{“gte”:”now-60m/m”}}}, {“range”:{“responseCode”:{“gte”:500}}} ], “must_not”: [ {“regexp”: {“message”: “.*requestqueuedoesnotexist.*”}} ] } }, “size”:0…Read moreelasticsearch – Elastic Query to alert only when a certain logs comes more than a custom threshold