From 593e2e45485f28ec6b5c2839c92fe750fb5e6e1e Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Fri, 11 Jan 2013 11:24:19 +0100 Subject: [PATCH] Updated Search documentation --- doc/searching.html | 40 +++++++++++++++++++++++++--------------- 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/doc/searching.html b/doc/searching.html index 6bc4643..4be4163 100644 --- a/doc/searching.html +++ b/doc/searching.html @@ -38,26 +38,36 @@ type will be combined with AND for the simple reason, if you want to exclude "Search1" and "Search2", you want that both are excluded, and one or the other.

Below you will see how the syntax looks like:

-

 

Number Fields

+

+ +

Additionally some Logstream sources support REGEX Searches when supported native. Currently the MySQL LogStream and PDO Logstream (MySQL and PostGRESQL only) support REGEX searches. To use REGEXP in searches, prepend the search phrase with the ~ character. See the samples below: +

+

Search samples with REGEX support:

+

+ +

Number Fields

Number fields work similar to string fields, except that there are partially matches, and the search value obviously must be a number. There are a few exceptions where you can use string representations instead of numbers, but these will be explained later.

Below you will see how the syntax looks like:

 

Date Field

@@ -71,8 +81,8 @@ last hour (filter value 1), last 12 hours (filter value 2), last 24 hours 5).

 

Message Field