doc/source/example/reference/regular_expression/choice.log
raw| 1 | Execution example:: |
| 2 | |
| 3 | select Logs --filter 'message @~ "warning|info"' |
| 4 | # [ |
| 5 | # [ |
| 6 | # 0, |
| 7 | # 1337566253.89858, |
| 8 | # 0.000355720520019531 |
| 9 | # ], |
| 10 | # [ |
| 11 | # [ |
| 12 | # [ |
| 13 | # 2 |
| 14 | # ], |
| 15 | # [ |
| 16 | # [ |
| 17 | # "_id", |
| 18 | # "UInt32" |
| 19 | # ], |
| 20 | # [ |
| 21 | # "message", |
| 22 | # "Text" |
| 23 | # ] |
| 24 | # ], |
| 25 | # [ |
| 26 | # 2, |
| 27 | # "host1:[warning]: Remained disk space is less than 30%" |
| 28 | # ], |
| 29 | # [ |
| 30 | # 5, |
| 31 | # "host2:[info]: Shutdown" |
| 32 | # ] |
| 33 | # ] |
| 34 | # ] |
| 35 | # ] |