---
title: "Linux Search Query"
description: "Search Linux file server and NAS activity recorded to a File output in Activity Monitor, and filter by time range, file path, host, user, and operation."
sidebar_position: 30
---

# Linux Search Query

You can search Linux file server and NAS device activity that has been monitored and recorded to a
File output. When you select **Linux** from the magnifying glass dropdown menu, a New Search tab
opens with the applicable query filters.

![Linux Search Query](/images/activitymonitor/8.0/admin/search/query/linuxsearchquerybar.webp)

By default, the query is set to return all event activity for the past day. Configuring query
filters will scope results returned.

Set the filters as desired and click **Search**. The application searches through the appropriate
activity log files and returns the events that match the filters. You can
[Filter](/docs/activitymonitor/8.0/admin/search/overview.md#filter) and [Sort](/docs/activitymonitor/8.0/admin/search/overview.md#sort) the results using the column
headers. You can also [Export](/docs/activitymonitor/8.0/admin/search/overview.md#export) the search results.

**Filter Value Entry**

Field options vary based on the selected query filter:

- Textbox – Enter the filter value. If the field has a dropdown arrow, then you can select from
  values known to the application.
- Gray dropdown menu – Provides options to match the value against on of the following, which vary
  based on the filter:

    - Selected values – Filters by the value selected from the dropdown menu for the textbox
    - Simple string with wildcards – Filters by the value entered into the textbox, which contains
      an asterisk (\*) as the wildcard
    - Regular expression – Filters by the Regex entered into the textbox

## Query Filter Options

The sections have the following filters:

- Events time range – The time frame filter must be configured for every search query:

    - From – Set the date and timestamp for the start of the activity range. The dropdown menu
      opens a calendar.
    - To – Set the date and timestamp for the end of the activity range. The dropdown menu opens a
      calendar.

- File Path – Filter the data for a specific file path where activity has occurred
- Hosts – Filter the data for a specific target host of the event
- Source – Filter the data for a specific source of the activity
- User/Group – Filter the data for a specific user, or perpetrator of the event. You can also filter
  by a group.

    - Specify account or group (...) – The ellipsis button beside the User textbox opens the Specify
      account or group window. Use this window to resolve the account for the user. See the
      [Specify Account or Group Window](/docs/activitymonitor/8.0/admin/outputs/accountexclusions/specifywindowsaccount.md) topic for
      additional information.

- GID
- Types – Filter the data for a specific event result: All, Success, Fail
- Operations – Filter the data by the type of file operation: Read, Add, Update, Delete, Rename,
  Permissions. The Operations checkbox at the top acts as select/deselect all option.
- I/O Type – Filter the data by the type of input/output: Filesystem, Shadow copy (VSS). The I/O
  Type checkbox at the top acts as select/deselect all option.
- Object Type – Filter the data by the type of file object: File, Folder, Link, Share. The Object
  Types checkbox at the top acts as select/deselect all option.
