Repository navigation
Expand file tree
/
Copy pathsearch
More file actions
53 lines (43 loc) · 1.35 KB
/
Copy pathsearch
File metadata and controls
53 lines (43 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// search all columns in the AppDependencies table for the value "Azure". Search is not case sensitive by default
AppDependencies
| search "Azure"
| limit 10
// you can make it insensitive using a switch
AppDependencies
| search kind=case_sensitive "Azure"
| limit 10
// limit the search to specific tables. you can also write as AppDependencies | search "Azure"
search in (Alert, AppDependencies) "Azure"
| limit 10
// within a table, you can search a specific column for an exact value
AppDependencies
| search ResultCode=="200"
| limit 10
// search for the value anywhere in the text in the specified column
AppDependencies
| search DependencyType:"queue"
| limit 10
// search across all columns using wildcards. Anywhere in any column's text
AppDependencies
| search "*queue*"
| limit 5
// search all columns that begin with Azure then any text after it
AppDependencies
| search * startswith "Shanghai"
| limit 5
// search all columns that end with queue
AppDependencies
| search * endswith "queue"
| limit 5
// serch all columns that begin with Azure, ends with queue, anything in between I don't care
AppDependencies
| search "Azure*queue"
| limit 5
// searches can be combined logically
AppDependencies
| search "Azure*queue" and ("200" or "201")
| limit 10
// search supports regular expression
AppDependencies
| search ParentId matches regex "^[a-z]"
| limit 10