Skip to content
LogoLogScale DocumentationFull Library Knowledge Base Release Notes Integrations Query Examples Training API GraphQL APISearch Archives Contacting Support
Help button for documentation
    • Data Analysis Overview
    • LogScale Web Interface
      • System Tabs and Falcon Icon
      • Navigation Icons
        • Notifications
        • Releases and Release Notes
        • Help
        • Avatar icon
      • Informational Panels
      • Left-hand Navigation Panel
      • Table Components
      • Repositories and Views
        • Repositories and Views Menubar
        • Search Interface
        • Dashboards Interface
        • Automation Interface
        • Parsers Interface
        • Resources Interface
          • Asset Type Interface Elements
        • Settings Interface
      • All Dashboards
      • Data Ingest
    • Manage Repositories and Views
      • Create Repository or View
      • Repository and View Settings
      • Falcon LTR Repositories
      • Lookup Files
      • Delete a Repository or View
    • Manage Account
    • Parse Data
      • Built-in Parsers
      • Custom Parsers
        • Create a Parser
        • Write a Parser
          • Example: Parsing Log Lines
          • Example: Parsing JSON
          • Parsers Validation Errors
          • Normalize and Validate Against CPS Schema
      • Manage Parsers
      • Ingest Tokens
      • Parser Errors
      • Removing Fields
      • Parsing Event Tags
      • Parsing Timestamps
    • Search Data
      • Query Editor
      • Event Fields
      • Display Fields
      • Select and Filter Fields
      • Add and Remove Fields
      • Display Results and Events
      • Inspect Events
      • Copy Rows
      • Look Up Events
      • Show in Context
      • Format Columns
      • Column Properties
      • Field Data Types
      • Field Interactions
      • Different Visualizations
      • Highlight Filter Match
      • Change Time Interval
      • Set Time Zone
      • Save Results
      • Export Data
      • Search Status
      • Event List Interactions
      • Query Prefix
      • Field Aliasing
        • Configuring Field Aliasing
        • Managing Field Aliasing
        • Searching with Field Aliasing
        • Understanding Field Mapping Requirements
        • Understanding Schema Requirements
    • Write Queries
      • Basic query principles
      • Returned events
      • Query management
        • Writing New Queries
        • Save searches
        • Grant Permissions for Saved Queries
        • Use Saved Queries in Interactions
      • Common Queries
      • Statement order for better queries
      • Query readability and better usage
    • Query Language Syntax
      • Comments
      • Query Filters
      • Operators
      • Adding Fields to Events
      • User Parameters/Variables
      • Conditional Evaluation
      • Array Syntax
      • Expressions
      • Saved Searches (User Functions)
      • Function Syntax
      • Time Syntax
        • Supported Time Zones
        • Relative Time Syntax
      • Regular Expression Syntax
        • Regular Expression Syntax Patterns
          • Unsupported Regular Expression Patterns
        • Regular Expression Flags
        • LogScale Regular Expression Engines
        • Differences from Other Regex Implementations
    • Query Joins and Lookups
      • Types of Join
      • Join Methods
      • Asset Resolution in Subqueries
      • Using Ad-hoc Tables
      • Using Lookup Files
        • Using the readFile() Function
        • Using the match() Function
      • Using join() or selfJoin()
        • Using the join() Function
        • Using the selfJoin() Function
        • Join Operation and Optimization
    • Query Functions
      • Aggregate Query Functions
      • Array Query Functions
      • Comparison Query Functions
      • Conditional Query Functions
      • Data Manipulation Query Functions
      • Event Information Query Functions
      • Filtering Query Functions
      • Formatting Query Functions
      • Geolocation Query Functions
      • Hash Query Functions
      • Join Query Functions
      • Math Query Functions
      • Network and Location Query Functions
      • Parsing Query Functions
      • Preamble Query Functions
      • Regular Expression Query Functions
      • Security Related Query Functions
      • Sequence Query Functions
      • Statistics Query Functions
      • String Query Functions
      • Time and Date Query Functions
      • Tranformation Query Functions
      • Widget Query Functions
      • accumulate()
      • array:append()
      • array:contains()
      • array:dedup()
      • array:drop()
      • array:eval()
      • array:exists()
      • array:filter()
      • array:intersection()
      • array:length()
      • array:reduceAll()
      • array:reduceColumn()
      • array:reduceRow()
      • array:regex()
      • array:rename()
      • array:sort()
      • array:union()
      • asn()
      • avg()
      • base64Decode()
      • base64Encode()
      • beta:param()
      • beta:repeating()
      • bitfield:extractFlags()
      • bitfield:extractFlagsAsArray()
      • bitfield:extractFlagsAsString()
      • bucket()
      • callFunction()
      • cidr()
      • coalesce()
      • collect()
      • communityId()
      • concat()
      • concatArray()
      • copyEvent()
      • correlate()
      • count()
      • counterAsRate()
      • createEvents()
      • crypto:md5()
      • crypto:sha1()
      • crypto:sha256()
      • default()
      • defineTable()
      • drop()
      • dropEvent()
      • duration()
      • end()
      • eval()
      • eventFieldCount()
      • eventInternals()
      • eventSize()
      • fieldset()
      • fieldstats()
      • findTimestamp()
      • format()
      • formatDuration()
      • formatTime()
      • geography:distance()
      • geohash()
      • getField()
      • groupBy()
      • hash()
      • hashMatch()
      • hashRewrite()
      • head()
      • if()
      • in()
      • ioc:lookup()
      • ipLocation()
      • join()
      • json:prettyPrint()
      • kvParse()
      • length()
      • linReg()
      • lower()
      • lowercase()
      • match()
      • math:abs()
      • math:arccos()
      • math:arcsin()
      • math:arctan()
      • math:arctan2()
      • math:ceil()
      • math:cos()
      • math:cosh()
      • math:deg2rad()
      • math:exp()
      • math:expm1()
      • math:floor()
      • math:log()
      • math:log10()
      • math:log1p()
      • math:log2()
      • math:mod()
      • math:pow()
      • math:rad2deg()
      • math:sin()
      • math:sinh()
      • math:spherical2cartesian()
      • math:sqrt()
      • math:tan()
      • math:tanh()
      • max()
      • min()
      • neighbor()
      • now()
      • objectArray:eval()
      • objectArray:exists()
      • parseCEF()
      • parseCsv()
      • parseFixedWidth()
      • parseHexString()
      • parseInt()
      • parseJson()
      • parseLEEF()
      • parseTimestamp()
      • parseUri()
      • parseUrl()
      • parseXml()
      • partition()
      • percentage()
      • percentile()
      • range()
      • rdns()
      • readFile()
      • regex()
      • rename()
      • replace()
      • reverseDns()
      • round()
      • sample()
      • sankey()
      • select()
      • selectFromMax()
      • selectFromMin()
      • selectLast()
      • selfJoin()
      • selfJoinFilter()
      • series()
      • session()
      • setField()
      • setTimeInterval()
      • shannonEntropy()
      • slidingTimeWindow()
      • slidingWindow()
      • sort()
      • split()
      • splitString()
      • start()
      • stats()
      • stdDev()
      • stripAnsiCodes()
      • subnet()
      • sum()
      • table()
      • tail()
      • test()
      • text:contains()
      • text:endsWith()
      • text:length()
      • text:positionOf()
      • text:startsWith()
      • text:substring()
      • time:dayOfMonth()
      • time:dayOfWeek()
      • time:dayOfWeekName()
      • time:dayOfYear()
      • time:hour()
      • time:millisecond()
      • time:minute()
      • time:month()
      • time:monthName()
      • time:second()
      • time:weekOfYear()
      • time:year()
      • timeChart()
      • tokenHash()
      • top()
      • transpose()
      • unit:convert()
      • upper()
      • urlDecode()
      • urlEncode()
      • wildcard()
      • window()
      • worldMap()
      • writeJson()
      • xml:prettyPrint()
    • Dashboards
      • Step-by-Step Guide to Dashboards
      • Create Dashboards
      • Manage Dashboards
      • Customize Dashboards
      • Design the Dashboard Layout
        • Dashboard Sections
      • Work with Time on Dashboards
        • Shared Time Selector
        • Widget Time Selector
        • Section Time Selector
        • Live Dashboards
        • Time Zone Settings
        • Default Time Settings for Dashboards
      • Make your Dashboard Interactive
        • Apply Dashboard Filters
        • Work with Dashboard Parameters
        • Work with Dashboard Interactions
      • Share Dashboards
        • Disabling Access to Shared Dashboards
        • Restricting Access with IP Filters
      • Export Dashboards as PDF
        • PDF Export Options
      • Schedule PDF Reports
        • Scheduled Reports Security
        • Managing Scheduled Reports
        • Create Scheduled Reports
        • Edit Scheduled Reports
        • Scheduled Report Operation and Limitations
        • Scheduled Report Errors and Resolutions
    • Automation
      • Triggers
        • What trigger type to choose
        • General information about triggers
        • Trigger management
          • Create triggers
          • Edit triggers
          • Manage triggers
        • Trigger properties
          • General properties
          • Configuration
          • Actions
          • Advanced settings
          • Scheduled search properties
        • Monitor, diagnose, and troubleshoot triggers
          • Monitor Triggers with humio-activity Repository
          • Aggregate alert errors and solutions
          • Scheduled search errors and solutions
          • Filter alert errors and solutions
          • Legacy alert errors and solutions
          • Errors when Using Live join() Functions
      • Actions
        • Create Actions
        • Manage Actions
        • Action Type: Email
        • Action Type: Falcon LogScale Repository
        • Action Type: OpsGenie
        • Action Type: PagerDuty
        • Action Type: Slack
        • Action Type: Upload File
        • Action Type: VictorOps (Splunk On-Call)
        • Action Type: Webhooks
        • Send aggregate results to actions
        • Message Templates and Variables
      • Cron Scheduling
    • Template Language
      • Template Expressions
      • Template Variable Types
      • Template Examples
    • Keyboard Shortcuts
