-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finally got the right magic for fluent to forward logs.
- Loading branch information
Showing
3 changed files
with
104 additions
and
2 deletions.
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,39 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
labels: | ||
run: kibana-proxy | ||
name: kibana-proxy | ||
namespace: monitoring | ||
spec: | ||
type: ExternalName | ||
externalName: vpc-opensearch-stage-woesdamvqbli5siagd7guw7ubi.us-west-2.es.amazonaws.com | ||
--- | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
annotations: | ||
cert-manager.io/cluster-issuer: letsencrypt-prod | ||
kubernetes.io/ingress.class: nginx | ||
nginx.ingress.kubernetes.io/auth-type: basic | ||
nginx.ingress.kubernetes.io/auth-secret: htpasswd | ||
nginx.ingress.kubernetes.io/auth-realm: 'You may ask yourself: How did I get here?' | ||
name: kibana-proxy | ||
namespace: monitoring | ||
spec: | ||
tls: | ||
- hosts: | ||
- kibana.k8s.castlerock.ai | ||
secretName: kibana-tls-cert | ||
rules: | ||
- host: kibana.k8s.castlerock.ai | ||
http: | ||
paths: | ||
- path: "/" | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: kibana-proxy | ||
port: | ||
number: 80 |
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,18 @@ | ||
plugins: | ||
- fluent-plugin-opensearch | ||
|
||
fileConfigs: | ||
04_outputs.conf: |- | ||
<label @OUTPUT> | ||
<match ** > | ||
@type opensearch | ||
host vpc-opensearch-stage-woesdamvqbli5siagd7guw7ubi.us-west-2.es.amazonaws.com | ||
port 443 | ||
ssl_verify false | ||
logstash_format true | ||
ssl_version TLSv1_2 | ||
logstash_prefix fluentd | ||
include_timestamp true | ||
scheme https | ||
</match> | ||
</label> |