Skip to main content

Create Visualization

Create Visualization within Dashboard Edit Mode

Panel creation requires creating a dashboard. To do this, navigate to Menu -> Dashboards. Click the New dashboard button. The following dashboard parameters are provided as an example:

  • Title: Windows Events
  • System ID: win-events

For creating a visualization panel inside a dashboard, switch to dashboard editing mode by clicking the Edit button in the top right corner and click the Add Panel button.

Information

For comprehensive details on dashboard construction, field definitions, and naming conventions, please visit

The dropdown menu allows for pre-selecting the desired visualization type when the button is clicked.

add_panel_dropdown_menu.png

Choose a Single Value Visualization

Upon selecting the visualization type, a modal window will appear to add a new visualization to the dashboard. This modal window includes the following fields:

  • Search – Search Anywhere Framework Language (SAFL) query;
  • Time filter – Time range for the query

An example of this is a query that returns the number of successful logins:

source windows_events
| search event.category="authentication" AND event.outcome = "success"
| aggs count(event.outcome)
add_panel_modal.png

The panel displayed but remained empty.

empty_panel.png

To resolve this issue, access the visualization settings and configure the following parameters within the General section:

  • Metric Label: Number of successful logins
  • Field for value: count(event.outcome)
  • Field for trend: count(event.outcome)
panel_settings_general.png

Within the Show section, set

  • Show Label
  • Show Trend Sparkline
  • Show Trend Indicator
panel_settings_show.png

To apply the changes, click the Apply Settings button and then exit dashboard edit mode by clicking Save. As a result, a visualization will appear on the dashboard displaying the number of successful logins:

working_panel.png

Create Visualization within Search Visualization Menu

Panels can also be created directly from the Search Anywhere Framework Search. To achieve this, follow Menu -> Search:

menu_search.png

For search, utilize the same query as when creating via dashboard edit mode:

source windows_events
| search event.category="authentication" AND event.outcome = "success"
| aggs count(event.outcome)
search_input.png

Click the Refresh button. The Statistics tab will immediately appear, displaying a table with a single column named count(event.outcome).

search_statistics_tab.png

Navigate to the adjacent Visualization tab. The following interface will appear:

search_visualization_tab.png

In this section, pre-configure visualization parameters prior to adding or creating them on the dashboard. To begin, replace the Table option with Single Value in the visualization type dropdown-menu.

Within the General section of the settings below, specify the following parameters:

  • Metric Label: Number of successful logins
  • Field for value: count(event.outcome)
  • Field for trend: count(event.outcome)
search_visualization_general_settings.png

Within the Show section, set

  • Show Label
  • Show Trend Sparkline
  • Show Trend Indicator
search_visualization_show_settings.png

Apply the configurations by clicking the Apply settings button. The implemented modifications will be reflected in the right-hand section of the editor.

search_working_visualization.png

Proceed by clicking the Add to dashboard button. A modal will appear, prompting you to select the dashboard to which you want to add the newly created panel:

add_to_dashboard_modal.png

Specify the parameters for the previously created dashboard:

  • Save type: Existing Dashboard
  • Dashboard: Windows Events
  • Panel label: Number of successful logins

The remaining fields can be left blank. Click the Save button. A message will appear indicating successful panel saving and prompting you to navigate to the dashboard containing the newly created panel:

success_add_to_dashboard_modal.png

Clicking the View dashboard button will redirect you to the dashboard page containing the newly created panel:

dashboard_with_two_panels.png