# How to use an extended search?

There are four data input fields to specify query criteria.

1. Select
2. Where&#x20;
3. Order by
4. Return # entries

<figure><img src="/files/NVOfkgLnkFSco1CLDlOz" alt=""><figcaption><p>Extended search is available under Devices --> Clients --> Extended search</p></figcaption></figure>

1. **Select** – which columns to display in the output table

* Default query criteria are: new (StifleRAgentID, NetId, ComputerName, Connected, InternalIPAddress, NetworkId)

<figure><img src="/files/eaA2dFqvaBfNsLznyOCA" alt=""><figcaption></figcaption></figure>

* Use the \* (asterisk) symbol to display a list of all available columns in the output table

<figure><img src="/files/ONF9GvbZROTuSuFz4EoX" alt=""><figcaption><p>Column names are case-sensitive</p></figcaption></figure>

* Add two new columns in the output table by setting a new query criteria: new (StifleRAgentID, NetId, ComputerName, Connected, InternalIPAddress, NetworkId, ExternalIPAddress, NICSpeed)

<figure><img src="/files/q8K2rD1kUSP0r6xrdPC3" alt=""><figcaption></figcaption></figure>

2. **Where** – which data to query with Extended search
   * Default query criteria are: x => x.Uptime > 0
     * Column name: Uptime
     * Any value higher than zero: > 0
   * x=>x.VPN = false
     * Column name: VPN
     * Any value equals false: = false
   * x=>x.ComputerName = "UAT-NET1-PC01"
     * Column name: ComputerName
     * Any value equals query criteria: = "UAT-NET1-PC01"
3. **Order by** – which column to sort by in the output table

* Default query criteria are: ConnectionId

<figure><img src="/files/l5u05Q9zU4COMIcXJids" alt=""><figcaption></figcaption></figure>

* Change the sort order by setting a column name criteria: ComputerName

<figure><img src="/files/C68tt15Ix89qVpGJJMJZ" alt=""><figcaption></figcaption></figure>

4. **Return # entries** – how many rows to return in the output table

* Default query criteria are: 1000

<figure><img src="/files/yyLHEGEHZdqcNfLWGa83" alt=""><figcaption></figcaption></figure>

* Change the amount of rows to display: 2

<figure><img src="/files/gGOT9bkKTlTtQEcI95Gc" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.2pintsoftware.com/stifler/operations-and-features/overview-and-navigation/devices/clients/client-details/how-to-use-an-extended-search.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
