mirror of https://github.com/MISP/MISP
chg: [doc] Added kafka ass a function
parent
3d03818058
commit
8de2df929e
|
@ -479,12 +479,16 @@ $SUDO_WWW ${PATH_TO_MISP}/venv/bin/pip install pyzmq
|
||||||
|
|
||||||
#### MISP has a feature for publishing events to Kafka. To enable it, simply run the following commands
|
#### MISP has a feature for publishing events to Kafka. To enable it, simply run the following commands
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get install librdkafka-dev php-dev -y
|
# <snippet-begin 4_kafka.sh>
|
||||||
sudo pecl channel-update pecl.php.net
|
installKafka () {
|
||||||
sudo pecl install rdkafka
|
sudo apt-get install librdkafka-dev php-dev -y
|
||||||
echo "extension=rdkafka.so" | sudo tee ${PHP_ETC_BASE}/mods-available/rdkafka.ini
|
sudo pecl channel-update pecl.php.net
|
||||||
sudo phpenmod rdkafka
|
sudo pecl install rdkafka
|
||||||
sudo service apache2 restart
|
echo "extension=rdkafka.so" | sudo tee ${PHP_ETC_BASE}/mods-available/rdkafka.ini
|
||||||
|
sudo phpenmod rdkafka
|
||||||
|
sudo service apache2 restart
|
||||||
|
}
|
||||||
|
# <snippet-end 4_kafka.sh>
|
||||||
```
|
```
|
||||||
|
|
||||||
{!generic/misp-dashboard-debian.md!}
|
{!generic/misp-dashboard-debian.md!}
|
||||||
|
@ -497,13 +501,6 @@ sudo service apache2 restart
|
||||||
|
|
||||||
{!generic/hardening.md!}
|
{!generic/hardening.md!}
|
||||||
|
|
||||||
#### misp-modules (section deprecated)
|
|
||||||
-------------------------------
|
|
||||||
!!! notice
|
|
||||||
If you want to add the misp modules functionality, follow the setup procedure described in misp-modules:<br />
|
|
||||||
https://github.com/MISP/misp-modules#how-to-install-and-start-misp-modules<br />
|
|
||||||
Then the enrichment, export and import modules can be enabled in MISP via the settings.
|
|
||||||
|
|
||||||
# INSTALL.sh
|
# INSTALL.sh
|
||||||
|
|
||||||
!!! notice
|
!!! notice
|
||||||
|
|
Loading…
Reference in New Issue