Leona
GitHubBlogs
  • Welcome to Leona!
  • Installation
    • Docker
    • Manual Setup
    • Log Collection
  • Tutorial
    • Quickstart
  • Configuration
    • Server Conf
    • Web Interface
    • Multi-Nodes
    • Index Model
    • Backup
    • The REST APIs
  • Security
    • Using ModSecurity
    • Logging User Activity
    • The URL Whitelist
    • Alerts And Events
  • Getting in
    • Log Sources
      • GELF
      • Beats
      • Ingest Logs Manually
        • Syslog
        • Journald
        • CEF
        • Raw or Plaintext
        • From Files
        • HTTP API
        • Application Data
      • Input
    • Sidecar
    • Forwarder
      • Forward Installation
      • Forward Configuration
  • Making sense
    • Pipelines
      • Rules
      • Functions
      • Use Cases
    • Streams
    • Enrichment
      • Lookup Tables
      • Geolocation
      • Data Adapters
  • Alerts & Notifications
    • Alerting By Example
    • Notifications
    • Leona Dashboard
  • Searching
    • Search Query Language
    • Time Frame Selector
  • Appendix
    • Support
    • License
    • Ecosystem
    • Contribute
    • Change Log
    • FAQs
Powered by GitBook
On this page
  • Syntax Support
  • Escaping
  • Error Types
  1. Searching

Search Query Language

🔎 LeonaLog Search Query

The Search syntax is very close to the Lucene syntax. By default, all message fields are included in the same search if you don't specify a message field to search in.

Syntax Support

  • Messages that include the term ssh

  • Messages that include the term ssh or login

  • Messages that include the exact phrase ssh login

  • Messages where the field type include ssh

  • Messages where the field type includes ssh or login

  • Messages where the field type includes the exact phrase ssh login

  • Messages that have the field type

  • Messages that do not have the field type

  • Messages that match the regular expression ethernet[0-9]+

  • By default, all terms or phrases OR connected so all messages that have at least one hit are returned. You can use Boolean operators and groups

Escaping

The following character must be escaped with a backslash:

& | : \ / + - ! ( ) { } [ ] ^ " ~ * ?

Example:

resource:\/posts\/45326

Error Types

When entering your queries be sure to look out for warnings and exceptions. If you enter a query leona won't understand, an icon with a yellow exclamation mark appears along with a message with the warnings or exceptions. They include:

  • Parse exception

  • Invalid operator

  • Unknown field

  • Parameter error

PreviousLeona DashboardNextTime Frame Selector

Last updated 2 years ago