Skip to content

Commit ce1eca6

Browse files
committed
Merge pull request #29 from u-s-p/readme-update-deploy-script
Update README.md for modularized config
2 parents 5e5aa78 + 7b3f1e2 commit ce1eca6

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Modsecurity audit log ingestor configuration for Logstash
1111

1212
MASTER/TRUNK: In-progress, full-refactoring into multiple config files breaking apart the processing steps to match the modsecurity audit log sections. Should work with Logstash 1.3.3, 1.4.1+ and 1.5.x+
1313

14-
### Overview
14+
### Links
1515

1616
see: http://logstash.net/
1717
see: http://www.slideshare.net/prajalkulkarni/attack-monitoring-using-elasticsearch-logstash-and-kibana
@@ -32,6 +32,19 @@ This config file for whatever reason will not run if you try to add the "-- web"
3232

3333
Also recommend you start logstash like "java -jar logstash-x.x.x-flatjar.jar agent -v -f /yourConf.conf" The "-v" will give verbose output and help you debug issues. Also DON'T run in "-v" mode in a prod environment as you will end up outputting a ton of data to your console and/or logstash stdout capture file. (if you have one)
3434

35+
### How to use the modularized configuration
36+
37+
The logstash configuration for Modsecurity is split into several configuration files to allow the user to select exactly those parts, he needs for his use-case, while still maintain compatibility with the upstream configuration, provided in this Github repository.
38+
39+
There are two ways to deploy logstash-modsecurity:
40+
41+
1. Concatenate the needed parts of the logstash-modsecurity configuration to a logstash configuration file.
42+
2. Create symlinks in the logstash configuration directory to the needed files.
43+
44+
In the second case Logstash has to be pointed to the directory where the configuration including the symlinks is residing. The configuration files (including the symlinks) are then read and concatenated by logstash in lexicographical order.
45+
46+
The deployment process is supported by the provided script `deploy.sh`.
47+
3548
Further note for Centos/Red Hat/Fedora Systems
3649
----------------------------------------------
3750

0 commit comments

Comments
 (0)