I suspect it has more to do with how graylog tells elasticsearch to index
those fields.  Timestamp searches are always a bit hairy due to how
timestamps are stored, how locale/TZ settings affect the displays, etc.
I've never had the need to include a timestamp search that couldn't be
easily produced by dragging the selection bars within the graphical display
of the data, anyway.

I think your best bet is to split that one big text section you're
currently using into separate extracted fields.  Use the original regexp as
the control test, the one that decides if a particular log line is going to
be further inspected for the matching field.



On Sun, Nov 22, 2015 at 2:32 PM, Jason Haar <[email protected]> wrote:

> On 23/11/15 04:52, Joi Owen wrote:
>
>
> Also note that message, full_message, and source are the only fields that
> can be searched via wildcard by default."
>
> I find that if I extract fields that are single words, I can search for
> them by exact match, and oddly, I am able to do a field match with a
> trailing *, but not a leading one, and not a subset of the word.  Ie I can
> do exact match, and 'starts with' but nothing else on my extracted field.
>
>
> Yeah that's what I'm thinking too. I'd love to hear precisely what are the
> search options. To formalize what you're saying, it looks to me like
> graylog can only search under the following constraints:
>
> 1. "message" field is "special" and supports wildcards and pseudo-regex
> 2. timestamp is handled outside the search bar
> 3. any other field must be a precise match  - although you say you can
> wildcard the end of it (I haven't tested myself because frankly it's pretty
> useless to me)
>
> I'm guessing this is really an elasticsearch limitation? Is there any way
> for graylog to tell elasticsearch to treat certain other fields the same
> way as the "message" field? (or at least to match on substrings). If so, it
> could be exposed via the extractor wizard - eg add "allow substring
> matches" as a drop-down option?
>
> --
> Cheers
>
> Jason Haar
> Corporate Information Security Manager, Trimble Navigation Ltd.
> Phone: +1 408 481 8171
> PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1
>
> --
> You received this message because you are subscribed to the Google Groups
> "Graylog Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/graylog2/56522663.8030709%40trimble.com
> <https://groups.google.com/d/msgid/graylog2/56522663.8030709%40trimble.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried. Anything
that kicks a monopoly in the pants has got to be good for something.
- Chris Johnson

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/CAL5rfGUjjJd4sGWGb6p7PtM9wy_F%2BN6wPCtW1HuO4d6iy73e2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to