---
title: Log View Search Criteria Tab – Default Search, Restrictions, and Optional Fields | Nodinite
description: "Configure the Search criteria tab of a Nodinite Log View: the time range users may search, hidden Restrictions, the default search setup, optional fields, Auto Start Search, and which Search Field values the Log View shows."
---

# <i class="fal fa-magnifying-glass-plus" aria-hidden="true"></i> Log View Search Criteria Tab

The **Search criteria** tab is the second of five tabs when you [add or manage a Log View][Add or Manage Log View]. It decides **what users search on**, and what they can never see. Business users get the most from a [Log View][Log Views] when it opens with the one field they know, such as an order number, while [Restrictions][Restrictions anchor] quietly keep everything else out of scope.

![Add Customer ID to the default search setup of a Log View, then search one customer's orders, animated walkthrough (7.13)][6]  
*Animated walkthrough: two fields in the default search setup, and the search panel users get.*  

1. Open the **Search criteria** tab. Here the **Default search setup** holds *O2C - Order ID* only.
2. Click **Edit** on **Default search setup**, then **Add new clause**.
3. Pick the field *O2C - Customer ID* and the operator **=**. Leave the value empty: users type it.
4. Click **Confirm and close**, then **Save and show**. The search panel shows exactly the two fields.
5. Type *CUST-002* in **O2C - Customer ID** and click **Search**. The result lists that customer's orders, with the Customer ID column filled.

## <i class="fal fa-sitemap" aria-hidden="true"></i> Understanding the Search criteria tab

<div class="mermaid">
graph LR
    TI["fa:fa-chess-clock Time Interval Configuration<br/>how far back users may search"] --> Q["fa:fa-magnifying-glass Search the user runs"]
    RE["fa:fa-ban Restrictions<br/>hidden, always applied"] --> Q
    DS["fa:fa-search Default search setup<br/>fields shown first"] --> Q
    OF["fa:fa-magnifying-glass-plus Optional fields<br/>fields users may add"] --> Q
    Q --> R["fa:fa-list Result"]
    style RE fill:#c33d34,color:#fff
    style DS fill:#3F827B,color:#fff
    style OF fill:#3F827B,color:#fff
    style TI fill:#2678BD,color:#fff
    style Q fill:#E47528,color:#fff
</div>

*[Users][] see and change the default search setup and the optional fields (teal) within the time range (blue); the Restrictions (red) apply to every search, and users can't see their values or change them.*

|Area|What it does|Visible to users|
|---|---|---|
|<i class="fal fa-chess-clock" aria-hidden="true"></i> [Time Interval Configuration](#fa-chess-clock-time-interval-configuration)|The time ranges users may pick|✅ Yes|
|<i class="fal fa-ban" aria-hidden="true"></i> [Restrictions](#fa-ban-restrictions)|Filters every search|❌ No: users can't see or change the value|
|<i class="fal fa-search" aria-hidden="true"></i> [Default search setup](#fa-search-default-search-setup)|The fields, operators, and values a search starts with|✅ Yes|
|<i class="fal fa-magnifying-glass-plus" aria-hidden="true"></i> [Optional fields](#fa-magnifying-glass-plus-optional-fields)|More fields users may add|✅ Yes|
|<i class="fal fa-play" aria-hidden="true"></i> [Auto Start Search](#fa-play-auto-start-search)|Runs the search when the Log View opens|✅ Yes|

![Search criteria tab with Time Interval Configuration, Restrictions, Default search setup, Optional fields, and Auto Start Search (7.12)][1]  
*The options of the Search criteria tab.*  

For how users run a search, see [How to perform a Search][GS Log Search].

## <i class="fal fa-eye" aria-hidden="true"></i> Which Search Field values users see

Add every field users need to see. A Log View shows the values of the [Search Fields][] it **includes**: those in the **Default search setup**, the **Optional fields**, the **Group by** fields ([Grouping tab][Log View Grouping Tab]), and the columns of the [Display result tab][Log View Display Result Tab].

* A field used only in a **Restriction** filters the events, but its value stays hidden.
* For a field the Log View doesn't include, a user sees nothing: the field isn't listed on the event's **Search Field Values** tab. An administrator sees the field marked **Hidden**, without its value. Only the built-in [Admin view][Log Views list] shows every value.

The [System Parameter][System Parameters] [HideSearchFieldValuesInLogViews][] (default `true`) controls this, and [HideAdditionalFieldValuesInLogViews][] can hide or mask built-in event fields. The full rule, with seven walkthroughs, is in [Which Search Field Values a Log View Shows][].

## <i class="fal fa-chess-clock" aria-hidden="true"></i> Time Interval Configuration

Assign a [Time Interval Configuration][Time Interval Configurations] to set the time ranges users may pick when they search.

![Time Interval Configuration dropdown on the Search criteria tab with the placeholder Select a Time Interval Configuration (7.12)][2]  
*Select the [Time Interval Configuration][Time Interval Configurations] to use with the [Log View][Log Views].*  

Once a configuration is selected, quick access links above the dropdown open the selected configuration or **Add New** to create one; see the [example on What is a Time Interval Configuration][What is a Time Interval Configuration - Example].

* **Without a configuration**, users get a free date range: a date picker with presets such as *Today*, *Last 7 Days*, and *Last 365 Days*. It starts on today.
* **With a configuration**, users pick one of its ranges from a dropdown, starting on the first. They can switch to a free date range only when the configuration allows detailed time search.

![Pick the Time Interval Configuration Contoso: Order follow-up, then open the time range in the Log View, animated walkthrough (7.12)][7]  
*Animated walkthrough: the Log View offers the four ranges of the configuration, and no free date range.*  

1. On the **Search criteria** tab, pick the Time Interval Configuration *Contoso: Order follow-up* (last hour, day, week, and month).
2. Click **Save and show**.
3. Open the time range in the Log View. It lists the configuration's four ranges, and nothing else, because this configuration doesn't allow detailed time search.

## <i class="fal fa-ban" aria-hidden="true"></i> Restrictions

Restrictions limit the events the Log View can ever return, for example to one customer or one environment.

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p><a href="https://docs.nodinite.com/administration/access-management/users/features/what-is-a-user/">Users</a> can't see the value of a Restriction or change it, and they can't get around it by changing the other search options.</p></div>
</aside>

1. On the **Search criteria** tab, click **Edit** on the **Restrictions** card. **Assign restrictions** opens for the Log View.
2. Click **Add new clause**, and pick the **Field**, the **Operator**, and the **Value**, for example *O2C - Customer ID* **=** *CUST-004*. Combine several clauses with **And/Or**, and group them with **Add new bracket**.
3. Click **Confirm and close**, then **Save and show**.
4. The search panel shows only the default search setup. Search without a value: the result holds only that customer's orders, and the *O2C - Customer ID* column reads **N/A** on every row.

![Restrict a Log View to the customer CUST-004, then search: only that customer's orders, with the Customer ID column at N/A, animated walkthrough (7.13)][8]  
*Animated walkthrough: from an empty Restrictions card to a Log View that only ever returns one customer's orders.*  

The **N/A** column is by design. With **Display result** on **Default**, a field used in a Restriction becomes a column, but its values are never shown, so users don't learn what the administrator restricted on.

The dialog works like the search panel in [Advanced mode][GS Log Search]. Its **Field** list offers every [Search Field][Search Fields], the built-in [Log Event][] fields ([Log Status Code][Log Status Codes], [Message Type][Message Types], **Endpoint Name**, [Direction][Endpoint Directions], **Log Text**, and the others), and the [Comment][Comments] fields. To limit a Log View to [Repository Model][] items, such as [Endpoints][], [Systems][], or [Integrations][], use the [Data to search tab][Log View Data to Search Tab] instead.

A Restriction doesn't make its field's value visible, and it doesn't hide it either. To show the value, also add the field to the **Default search setup**, the **Optional fields**, or a column; then its values show as usual.

![A Log View restricted to Customer ID CUST-001 returns only that customer's events, yet Customer ID shows Hidden in the details, animated walkthrough (7.13)][4]  
*Animated walkthrough: the Restriction filters on the customer, but the customer's value stays hidden.*  

## <i class="fal fa-search" aria-hidden="true"></i> Default search setup

The default search setup decides which [Search Fields][] the search panel shows, with the operator and value each starts with. When it has two fields, users see only those two, and type a value. A clause without a value is left out of the search, so an empty field doesn't filter. The walkthrough at the top of this page adds a second field.

Check **Collapse display** on the card to show the search fields panel collapsed when the Log View opens.

![Default search setup dialog with the clause O2C - Order ID = and the options button at the end of the row (7.12)][3]  
*The default search setup of the Log View: users search on the order number.*  

## <i class="fal fa-magnifying-glass-plus" aria-hidden="true"></i> Optional fields

Optional fields are more fields users may add to their search. The **Optional fields** picker offers every [Search Field][Search Fields], 26 built-in [Log Event][] fields, and the Comment fields (**Text**, **Latest Text**, **Created**, and **Created By**). Built-in fields you may want include:

* **Log Status Code** - Whether processing went fine; for example, 0 is OK in BizTalk. See [Log Status Codes][].
* **Sequence Number** - The number of a step in a run, when you know exactly which event to get.
* **Log text** - The text logged with the event, to narrow down the result.

An Optional field's value shows in the event details. It also gets a column in the result list (with **Display result** on **Default**) and shows its values from the first search; users may also add it to their search. To control the columns yourself, use the [Display result tab][Log View Display Result Tab].

![Add Contoso: Order Total as an Optional field, search on the order number and see its column filled, then also search on it in Advanced mode, animated walkthrough (7.13)][5]  
*Animated walkthrough: the Optional field's column shows its values from the first search, and users may also search on it.*  

1. On the **Search criteria** tab, click **Edit** on **Optional fields**.
2. Tick *Contoso: Order Total*, click **Confirm and close**, then **Save and show**.
3. In the Log View, type *ORD-10001* in **O2C - Order ID** and click **Search**. The Order Total column shows the order's total, though the search doesn't use the field.
4. To search on the field too, switch on **Advanced mode** and click **Add new clause**.
5. Pick the field *Contoso: Order Total* and the operator **Not Empty**, and click **Search**. The search now uses the Optional field: only the events that have an order total are left.

## <i class="fal fa-play" aria-hidden="true"></i> Auto Start Search

When checked, the search runs as soon as the Log View opens, with the values of the default search setup over the starting time range (see [Time Interval Configuration](#fa-chess-clock-time-interval-configuration)). Clauses without a value are left out, so an empty default search setup lists every event in that range.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-layer-group" aria-hidden="true"></i> [Log View Data to Search Tab][] - Which events are in scope  
* <i class="fal fa-hard-drive" aria-hidden="true"></i> [Add or Manage Log View][] - All five tabs  
* <i class="fal fa-magnifying-glass" aria-hidden="true"></i> [Add or manage Search Field][] - Make a business value searchable  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-hard-drive" aria-hidden="true"></i> [What is a Log View?][Log Views]  
* <i class="fal fa-circle-info" aria-hidden="true"></i> [Log View General Tab][]  
* <i class="fal fa-columns" aria-hidden="true"></i> [Log View Display Result Tab][]  
* <i class="fal fa-list" aria-hidden="true"></i> [Log View Grouping Tab][]  
* <i class="fal fa-search-dollar" aria-hidden="true"></i> [Search Fields][]  
* <i class="fal fa-chess-clock" aria-hidden="true"></i> [Time Interval Configurations][]  
* <i class="fal fa-eye-slash" aria-hidden="true"></i> [Which Search Field Values a Log View Shows][]  
* <i class="fal fa-eye-slash" aria-hidden="true"></i> [HideSearchFieldValuesInLogViews][]  
* <i class="fal fa-magnifying-glass" aria-hidden="true"></i> [Working with Log Views][GS Log Search]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Log/LogViews/SearchSetupTab.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Log/LogViews/TimeLimitConfiguration.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Log/LogViews/DefaultSearchCriteria.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Log/LogViews/LogView_SearchFieldVisibility_Restriction.gif
[5]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Log/LogViews/LogView_OptionalField.gif
[6]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Log/LogViews/LogView_DefaultSearchSetup.gif
[7]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Log/LogViews/LogView_TimeInterval.gif
[8]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Log/LogViews/LogView_Restriction.gif

[Add or Manage Log View]:https://docs.nodinite.com/administration/log-management/log-views/features/add-or-manage-log-view/
[Add or manage Search Field]:https://docs.nodinite.com/administration/log-management/search-fields/features/add-or-manage-search-field/
[Comments]:https://docs.nodinite.com/getting-started/log/comments-for-logged-messages/
[Endpoint Directions]:https://docs.nodinite.com/core-services/log-event/features/endpoint-directions/
[Endpoints]:https://docs.nodinite.com/repository-model/endpoints/overview/
[GS Log Search]:https://docs.nodinite.com/getting-started/log/search-a-log-view/
[HideAdditionalFieldValuesInLogViews]:https://docs.nodinite.com/administration/settings/system-parameters/hideadditionalfieldvaluesinlogviews/
[HideSearchFieldValuesInLogViews]:https://docs.nodinite.com/administration/settings/system-parameters/hidesearchfieldvaluesinlogviews/
[Integrations]:https://docs.nodinite.com/repository-model/integrations/overview/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Status Codes]:https://docs.nodinite.com/administration/log-management/log-agents/features/what-is-a-log-status-code/
[Log View Data to Search Tab]:https://docs.nodinite.com/administration/log-management/log-views/features/log-view-data-to-search-tab/
[Log View Display Result Tab]:https://docs.nodinite.com/administration/log-management/log-views/features/log-view-display-result-tab/
[Log View General Tab]:https://docs.nodinite.com/administration/log-management/log-views/features/log-view-general-tab/
[Log View Grouping Tab]:https://docs.nodinite.com/administration/log-management/log-views/features/log-view-grouping-tab/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Log Views list]:https://docs.nodinite.com/administration/log-management/log-views/overview/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[Repository Model]:https://docs.nodinite.com/repository-model/overview/
[Restrictions anchor]:#fa-ban-restrictions
[Search Fields]:https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[Systems]:https://docs.nodinite.com/repository-model/systems/overview/
[Time Interval Configurations]:https://docs.nodinite.com/administration/customize/time-interval-configurations/features/what-is-a-time-interval-configuration/
[Users]:https://docs.nodinite.com/administration/access-management/users/features/what-is-a-user/
[What is a Time Interval Configuration - Example]:https://docs.nodinite.com/administration/customize/time-interval-configurations/features/what-is-a-time-interval-configuration/#real-world-example
[Which Search Field Values a Log View Shows]:https://docs.nodinite.com/administration/log-management/log-views/features/which-search-field-values-a-log-view-shows/