Directly query logs and spans in your S3 archive from your **Explore Screen**. Using text-based queries or specific query languages such as DataPrime or Lucene, you may query your data irrespective of its priority or timeframe and regardless of your daily quota - all with the ease of familiar functionalities.

## Overview

Query the data in your S3 archive directly from your [Explore screen](https://coralogix.com/docs/user-guides/monitoring-and-insights/logs-screen/logs-in-explore-screen/index.md).

Use this feature to:

- Query your archive in the Coralogix UI using [any text](https://coralogix.com/docs/user-guides/data-query/log-query/log-query-simply-retrieve-your-data/#free-text-search) or [Lucene](https://coralogix.com/docs/user-guides/data-query/log-query/log-query-simply-retrieve-your-data/#lucene-query-syntax-reference) or [DataPrime](https://coralogix.com/docs/dataprime/introduction/welcome-to-the-dataprime-reference/index.md) syntax query, irrespective of log priority or daily quota.
- Enjoy various data sources. Using [DataPrime](https://coralogix.com/docs/dataprime/introduction/welcome-to-the-dataprime-reference/index.md), you may query logs or spans.
- Query data with unlimited time frames. There are no restrictions on how far back in time your data can go.
- View query results alongside live data streams and with the use of familiar functionalities.
- Store more of your data in our [Monitoring](https://coralogix.com/docs/user-guides/account-management/tco-optimizer/#features-by-priority-level) and [Compliance](https://coralogix.com/docs/user-guides/account-management/tco-optimizer/#features-by-priority-level) priority levels, while maintaining interactive query times and saving on costs.

## Prerequisites

- Read/ Write permissions enabled in your [AWS S3 bucket](https://coralogix.com/tutorials/archive-s3-bucket-forever/)

## Getting started

1.

From your Coralogix toolbar, navigate to **Explore** > **Logs** tab.

2.

Select **Archive** the upper left-hand corner of your Logs screen.

3.

Select **CX-Data** in the dropdown menu.

## Explore screen functionalities

### Query

[Query](https://coralogix.com/docs/user-guides/monitoring-and-insights/logs-screen/logs-in-explore-screen/index.md) using [any text](https://coralogix.com/docs/user-guides/data-query/log-query/log-query-simply-retrieve-your-data/#free-text-search) or [Lucene](https://coralogix.com/docs/user-guides/data-query/log-query/log-query-simply-retrieve-your-data/#lucene-query-syntax-reference) or [DataPrime](https://coralogix.com/docs/dataprime/introduction/welcome-to-the-dataprime-reference/index.md) syntax query.

### Filter

[Filter](https://coralogix.com/docs/user-guides/monitoring-and-insights/logs-screen/logs-in-explore-screen/index.md) your logs using application, subsystem, and severity filters.

### Manage settings

Manage your settings by clicking on **SETTINGS** in the upper right-hand corner of your screen.

Select **ACTIONS** to trigger 3rd party services based on your search results and / or values under specific keys. Find out more [here](https://coralogix.com/docs/user-guides/data_exploration/custom_actions/index.md).

## Limitations

The following limitations on Explore Screen archive queries are described below.

| Limitation            | Description                                                                                                                                                                                                                                                                                      |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Bytes processed       | Up to 30% of daily ingested bytes                                                                                                                                                                                                                                                                |
| Parquet files scanned | Up to 500,000 files                                                                                                                                                                                                                                                                              |
| Total log results     | 2,000 default 30,000 using `limit <value>` 5,000 with frequent search analytical query (i.e. aggregation) 15,000 frequent search exploratory query (non-aggregation)                                                                                                                             |
| Exported log results  | Up to 2,000 results. Exporting the data in the logs grid from an archive query is limited to the top 20 pages (100 logs per page), so you can export a max of 2000 logs at a time. In order to export all archive query logs, create an archive query by navigating Data Flow > Archive Queries. |
| Ordering              | Archive query ordering is guaranteed only for up to 10,000 results.                                                                                                                                                                                                                              |

Note

- You may incur slight delays when querying archived data, when compared with other Explore screen queries.
- It is possible to use the same query syntax as queries run in [Background Queries](https://coralogix.com/docs/user-guides/data-query/background-queries/index.md)

See the [limitations](https://coralogix.com/docs/dataprime/API/limitations/#background-query-limitations) page for a comprehensive list of query limitations.

### Warnings

Once a limit is reached, a warning message is displayed. Refine your query results to avoid reaching a limit.

## Refine your query results

Refine your query results using any of the following methods:

- Apply more selective filters to your queries (for example, on application or subsystem).
- If using the DataPrime extract operator and subsequently filtering its results, create a parsing rule and filter on the parsed field instead.
- Avoid regular expressions or wildcards in filters.
- In DataPrime, switch from using the contains operator on strings to the free text search operator (~).

## Support

**Need help?**

Our world-class customer success team is available 24/7 to walk you through your setup and answer any questions that may come up.

Feel free to reach out to us **via our in-app chat** or by sending us an email at [support@coralogix.com](mailto:support@coralogix.com).
