Execute a query

It is important to know how to execute a query correctly in Vantage.

Note: Strings are always "quoted", otherwise they are interpreted as data fields. For example, you can write a query similar to alerts | where closed_time > time to compare two fields.
Note: Use the / operator to navigate into JavaScript Object Notation (JSON) fields.
Note: When you access a JSON sub field, occurrences of \ are translated to . For example, os:info/source becomes os:info.source in the resulting dataset.
  1. In the top navigation bar, select Queries.
  2. Choose a method to show the available data sources.
    • In the Query text field, select Ctrl+Space.
    • In the Query text field, enter the first few letters of a data source.
    A list of available data sources shows.
  3. Enter your query.
  4. Select Execute (Cmd+Enter).
    The results of your query show.
  5. If necessary, select Save to save the query for future use.
  6. If necessary, select Save Assertion to save the assertion for future use.
  7. If necessary, select Export and choose Excel or CSV as an export format.