Skip to main content
Version: 6.2

Search

Search Anywhere Concept​

Search Anywhere lets you search multiple data sources in a single query. This provides access to information in databases, event logs, and text documents without switching between interfaces.

Search Anywhere concept

Note

You can search for a data fragment even if you do not know which field contains it. Search across all fields or specify broad search parameters.

Data Stores​

Search Anywhere Framework supports different types of data stores, including Search Anywhere Data Storage, ClickHouse, and Hadoop. Search Anywhere Data Storage is used for search and analytics, ClickHouse for analytical queries, and Hadoop for distributed storage and processing of large data volumes. Choose a data store according to the project requirements.

Data store types

Indexes and Index Templates​

Search Anywhere Framework search queries use indexes and index templates. Indexes organize data for fast access and processing.

Index templates define index structures and parameters. They help keep indexes consistent and simplify system administration.

Search Component​

The Search component in the Core module is used to write queries in Search Anywhere Framework Language (SAFL).

The search page contains a query field, a results panel, and query history.

Use the time filter to select the time range.

Search page

The search interface supports autocomplete and suggestions, saving and reusing queries, and analyzing results.

Search query

You can filter, sort, and visualize results. Queries can also be saved and reused.


Convenience of Working with Search Queries​

The search interface runs queries and displays the results in the results panel. Enter a query in New Search and select Refresh. If the query is valid, its results appear in the panel.

Above the results panel, a brief summary of the search query execution is displayed:

  • the number of results returned by the query
  • query execution time
  • the time range covered by the results

Simple search

Stage durations, processed document counts, and storage metrics are described in Query Execution Statistics.

The time filter above the results panel specifies the search time range.

To stop a running query, select the stop button on the toolbar next to the time filter.

For details on using search, see Search Queries.


Visualizations​

Search results can be analyzed using Timeline and Field bar visualizations.

Timeline and Field bar

Timeline​

Timeline is a chart showing how search results are distributed over time. It helps identify trends, activity peaks, and anomalies.

Field Bar​

Field bar shows the distribution of results across the values of a selected field and the number of results for each value.

Rarely Occurring Values​

Fields whose values occur less often than the specified threshold are not shown in the field bar. Configure the threshold in the cluster settings at _cluster/settings.

NameDescriptionDefault Value
sme.core.field_threshold_percentThe minimum percentage of documents in which a field must appear for it to be displayed in the field bar.0.1
sme.core.field_threshold_sample_sizeThe number of documents on each shard used to calculate rare values.5000
info

If field_threshold_percent is set to 0, rare values are not calculated.

Visualization of Search Results​

To visually represent the results of a query, you can use the Visualization tab on the results panel.

The visualization type is shown on the left side of the settings panel. In the image below, the default Table type displays query results in a table.

Visualization table

To change the visualization type, select the button showing the current type and choose another option.

The following types of visualizations are available:

  • Table
  • Column Chart
  • Line Chart
  • Pie Chart
  • Single Value Metric
  • Heatmap
  • Tree Map
  • Quick State
  • Map Visualization
  • Trace Timeline

For more detailed information on how to use visualization features, please refer to the Visualizations section.