Skip to content
Snippets Groups Projects
Commit 2ea28981 authored by Stefano Di Frischia's avatar Stefano Di Frischia
Browse files

L2SS-1052: clean logstash config file

parent 0b10fec7
No related branches found
No related tags found
1 merge request!480Resolve L2SS-1052 "Reroute to loki"
input { input {
beats { beats {
port => 5044 port => 5044
# ssl => true # TODO (L2SS-748) add SSL encryption
# ssl_certificate => "/etc/pki/tls/certs/logstash-beats.crt"
# ssl_key => "/etc/pki/tls/private/logstash-beats.key"
} }
}
input {
syslog { syslog {
port => 1514 port => 1514
} }
}
input {
tcp { tcp {
port => 5959 port => 5959
codec => json codec => json
...@@ -34,14 +26,6 @@ filter { ...@@ -34,14 +26,6 @@ filter {
} }
} }
# filter {
# if [type] == "nginx-access" {
# grok {
# match => { "message" => "%{NGINXACCESS}" }
# }
# }
# }
filter { filter {
if [program] == "grafana" { if [program] == "grafana" {
kv { } kv { }
...@@ -140,11 +124,6 @@ filter { ...@@ -140,11 +124,6 @@ filter {
} }
output { output {
# elasticsearch {
# hosts => ["localhost"]
# manage_template => false
# index => "logstash-%{+YYYY.MM.dd}"
# }
loki { loki {
url => "http://loki:3100/loki/api/v1/push" url => "http://loki:3100/loki/api/v1/push"
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment