Question
de Volksbank
NL
Last activity: 3 Mar 2019 22:06 EST
how to convert .log file to .json.log - We have to use for ELK
Hi All,
We have recently configured the ELK in dev region and we have. For Kibana we have to pass .json.log as input but we have only .log files.
How to generate the .json.log file from .log file.
This is what we followed for setting up ELK:
Regards
Gouri Shankar K
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
JPMorgan Chase & Company
US
Hi,
de Volksbank
NL
Hi - i know how to configure the appender, i have already posted the configuration link, .json.log is generating properly.
My question is how to convert the .log file to .json.log. (This is for existing .log files i want to analyse through kibana.)
We are on pega 7.3.0 so we have done it in prlog4j2.xml (prloggig.xml is not supported for this version)
Regards
Gouri Shankar K
Trivento
NL
Hello GOURI_SHANKAR_K,
Would you like to share your prlog4j2 xml configuration please?
I'm trying to do the same but haven't found any good example or setup yet.
Thanks in advance,
Machiel
Pegasystems Inc.
IN
Hi,
Thank you for posting your query in the PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write Post button here. Once created, please reply back here with the URL of the new post.
You may also refer this discussion link as a reference in the new thread.
de Volksbank
NL
Waiting for solutions..
de Volksbank
NL
Waiting for solutions..
Pegasystems Inc.
US
There isn't anything in Pega out of the box that can do this, you'll have to see what you can find online for this. For example: https://stackoverflow.com/questions/21477997/converting-existing-log-files-to-json-format-for-analysis-purposes
The comments here suggest that a script could be created to do this or a logstash filter.