Save a Query
  • 20 Aug 2023
  • 3 Minutes to read
  • Dark
    Light
  • PDF

Save a Query

  • Dark
    Light
  • PDF

Article Summary

You can identify security gaps by running and saving a query about your assets.

Axonius supports a varitey of asset management use cases, that can be implemented by running the right query.
Read about some common use cases are described in the Axonius documentation site, under the Using Axonius category in the Use Cases subcategory. Use the navigation tree and the search bar to explore the various use cases, that include, but are not limited to:

To Achieve this Milestone

Use the Query Wizard on the Devices page to create a query, then save it so you can easily access it in the future.

Create and Save a Query

To run and save a query:

  1. Click the Assets icon Asset_Icon1 and from the left-pane, select Devices
    DevicesGetSTarted.png

To create and run your own query:

  1. From the Devices page, click Query Wizard on the top right corner above the Devices table.

  2. The popup opens enables you to add filtering expressions upon different properties of devices. You can create multiple filter expressions and decide on the logical operators between them to create complex filtering conditions.

    For example, the expression below filters all devices which Windows is their operating system (OS: Type) and such devices were seen in Axonius in the last 7 days:

GetSTartQuery.png

  • The Query Wizard consists of following elements which requires the user input to create a filter expression:
    1. WHERE/WHERE NOT switch
    2. AND / OR/ AND NOT/ OR NOT switch
    3. NOT Flag
    4. Source drop-down
    5. Adapter drop-down
    6. Field drop-down
    7. Operator drop-down
    8. Value field
    9. Bracket controls
  1. To run the query, click Search.
    To learn more about the Query Wizard and advanced querying, see Creating Queries with the Query Wizard.
  2. To change the displayed columns, click Edit Columns on the right side of the page just above the table. Notice you can pick any field from any adapter by selecting it on the top left selection. You can also narrow down the list of properties by typing into the search bar:
    GetStartEditColumns.png
Note:
Click Reset to reset the Devices page to its default column view and with no filtering, resulting in all devices being displayed.
  1. To save a new unsaved query, click Save As next to the query name. The Save as dialog opens, and you can set a name for the new saved query.

SaveAsNewQuery.png

To learn more about working with saved queries, see Queries.

Modify an Existing Query

To modify a saved query:

  1. Click QueryIcon.png (Queries icon). icon on the left navigation panel.
  2. The Queries page opens, displaying all the saved queries. Filter by devices in the Modules drop-down to see queries for device entities.

SavedQueriesGetSTart.png

  1. Search for a query and click its record to review its details.
    QueryDrawereg.png

  2. Click Run Query to execute it.

  3. Modify the query. Use the Query Wizard to change the query expressions or click Edit Columns to edit the query table columns.

  4. Rename or save the query:

    • Rename a saved query by a single click on the query name.
    • Save - Update the saved query you are working on.
    • Save as - Save the query results as a new saved query.
Note:
Click Discard Changes to undo any changes made on the saved query you are working on and reload the saved query.
Click Reset to reset the Devices page to its default column view and with no filtering, resulting in all devices being displayed.



To learn more about working with saved queries, see Queries.
To learn more about the Query Wizard elements and advanced querying, see Creating Queries with the Query Wizard.



Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.