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

Featrure to write to a file system #19

Open
RalfNeugebauerATrobotronDE opened this issue Jun 22, 2021 · 4 comments
Open

Featrure to write to a file system #19

RalfNeugebauerATrobotronDE opened this issue Jun 22, 2021 · 4 comments

Comments

@RalfNeugebauerATrobotronDE

Hello,

We would like to use the feature "Write logs in JSON format into the file system so that they could be collected and published by a sidecar, e.g. fluentd or Logstash.", but I can't see an example for the configuration in "WebLogicLoggingExporter.yaml".

Can you help me with that, please?

Kind regards
Ralf

@rjeberhard
Copy link
Member

Unfortunately, this isn't yet implemented. I'll get someone to cleanup the text. A little lower it does say that these features are planned for the "next few releases", but this is obviously confusing.

@RalfNeugebauerATrobotronDE
Copy link
Author

Hello,

Is there any plan to implement it in the near future?

Kind regards
Ralf

@markxnelson
Copy link
Member

Hi, we are happy to take requests - though you can already achieve this with fluentd itself. Please see docs/samples at https://oracle.github.io/weblogic-kubernetes-operator/samples/simple/elastic-stack/weblogic-domain/ that show how to read and parse the logs with a fluentd sidecar. If that does not work for you, please update this issue again and we'll take a look. Thanks

@NickWemekamp
Copy link

@RalfNeugebauerATrobotronDE
I have created a pull request #20 for writing logs to a JSON file. It is a bit opiniated as I wanted it to work for our company but maybe you find it useful.

@markxnelson Can someone of your team review the pull request. I forgot to sign it so I'll do that as well. If it's too opiniated (I use a different json format then the elasticsearch exporter does) then thats understable as well.

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

4 participants