icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading ModSecurity
SHA256 checksum (modsecurity_14.tgz) f740ce3bcfbb75c4c1fe08e88fe571c1d5ef088f210e896f41c5c8b166c64008 SHA256 checksum (modsecurity_13.tgz) 630fd2601511d777fdba4d45f1a2f1069daa3ce724ae0970a956d946e8f5b5e0 SHA256 checksum (modsecurity_12.tgz) db4bcc6d678d05cbe2ed6baec639b3997245f26ef938934d761a37fc8e0d81af SHA256 checksum (modsecurity_11.tgz) 8bd8944f65d2e9849dae1dc3c2c27e2991fac9cb0ec5a1a0fc6b1918323de2ea SHA256 checksum (modsecurity_10.tgz) 8b0b97ae39fdfaf12d57d2fd7a8be3d2c1ed2ed8fcbb7d3ba08d6309aaca0089
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate


Admins: Please read about Splunk Enterprise 8.0 and the Python 2.7 end-of-life changes and impact on apps and upgradeshere.
Splunk for ModSecurity provides searches, reports and dashboards for the famous apache module ModSecurity from Trustwave SpiderLabs.


Splunk is the perfect solution to monitor your log files and ModSecurity is the ultimate WAF to secure your web application,
ModSecurity integrates with Apache, Nginx or IIS and can mitigate bad behavior against your webapplication
What can the app for ModSecurity do for you?

The app for ModSecurity includes three different dashboards and a couple of searches which visualize you ModSecrity events in a good way. The app also includes a .csv file which includes some open proxies, you may manually update this .csv file with more known proxies or other bad IP addresses the app for ModSecurity then correlate this information with your Modsecurity events.


This app uses Maxmind to do local geo mapping and Sideview utils for populating dropdown menu.

This app is developed for the OWASP CRS ruleset and ModSecurity, both Serial and Concurrent logging in ModSecurity works.

"ModSecurity is a product developed by Trustwave's SpiderLabs Team https://www.trustwave.com/spiderLabs.php and made available under an open source licence.
SpiderLabs is engaged to popularize web application firewall technologies and make them widely accessible."


Download the app and extract the .gz under your $SPLUNK_HOME/etc/apps directory on your search head or install within the manager.

Restart your Splunk instance


If you have a separated index server copy the props.conf file located under $splunkpath/etc/apps/modsecurity/default/ to your indexing servers.

The default config assumes that your modsec_audit.log file has the sourcetype "modsec_audit" and that you using the default "main" index to store your events.
If you want to use another sourcetyp or index you need to change the configuration so it matches your environment, you change your configuration within the included configuration page under main menu "app for Modsecurity->Configuration"
If you whant to make the change manually this is the place where the configuratino take place.

In "spunk -> Manager -> Advanced search -> Search macros" change the following stanzas.
modsec_index -> index="your indexes"
modsec_src -> sourcetype="your modsec sourcetype name"

Splunk for ModSecurity uses third party components

Release Notes

Version 1.4
Jan. 18, 2014

Version 1.3
Jan. 10, 2012

Updated to support the IOS (iPad, iPhone) which means no more flash graphs.

Version 1.2
Jan. 5, 2012

This update includes configuration control for Sideview utils, improvement of the menu and change of event search.

Version 1.1
Jan. 4, 2012

Minor changes, including a README.txt

Version 1.0
Jan. 4, 2012


Subscribe Share

AppInspect Tooling

Splunk AppInspect evaluates Splunk apps against a set of Splunk-defined criteria to assess the validity and security of an app package and components.

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps and add-ons from Splunk, our partners and our community. Find an app or add-on for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
© 2005-2020 Splunk Inc. All rights reserved.
Splunk®, Splunk>®, Listen to Your Data®, The Engine for Machine Data®, Hunk®, Splunk Cloud™, Splunk Light™, SPL™ and Splunk MINT™ are trademarks and registered trademarks of Splunk Inc. in the United States and other countries. All other brand names, product names, or trademarks belong to their respective owners.