Use Case: Customizing View for Client IP Address Graph

Perform the following steps to customize the view from Vertical to Horizontal view of the chart:

  1. Click Analytics Dashboard > Edit.

  2. Select the Unique Users Logged In graph. Click Options on the top right corner of the graph.

  3. For example, to customize visualization for Client IP Address Graph from the vertical bar chart view of the graph to a horizontal bar chart view, click Edit Visualization from the top right corner Options.

  4. Click Add filter.

  5. In the Edit Filter box, click Edit filter values.

  6. Click Edit as Query DSL.

  7. Copy the Elasticsearch Query DSL to a notepad.

    You can also manually note the Metric information:

    • Aggregation

    • Field

    • Custom Label

  8. Click Create a New Visualization > Horizontal Bar Chart.

  9. Select Historic or Realtime dashboard.

  10. Copy the filter you had copied in the notepad using Edit as Query DSL.

  11. In the Buckets field of X -axis

  12. Select the following values:

    1. Aggregation: Terms

    2. Field: SourceIP.keyword

      NOTE:Add another Bucket specifying the above fields.

    3. Click Apply changes.

  13. Click Save. Provide the visualization with a title.