Skip to content

Commit

Permalink
Consolidated logstash files
Browse files Browse the repository at this point in the history
- Combined all 3 files to one single file
  • Loading branch information
justmeandopensource committed Nov 16, 2018
1 parent 33f8fa1 commit 3cdeaa7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
8 changes: 0 additions & 8 deletions logstash/01-logstash-input.conf

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
input {
beats {
port => 5044
ssl => true
ssl_certificate => "/etc/pki/tls/certs/logstash.crt"
ssl_key => "/etc/pki/tls/private/logstash.key"
}
}

filter {
if [type] == "syslog" {
grok {
Expand All @@ -14,3 +23,10 @@ filter {
}
}

output {
elasticsearch {
hosts => "localhost:9200"
index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
}
}

6 changes: 0 additions & 6 deletions logstash/03-logstash-output.conf

This file was deleted.

0 comments on commit 3cdeaa7

Please sign in to comment.