The dashboard provides default graphs. These graphs are created using the available data in the elastic search. However, you can create custom visualization. For example, instead of a line chart you can create a bar chart. Instead of displaying numbers for a unique user, you can create a visualization of Gauge. You can create custom dashboards by adding default visualization or any custom visualizations you have created. The following sample use cases illustrate how to customize views of the default graphs available in the dashboard:
Click Analytics Dashboard > Visualize > Create new Visualization.
Click Edit from the top page.
Click Options from the right top corner of Unique Users Logged In graph.
Click Edit Visualization.
Click Edit Filter.
Click Edit as Query DSL.
Copy the Elasticsearch Query DSL to a notepad.
You can also manually note the Metric information:
Aggregation
Field
Custom Label
Click New Visualization > Gauge. Select either Historic or Realtime dashboard.
Add the filter you had copied in the notepad using Edit as Query DSL.
Click Save.
In realtime/historic data Metrics, specify the following values, and apply changes:
Aggregation: Select Unique Count
Field: Select userName.keyword
Click Save. Provide the visualization with a title.
Perform the following steps to customize the view from Vertical to Horizontal view of the chart:
Click Analytics Dashboard > Visualize > Create new Visualization.
Click New/Edit Visualization.
Click Edit from the top page.
Click Options from the right top corner of Client IP Address graph.
Click Edit Filter.
Click Edit as Query DSL.
Copy the Elasticsearch Query DSL to a notepad.
You can also manually note the Metric information:
Aggregation
Field
Custom Label
Click Create a New Visualization.
Select Historic or Realtime dashboard.
Copy the filter you had copied in the notepad using Edit as Query DSL.
In the Buckets field of X -axis
Select the following values:
Aggregation: Terms
Field: SourceIP.keyword
NOTE:Add another Bucket specifying the above fields.
Click Apply changes.
Click Save. Provide the visualization with a title.