Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

Some Apps don't send logs to elastic search #63

Closed
r4vi opened this issue Sep 12, 2018 · 1 comment
Closed

Some Apps don't send logs to elastic search #63

r4vi opened this issue Sep 12, 2018 · 1 comment

Comments

@r4vi
Copy link

r4vi commented Sep 12, 2018

What happened?

Some Apps don't send logs to elastic search

Steps to reproduce the problem

Generate some logs in a deployed webapp, look in elasticsearch/kibana for those logs. The logs don't appear

Can you reproduce the problem consistently?

yes

Expected behaviour

the logs should appear in kibana

@r4vi
Copy link
Author

r4vi commented Sep 12, 2018

this might be because some apps get deployed without any elasticsearch credentials

$ k get secrets -n apps-prod  coroner-stat-tool-ext-webapp -o yaml

apiVersion: v1
data:
...
  elasticsearch_host: null
  elasticsearch_password: null
  elasticsearch_port: OTIwMA==
  elasticsearch_scheme: aHR0cA==
  elasticsearch_username: null
kind: Secret
metadata:
  creationTimestamp: 2018-07-17T11:18:36Z
  labels:
    app: coroner-stat-tool-ext-webapp
    chart: webapp-1.3.14
  name: coroner-stat-tool-ext-webapp
  namespace: apps-prod
  resourceVersion: "105127309"
  selfLink: /api/v1/namespaces/apps-prod/secrets/coroner-stat-tool-ext-webapp
  uid: 2611e4d8-89b3-11e8-9097-0ae455342364
type: Opaque

@bagg3rs bagg3rs closed this as completed Mar 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants