forked from telekom-security/tpotce
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ff1c12e
commit 5f29516
Showing
4 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Input section | ||
input { | ||
http { | ||
id => "tpot" | ||
host => "0.0.0.0" | ||
port => "80" | ||
} | ||
} | ||
|
||
# Output section | ||
output { | ||
elasticsearch { | ||
hosts => ["elasticsearch:9200"] | ||
# With templates now being legacy and ILM in place we need to set the daily index with its template manually. Otherwise a new index might be created with differents settings configured through Kibana. | ||
index => "logstash-%{+YYYY.MM.dd}" | ||
template => "/etc/logstash/tpot_es_template.json" | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- pipeline.id: logstash | ||
path.config: "/etc/logstash/conf.d/logstash.conf" | ||
- pipeline.id: http | ||
path.config: "/etc/logstash/conf.d/http.conf" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters