- 4 minutes to read

HideSearchFieldValuesInLogViews - System Parameter

HideSearchFieldValuesInLogViews controls whether Search Field values that are not part of a Log View's configuration are shown. The Web API applies it, and the Web Client shows the result. With the default true, users only see the Search Field values the administrator added to the Log View. The rule itself, with seven walkthroughs, is in Which Search Field Values a Log View Shows.

At a Glance

Property Value
Key HideSearchFieldValuesInLogViews
Data type boolean
Default true (hide values not in the Log View configuration)
Read by Web API (the Web Client shows the result)
Takes effect Within about 15 seconds; no restart needed
Status ✅ Active
Since Nodinite 5.4

How It Works

When a user opens a Log Event in a Log View, the Search Field Values tab lists the Search Field values extracted from the message. A Search Field is in the Log View configuration when it is in at least one of: the Default search setup or the Optional fields (Search criteria tab), the Group by fields, or the columns of the Display result tab. A field used only in a Restriction filters the events, but doesn't count. This parameter decides what happens to values for Search Fields the Log View doesn't include:

Value Search Field in the Log View configuration Search Field not in the Log View configuration
true (default) ✅ Shown ❌ Not listed for users; Hidden for administrators
false ✅ Shown ⚠️ Shown, with an override marker and a warning on hover

To show a hidden value, add the Search Field to the Log View on the Search criteria tab in Add or Manage Log View. A Search Field in the Log View configuration is always shown, whatever this parameter is set to. Read What is a Search Field for how Search Fields extract their values.

Who Sees Hidden Values

With true, what the Search Field Values tab shows for a field the Log View doesn't include depends on who looks:

Who What the Search Field Values tab shows
A user who is not an administrator Nothing. The field isn't listed, so the user can't tell that the event has it
An administrator in an ordinary Log View The field name with Hidden and a spy icon; the hover text says the value stays hidden for administrators too, and that adding the Search Field to the Log View makes it visible for all users
Anyone in the built-in Admin view Every value. The Admin view is only offered to administrators

An administrator sees Customer ID as Hidden in a Log View that includes only Order ID, then the value in the Admin view, animated walkthrough (7.12)
Animated walkthrough: the administrator sees that the event has a Customer ID, but not its value, until the Admin view.

A user in the Role Contoso Warehouse Staff opens the event details and Customer ID is not listed at all, animated walkthrough (7.12)
Animated walkthrough: a user sees no trace of a field the Log View doesn't include.

The Web API enforces the same rule: asking a Log View for the values of a Search Field it doesn't include is answered with 403 Forbidden.

Scope

This parameter covers Search Field values only. The built-in event detail fields on the Additional Field Values tab, such as EndPointUri, LogText, or ProcessingUser, are controlled by the sibling parameter HideAdditionalFieldValuesInLogViews, which can show, hide, or mask each field.

The parameter only changes which values are shown. It doesn't change what is logged, what is extracted and indexed, or what is stored in the Log Databases, and it doesn't stop users from searching with the Search Fields their Log View includes. To keep sensitive data out of Nodinite altogether, use ContextPropertiesFilters; to show only parts of the message body, use Stylesheets.

Choosing a Value

  • Keep true (default) in production. A new Search Field stays hidden in every Log View until an administrator adds it, so nothing leaks before review.
  • Give each audience its own Log View. Create one Log View per Role and include only the Search Fields that Role needs.
  • Use false only temporarily, for example in a test environment while you verify a Search Field Expression. Every user with access to a Log View then sees every extracted value, including values from Search Fields you never meant to show, such as personal data or tokens. Each such value carries an eye-and-spy marker whose hover text asks the user to have an administrator review the Log View. Set the value back to true when you are done.

With HideSearchFieldValuesInLogViews set to false, Customer ID shows CUST-001 with an override marker and a warning on hover, animated walkthrough (7.12)
Animated walkthrough: with false, the value is shown, and a marker warns that the Log View would hide it.

Next Steps