root@457165ff1c3e:/# cat /etc/logstash/conf.d/* | grep -v \#
input {
gelf { codec => “json” }
}
filter {
json {
source => “message”
}
}
output {
elasticsearch { hosts => [“0:9200”] }
}
root@457165ff1c3e:/#
ai w/ vpn | meh
root@457165ff1c3e:/# cat /etc/logstash/conf.d/* | grep -v \#
input {
gelf { codec => “json” }
}
filter {
json {
source => “message”
}
}
output {
elasticsearch { hosts => [“0:9200”] }
}
root@457165ff1c3e:/#
search and replace:
$ grep --after-context=3 ports docker-compose.yml
ports:
- "5601:5601"
- "9200:9200"
- "5044:5044"
$
&
$ grep --after-context=3 expose docker-compose.override.yml
expose:
- "5601"
- "9200"
- "5044"
$