---
title: "Work with Collected Data"
description: "Learn how to search data collected by Auditor in Splunk by index or CIM data model, with example searches for user account creation and deletion events."
sidebar_position: 20
---

# Work with Collected Data

Review the following examples for scenarios on how to work with collected data.

## Search by Index

To search by index:

**Step 1 –** Navigate to the **Search** page of the add-on or **Search & Reporting** Splunk app

**Step 2 –** Enter the search command:

```
index=<your_netwrix_index>
```

for example:

```
index=netwrix_index
```

**Step 3 –** Press the **Last 24 hours** button and choose the **All time** range.

**Step 4 –** Press the search button; you should see list of the events indexed in Splunk.

**Step 5 –** Click the arrow button next to any of the returned event to expand the list of
parsed fields and confirm that fields are populated properly.

> If you don't see any fields, ensure that you are running the search in Smart or Verbose mode.

## Use Index Search and Netwrix Auditor Fields

The following example shows how to get all user account creation events.

**Step 1 –** Navigate to the **Search** page of the add-on or **Search & Reporting** Splunk app

**Step 2 –** Enter the search command:

```
index=netwrix_index Action=Added ObjectType=user
| table Who Action ObjectType What Where
```

**Step 3 –** Press the **Last 24 hours** button and choose the **All time** range.

**Step 4 –** Press the search button.

## Search by CIM Data Model

To search by data model:

**Step 1 –** Navigate to the **Search** page of the add-on or **Search & Reporting** Splunk app

**Step 2 –** Enter the search command:

```
| datamodel <data_model_name> search
| search sourcetype=netwrix
```

for example:

```
| datamodel Authentication search
| search sourcetype=netwrix
```

**Step 3 –** Press the **Last 24 hours** button and choose the **All time** range.

**Step 4 –** Press the search button; you should see list of the events indexed in Splunk
and mapped to the selected data model.

**Step 5 –** Click the arrow button next to any of the returned event to expand the list of
parsed fields and confirm that fields are populated properly.

## Use CIM Data Model Search and Data Model Fields

The following example shows how to get all events for account deletion.

**Step 1 –** Navigate to the **Search** page of the add-on or **Search & Reporting** Splunk app

**Step 2 –** Enter the search command:

```
| datamodel Change search
| search sourcetype=netwrix All_Changes.action=deleted
| table All_Changes.vendor_product All_Changes.action All_Changes.src All_Changes.dest All_Changes.user All_Changes.object All_Changes.object_attrs
```

**Step 3 –** Press the **Last 24 hours** button and choose the **All time** range.

**Step 4 –** Press the search button.