Falcon LogScale Documentation
/ Data Analysis 1.202.0-1.208.0
/ Search Data

Query Editor

The LogScale Query Editor is the primary interface for searching and analyzing data stored in LogScale repositories. It provides a robust and flexible environment for constructing complex queries using the CrowdStrike Query Language (CQL).

Search in the Query Editor

Figure 84. Search in the Query Editor


The Query Editor is fully editable, allowing you to iteratively refine your queries. It supports the following key features:

Feature Category Feature Description
Search and Querying Free-text searches The most basic query to search for a particular string across all fields
Filtering by specific fields leveraging CQL Query on specific event fields, both as text and numeric values, to narrow down results
Regular expressions Perform advanced pattern matching on field values, see Regular Expression Syntax
Chained multiple expressions Combine multiple expressions using the pipe (|) operator for complex, multi-step searches
Query Editing and Formatting Comments Inline comments to improve readability and maintainability of queries

Code folding

Collapse or expand sections of complex, multi-line queries to focus only on the query portion you're actively editing. The feature applies to any function and it is particularly useful for correlate() or defineTable(), see Figure 87, “Query Editor code folding”

Auto-indentation

Queries are automatically formatted with indentation as you type

Bracket matching and error highlighting

Visual cues to identify non-printable characters, matching brackets, parentheses, and braces, reducing syntax errors
Query Assistance Auto-completion Provides suggestions to help discover available fields, functions, and other query elements as you type
Descriptions of query items while typing Displays descriptions of fields, functions, and other elements to understand the query components, see Figure 85, “Items described in the Query Editor”
Editor Usability Single or multi-line queries Format queries across multiple lines to enhance readability. To create a new line, use Shift+Enter (see Keyboard Shortcuts for more shortcuts)
Copy & Paste Support mouse-based and keyboard shortcuts for copying and pasting
Keyboard shortcuts Easily navigate and perform actions, see Keyboard Shortcuts for the full list of available LogScale shortcuts
CQL Support Query functions and aggregations support Rich set of functions and aggregations to transform, group, and analyze search results, see Query Functions
Code Assistance Code snippets Pre-built code snippets for common query patterns and functions, such as correlate(), available through tabbing: this reduces manual syntax typing and the effort required to construct complex queries, see Figure 86, “Query Editor features”
Visual feedback on errors Displays red lines under any syntax errors in the query, to identify and fix issues easily
Items described in the Query Editor

Figure 85. Items described in the Query Editor


This short video shows auto-completion, auto-indentation and code snippet features:

Figure 86. Query Editor features


A video showcasing the code folding feature:

Figure 87. Query Editor code folding


For guidelines on constructing LQL queries including basic principles, query management, and best practices, see Write Queries.

For more advanced information about the LogScale Query Language (LQL), see Query Language Syntax.

Support
  • Twitter
  • LinkedIn
  • Youtube

© 2025 CrowdStrike All other marks contained herein are the property of their respective owners.

  • Related KB Articles

    • FAQ: Input Locked to Search Field when using Tab
    • Troubleshooting: ANSI Escape Codes Trigger a Warning

Enter search term