Update README
This commit is contained in:
16
README
16
README
@@ -1,24 +1,26 @@
|
|||||||
Configure Kafka topics (run on one kafka node)
|
## Installation on FreeBSD
|
||||||
|
|
||||||
|
#Configure Kafka topics (run on one kafka node)
|
||||||
doc/kafka_topics.sh
|
doc/kafka_topics.sh
|
||||||
|
|
||||||
Initialize elasticsearch:
|
#Initialize elasticsearch:
|
||||||
curl -X PUT 'http://<elasticsearch>:9200/threatline' -d@doc/es_mapping.json
|
curl -X PUT 'http://<elasticsearch>:9200/threatline' -d@doc/es_mapping.json
|
||||||
|
|
||||||
Install service file (FreeBSD):
|
#Install service file:
|
||||||
cp doc/threatline /usr/local/etc/rc.d/threatline
|
cp doc/threatline /usr/local/etc/rc.d/threatline
|
||||||
|
|
||||||
Enable threatline:
|
#Enable threatline:
|
||||||
sysrc threatline_enable=YES
|
sysrc threatline_enable=YES
|
||||||
sysrc threatline_agents="normalize enrich check archive"
|
sysrc threatline_agents="normalize enrich check archive"
|
||||||
|
|
||||||
Start threatline:
|
#Start threatline:
|
||||||
service threatline start
|
service threatline start
|
||||||
|
|
||||||
Monitor logs:
|
#Monitor logs:
|
||||||
tail -f /tmp/tl_worker.log
|
tail -f /tmp/tl_worker.log
|
||||||
|
|
||||||
|
|
||||||
Stages:
|
#Stages:
|
||||||
Normalize: Touch-up/rename fields, etc.
|
Normalize: Touch-up/rename fields, etc.
|
||||||
Enrich: Enrich and part of the message.
|
Enrich: Enrich and part of the message.
|
||||||
Check: Checks parts of message (now enriched) against known bad stuff.
|
Check: Checks parts of message (now enriched) against known bad stuff.
|
||||||
|
|||||||
Reference in New Issue
Block a user