Use Case: Customizing Unique Users Logged In Graph

  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 Unique Users Logged In Graph from the present number view to a gauge view, click Edit Visualization from the top right corner Options.

  4. Click Add Filter > Edit Filter.

  5. Click Edit as Query DSL.

  6. Copy the Elasticsearch Query DSL to a notepad.

    You can use Change All Filters option to add required filter options.

    You can also manually note the Metric information:

    • Aggregation

    • Field

    • Custom Label

  7. Click New Visualization > Gauge. Select either Historic or Realtime dashboard.

  8. Add the filter you had copied in the notepad using Edit as Query DSL.

  9. Click Save.

  10. In realtime/historic data Metrics, specify the following values, and apply changes:

    1. Aggregation: Select Unique Count

    2. Field: Select userName.keyword

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