---
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."
---

# :fa-magnifying-glass-plus: 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.

## :fa-sitemap: 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|
|---|---|---|
|:fa-chess-clock: [Time Interval Configuration](#fa-chess-clock-time-interval-configuration)|The time ranges users may pick|✅ Yes|
|:fa-ban: [Restrictions](#fa-ban-restrictions)|Filters every search|❌ No: users can't see or change the value|
|:fa-search: [Default search setup](#fa-search-default-search-setup)|The fields, operators, and values a search starts with|✅ Yes|
|:fa-magnifying-glass-plus: [Optional fields](#fa-magnifying-glass-plus-optional-fields)|More fields users may add|✅ Yes|
|:fa-play: [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].

## :fa-eye: 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][].

## :fa-chess-clock: 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.

## :fa-ban: Restrictions

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

>[!NOTE]
>[Users][] can't see the value of a Restriction or change it, and they can't get around it by changing the other search options.

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.*  

## :fa-search: 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.*  

## :fa-magnifying-glass-plus: 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.

## :fa-play: 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.

## :fa-hand-point-right: Next Steps

* :fa-layer-group: [Log View Data to Search Tab][] - Which events are in scope  
* :fa-hard-drive: [Add or Manage Log View][] - All five tabs  
* :fa-magnifying-glass: [Add or manage Search Field][] - Make a business value searchable  

## :fa-link-horizontal: Related Topics

* :fa-hard-drive: [What is a Log View?][Log Views]  
* :fa-circle-info: [Log View General Tab][]  
* :fa-columns: [Log View Display Result Tab][]  
* :fa-list: [Log View Grouping Tab][]  
* :fa-search-dollar: [Search Fields][]  
* :fa-chess-clock: [Time Interval Configurations][]  
* :fa-eye-slash: [Which Search Field Values a Log View Shows][]  
* :fa-eye-slash: [HideSearchFieldValuesInLogViews][]  
* :fa-magnifying-glass: [Working with Log Views][GS Log Search]  

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

[Add or Manage Log View]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/Add%20or%20Manage%20Log%20View.md
[Add or manage Search Field]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/Add%20or%20manage%20Search%20Field.md
[Comments]:{ndr}/Getting%20Started/2.%20Log/Comments%20for%20logged%20messages.md
[Endpoint Directions]:{ndr}/Core%20Services/Log%20Event/Features/Endpoint%20Directions.md
[Endpoints]:{ndr}/Repository%20Model/Endpoints/Overview.md
[GS Log Search]:{ndr}/Getting%20Started/2.%20Log/Search%20a%20Log%20View.md
[HideAdditionalFieldValuesInLogViews]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/HideAdditionalFieldValuesInLogViews.md
[HideSearchFieldValuesInLogViews]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/HideSearchFieldValuesInLogViews.md
[Integrations]:{ndr}/Repository%20Model/Integrations/Overview.md
[Log Event]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Log Status Codes]:{ndr}/Administration/1.%20Log%20Management/3.%20Log%20Agents/Features/What%20is%20a%20Log%20Status%20Code.md
[Log View Data to Search Tab]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/Log%20View%20Data%20to%20Search%20Tab.md
[Log View Display Result Tab]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/Log%20View%20Display%20Result%20Tab.md
[Log View General Tab]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/Log%20View%20General%20Tab.md
[Log View Grouping Tab]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/Log%20View%20Grouping%20Tab.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Log Views list]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Overview.md
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[Repository Model]:{ndr}/Repository%20Model/Overview.md
[Restrictions anchor]:#fa-ban-restrictions
[Search Fields]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/What%20is%20a%20Search%20Field.md
[System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Overview.md
[Systems]:{ndr}/Repository%20Model/Systems/Overview.md
[Time Interval Configurations]:{ndr}/Administration/4.%20Customize/4.%20Time%20Interval%20Configurations/Features/What%20is%20a%20Time%20Interval%20Configuration.md
[Users]:{ndr}/Administration/3.%20Access%20Management/2.%20Users/Features/What%20is%20a%20User.md
[What is a Time Interval Configuration - Example]:{ndr}/Administration/4.%20Customize/4.%20Time%20Interval%20Configurations/Features/What%20is%20a%20Time%20Interval%20Configuration.md#real-world-example
[Which Search Field Values a Log View Shows]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/Which%20Search%20Field%20Values%20a%20Log%20View%20Shows.md