---
name: cloud-logs-query-data-dataprime
title: Querying data by using DataPrime
description: In IBM Cloud Logs, you can search log data by using DataPrime.
last-updated: 2025-10-20
---

> ## Documentation Index
> The table of contents for this documentation set is at https://cloud.ibm.com/docs/cloud-logs?format=markdown
> The index for all IBM Cloud docs is at: https://cloud.ibm.com/docs/llms.txt
> Use these files to discover more information as needed.

# Querying data by using DataPrime
{: #query-data-dataprime}

In IBM Cloud Logs, you can search log data by using DataPrime.
{: shortdesc}

Dataprime is an advanced query language that filters, transforms, and aggregates data by using commands that are combined by using the pipe (`|`) operator and applied sequentially.

Use Dataprime queries to filter, transform, and aggregate data by using commands that help you manipulate log records with a language that offers full expression support similar to programming languages.

Searching can be used in conjunction with [filtering](https://cloud.ibm.com/docs/cloud-logs?topic=cloud-logs-query-data-filter&format=markdown) and [limiting by time](https://cloud.ibm.com/docs/cloud-logs?topic=cloud-logs-query-data-time&format=markdown).
{: tip}


You can query logs from the Explore screen:

1. [Launch the IBM Cloud Logs UI.](https://cloud.ibm.com/docs/cloud-logs?topic=cloud-logs-instance-launch&format=markdown#instance-launch-cloud-ui)

## Using DataPrime
{: #use-dataprime}

1. Use the **< > Lucene**/**< > DataPrime** switch to change the search type to **DataPrime**.

2. In the search field specify your search in DataPrime format.

3. Click the arrow at the end of the field run your query.

If you are searching in Priority insights and you are not seeing the data you expect, see [Why am I not seeing results from my Priority insights searches?](https://cloud.ibm.com/docs/cloud-logs?topic=cloud-logs-ts-mapping-exceptions&format=markdown).
{: tip}


You can clear all filters and queries by clicking **Reset**.


Once you have your view with the log records you want to see by using filters or searches, you can save the view for future use.

To save a view:

1. Click **Unsaved View**.

2. Enter the name for your view.

3. Optionally indicate if you want to save the query and filters as part of the view.

4. Optionally indicate if you want the view set as your default view when opening IBM Cloud Logs

5. Select if you want the view to be private to you or shared with other users.

6. Click **SAVE** to save your view.