Paste Query JSON

You can copy, paste and download the JSON definition of a query to reuse the query without building it again.

  1. Go to Analytics > Dashboard Manager > Queries.

  2. Click New Query.
    info Or open an existing query.

  3. In the toolbar of the Query Definition Editor, click JSON.

  4. Click  Paste JSON Icon Paste JSON.
    info The Paste Query JSON dialog opens.

  5. Paste the JSON definition into the text field.

  6. Click Apply.

    PasteJSONDialog.png
  7. Click Save to save the query.

After Apply, the Query Definition Editor shows the message JSON is parsed successfully. The Builder view shows the pasted query as Building Blocks.

PasteJSONResult.png

Troubleshooting

Error Message

Cause

Resolution

Input is required

The text field in the Paste Query JSON dialog is empty.

Paste a JSON definition into the text field, then click Apply.

Incorrect JSON format

The pasted text is not valid JSON.

Copy the definition again with Copy JSON, then paste it again.

The pasted JSON is not a valid query.

The pasted text is valid JSON, but not a valid query definition.

Check that the definition starts with a query object of kind pipeline.

info The messages do not identify which part of the definition is wrong.