Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Juniper Mist AI-Native Operations Guide
Table of Contents Expand all
list Table of Contents

Marvis Query Language

date_range 20-Feb-25

Start using the Marvis Query Language to structure queries that pull data from Marvis.

The Marvis Query Language provides a structured framework for querying Marvis to get data that helps you monitor or troubleshoot your network. You can use queries to quickly find details about an event or failure in your network and about the affected devices.

Video Demo

Video 1: Marvis Query Language
Show Transcript

Marvis Query Language Structure

A query can contain the elements listed below. Use your space bar after selecting each element to see the next available options.

  • Query Type—Defines what you want Marvis to do (for example, COUNT, LIST, RANK, LOCATE, or TROUBLESHOOT).

  • Value—Specifies a unique value that is specific to an organization, such as a client's name.

  • Query Object—Indicates Mist-defined objects (for example, APEvents, ClientEvents)

  • Clause—Acts as a qualifier for the overall query (for example, of, with, or by).

  • Filter Type—Narrows the results based on pre-defined filter types.

You can also add a duration to the end of a Marvis query, and download the results in CSV format, along with the query string.

Finding the Marvis Query Page

Select Marvis > Marvis Actions from the left menu. Then click the Ask a Question button at the top-right corner of the page.

Entering a Structured Query

Marvis guides you step by step to enter the required elements in the query.

To get started, click in the Enter a query text box. Then click one of the options in the drop-down menu.

Marvis Query Box and Query Types

After you click an option, it appears in the query box. Press the space bar, and Marvis displays the available options. Here's an example of the options for the LIST query type.

Example - LIST Query Type and Options

Continue pressing the space bar and selecting options until you've entered a complete query. Here's an example of a RANK query that ranks clients based on the authentication failures:

Entering a Structured Query

For more information about useful queries, see Troubleshoot Using Marvis Query Language.

file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right
footer-navigation
keyboard_arrow_down
file_download
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
language