Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update #1

Open
kfox1111 opened this issue Jan 5, 2018 · 0 comments
Open

update #1

kfox1111 opened this issue Jan 5, 2018 · 0 comments

Comments

@kfox1111
Copy link

kfox1111 commented Jan 5, 2018

I tried to add the logtrail plugin so I could follow kubernetes logs in the managed cluster but couldn't. kibana was too old.
I added the following to the Docker file:
bin/kibana-plugin install https://github.com/sivasamyk/logtrail/releases/download/v0.1.23/logtrail-5.6.5-0.1.23.zip &&
sed -i 's/"message": "syslog_message"/"message": "log"/;s/"program": "program"/"program": "kubernetes.pod_name"/;s/"message_format": "{{{syslog_message}}}"/"message_format": "{{{log}}}"/' /opt/kibana/plugins/logtrail/logtrail.json && \

bumped the version to 5.6.5 everywhere and changed the last line to:
kibana 2>&1 | grep -m 1 "Server running at" # [1]
as the output message changed in the newer version and everything worked well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant