Is there any way to display images in Graylog?
We have a set of machines which send screenshots on crashes and it would be very useful for administrators to be able to view that images in Graylog.
no that is not possible. No binary data.
Thanks @jan! A few follow up questions.
- We are sending the image to GrayLog as a base64 encoded string. Is it possible to render that string as image using extractors, decorators, dashboard or anything else?
- Is there a plugin we can develop to render these images converting the base64 encoded string?
- Lastly, will GrayLog support this in future releases?
Thanks again!
AT
when you encode the image as string you can save that - but no current plugin I’m aware of can decode that and display the image.
You would need to create a plugin that will do this, for example as part of the decorators.
Thank you @jan! A few more questions:
- We used this sample plugin project https://github.com/Graylog2/graylog-plugin-sample. This requires https://github.com/Graylog2/graylog2-server. We are running into issues with this plugin sample. We are getting errors. Is there an updated plugin sample?
- We are currently using GrayLog 2.5.1. If we develop a plugin for 2.5.1, what are the chances that it will work with GrayLog 3.+?
Thanks again for your responses
AT
All our code is public - we do not have other samples than the given one. You might want to check this community for similar questions and already provided help.
If that plugin is compatible with the new Graylog highly depends where you attache it too - what api options you use and many more … that can’t be answered easily.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.