Splunk Enterprise is a security information and event management (SIEM) platform that can be used with Bitwarden organizations. Organizations can monitor event activity with the Bitwarden app on their Splunk Enterprise dashboard.
The Bitwarden Splunk integration is currently supported for Splunk Enterprise on-premises.
Installing the Bitwarden app on Splunk Enterprise requires an account with Splunk Base.
Once you have a Splunk Base account, the next step is to install Splunk Enterprise. Follow the Splunk documentation to complete an install of the self-hosted Enterprise software.
The Bitwarden app is currently supported on Splunk Enterprise's Linux x64 architecture.
Before connecting your Bitwarden organization to Splunk Enterprise, create an index that will maintain Bitwarden data.
1. Open the Settings menu located on the top navigation bar and select Indexes.
2. Once you are on the indexes screen, select New Index.
3. A window will appear for you to create a new index for your Bitwarden app.
4. In the Index Name field, enter
The only required field for the index creation is Index Name. The remaining fields can be adjusted as needed.
5. When you are finished, select Save.
After your Bitwarden index has been created, navigate to the Splunk Enterprise dashboard.
1. Select the cog icon next to Apps.
2. Select Browse more apps located at the top-right on the screen.
3. Search Bitwarden Event Logs in the app catalogue. Select Install for the Bitwarden Event Logs - Linux x64 app.
3. In order to complete the installation, you will need to enter your Splunk Base account. Your Splunk Base account may not be the same credentials used to log into your self-hosted Splunk Enterprise instance.
4. After you have entered your information, select Agree and Install.
You may need to restart Splunk following the Bitwarden app install.
Once the Bitwarden Event Logs app has been installed in your Splunk Enterprise instance, you can connect your Bitwarden organization using your Bitwarden API key.
1. Go to the dashboard home and select the Bitwarden Event Logs app.
2. Next select Setup from the top navigation menu. This is where you will add your Bitwarden organization's information.
3. Keep this screen open, on another tab, access your Bitwarden web vault. Open your organization and navigate to Settings, Organization info, and View API key. You will be asked to re-enter your master password in order to access your API key information.
2. Copy and paste the
client_secret values into their respective locations on the Splunk setup page.
Complete the additional fields as follows:
Your organization API key enables full access to your organization. Keep your API key private. If you believe your API key has been compromised, select Settings > Organization info > Rotate API key button on this screen. Active implementations of your current API key will need to be reconfigured with the new key before use.
3. Select Submit.
4. Once you have completed the setup, restart Splunk Enterprise. To do this, head to Settings → Server controls → Restart Splunk.
To start reviewing data, you can set up a search macro. A Splunk search macro is a reusable search query that can be applied to your dashboard.
1. To add a search macro go to Settings on to top navigation bar. Then, select Advanced Search.
2. Next, select + Add new. Once you are on the create macro screen, complete the following fields:
3. Once you have input all information into the macro forum, select Save.
Next, setup which user roles will have permission to use the macro:
1. View macros by selecting Settings → Advanced Search → Search macros.
2. Select Permissions on the macro you would like to edit.
3. Edit the following permissions:
4. Once you have edited your desired permissions, select Save.
Only one search macro will be functional on the app at a given time.
The Dashboard will provide several options for monitoring and visualizing Bitwarden organizational data. The three primary categories of data monitoring include:
Bitwarden authentication events
Bitwarden vault item events
Bitwarden organization events
The data displayed on the dashboards will provide information and visualization for a broad variety of searches. More complex queries can be completed by selecting the Search tab at the top of the dashboard.
While searching from the Search page or Dashboards, searches can be designated to a specific timeframe.
The following timeframes are supported for Bitwarden event logs searches:
Month to date
Year to date
Previous business week
Last 30 days
Set up specific searches by including search queries. Spunk utilizes its search processing language (SPL) method for searching. See Splunk's documentation for additional details on searches.
An example of a standard search result object:
The fields shown in the standard search object can be included in any specific search. This includes all of the following values:
Filter results by a specific field
In the following example, the search is looking for
actingUserName with a
* wildcard which will display all results with
The AND operator is implied in Splunk searches. The following query will search for results containing a specific
Include multiple commands by separating with
|. The following will show results with the top value being
Set user roles
Manage users roles to allow individuals to perform specific tasks. To edit user roles:
1. Open the Settings menu on the top navigation bar.
2. Select Users from the bottom right corner of the menu.
3. From the users screen, locate the user that you wish to edit permissions for and select Edit.
From this screen, details for the user can be filled out. Permission such as
can_delete can be individually assigned here as well.
Delete Bitwarden search data by clearing the index with SSH access. Data may need to be cleared in instances such as changing the organization being monitored.
1. Access the Splunk directory and
stop Splunk processes.
2. Clear the
bitwarden_events index with
3. Restart Splunk processes.