Editing a visualizationedit

You have edit permissions for the Global Flight dashboard so you can change the appearance and behavior of the visualizations. For example, you might want to see which airline has the lowest average fares.

  1. Go to the Global Flight dashboard.
  2. In the menu bar, click Edit.
  3. In the Average Ticket Price visualization, click the gear icon in the upper right.
  4. From the Options menu, select Edit visualization.

Edit a metric visualizationedit

Average Ticket Price is a metric visualization. To specify which groups to display in this visualization, you use an Elasticsearch bucket aggregation. This aggregation sorts the documents that match your search criteria into different categories, or buckets.

  1. In the Buckets pane, select Split Group.
  2. In the Aggregation dropdown menu, select Terms.
  3. In the Field dropdown, select Carrier.
  4. Set Descending to four.
  5. Click Apply changes images/apply-changes-button.png.

You now see the average ticket price for all four airlines.

images/tutorial-sample-edit1.png

Save the changesedit

  1. In the menu bar, click Save.
  2. Leave the visualization name unchanged and click Save.
  3. Go to the Global Flight dashboard.
  4. Resize the panel for the Average Ticket Price visualization by dragging the handle in the lower right. You can also rearrange the visualizations by clicking the header and dragging.
  5. In the menu bar, click Save and then confirm the save.

    images/tutorial-sample-edit2.png