-
Notifications
You must be signed in to change notification settings - Fork 27
Building Wazuh app package for Splunk
Manuel J. Bernal edited this page Dec 5, 2018
·
1 revision
- Git
- Some tool for compressing the Wazuh App into a
.tar.gz
package
- Clone the wazuh-splunk repository.
$ git clone https://github.com/wazuh/wazuh-splunk.git
- Select the branch that you want.
$ cd wazuh-splunk
$ git checkout {$BRANCH}
- Compress
SplunkAppForWazuh
directory.
$ tar -czf SplunkAppForWazuh.tar.gz SplunkAppForWazuh/
- Now you have a
.tar.gz
package, you can install the app by executing the following commands:
# {$SPLUNK_PATH}/bin/splunk install app {$APP_PATH}/etc/apps/SplunkAppForWazuh.tar.gz
This step requires admin credentials:
Splunk username: {$YOUR_USER}
Password: {$YOUR_PASSWORD}
App '{$SPLUNK_PATH}/etc/apps/SplunkAppForWazuh.tar.gz' installed
You need to restart the Splunk Server (splunkd) for your changes to take effect.
- Finally, restart the Splunk service and the app will be ready:
# {$SPLUNK_PATH}/bin/splunk restart