Use the Grafana Plug-In
Enable log data export from Radiant Security to Grafana to create custom dashboards and visualizations.
In this guide, you will use the Grafana plug-in to query Radiant Security’s Log Management data from Grafana. This allows you to build custom dashboards, visualizations, and analytics for deeper insights into your logs.
Requirements
Configure the data connector in Radiant Security
Log in to Radiant Security.
From the navigation menu, click Settings > Data Connectors and click + Add Connector.
Search for and select the Radiant Security Grafana Plug-In option from the list and then click Data Feeds.
Under Select your data feeds, select Radiant Security Grafana Plug-In and click Credentials.
Under Credential Name, give the credential an identifiable name (e.g.
RS-Grafana
).Under Required Credentials, in the Connector tag field enter a value. This value will act as the salt to randomize the unique Token you’ll download in the next step.
Click Add Connector.
Copy and save the connector Token value using the clipboard option or download the Token file. You will need this token to complete the configuration.
Click Done to save your changes.
Install the Grafana plug-in
On request, we’ll provide you with a zip file containing the Grafana plug-in. The plug-in is private and unsigned, so it requires some modifications in order to enable installation.
Install Grafana on a local server or virtual machine.
Find the configuration file named
grafana.ini
. The file location is specific to your operating system. Refer to the Configure Grafana document for more information.In the
grafana.ini
file, set the following to allow Radiant Security's unsigned plug-in to load:allow_loading_unsigned_plugins = radiantsecurity-radiantsecurity-datasource
Extract the plug-in into the Grafana plug-ins directory:
var/lib/grafana/plugins/radiantsecurity-datasource
The full directory path may differ depending on operating system and Grafana installation method. For installation on MacOS, the full path for a Homebrew installation is:
/opt/homebrew/var/lib/grafana/plugins/radiantsecurity-datasource
Restart Grafana. If you're using Homebrew on macOS, run the following command:
brew services restart grafana
Optional: Verify the settings in Grafana by navigating to Administration > General > Settings.
paths > plugins points to the parent directory of radiantsecurity-datasource where the plug-in has been extracted
plugins > allow_loading_unsigned_plugins is set to radiantsecurity-radiantsecurity-datasource
Create a data source
In Grafana, create a new data source with the plug-in in Grafana by navigating to Administration > Plugins and data. Search for Radiant Security and the plug-in will appear.

Click Save & test. The plug-in is now available as a data source and can be seen in Connections > Data source.
Click the plug-in. Ignore the warning that the plug-in is unsigned and not published. Click the Add new data sources button.
For Name, enter a name for the plug-in.
For API Key, enter the Token that you created and copied from the first step Configure the data connector in Radiant Security.

Create a Grafana dashboard and visualization
Create a new dashboard in Grafana to display a log volume histogram for all connectors.
In the main menu in Grafana, click Dashboards.
On the Dashboards page, click New and select New Dashboard from the drop-down menu.
Click + Add visualization.
Select the data source that was just created with the plug-in.
The visualization will default to a Time series from the top right pull-down menu.
To test the visualization, enter a wildcard query
*
in the Lucene Query field. This should populate the graph with aggregated data representing all received logs over the last six hours. If needed, you can adjust the time range accordingly.Add a Group By field by clicking the + at the end of the Group By row.
Select rs_connectorType to be the first Group By criteria. Click Refresh to see the new set of data which should include disaggregated log types.
In the right panel, configure the legend and title by applying the following modifications:
Title: Connectors with Log Volume
Legend Mode: Table
Legend Placement: Right
Legend Values: Total
Axis Scale: Logarithmic (assuming multiple log sources with a wide range of volume)
Log Base: 10
Click Save Dashboard to save the changes and exit to the dashboard view. The new dashboard should look similar to the image below.
Last updated