I want this output in json format:
{
"Info": "[ReadDockerQueue] [ReadMessageQueue]"
"message": {"requestType":"PortfolioResponse","parametersJson":"{"algorithmAccessSpecifications":{"dockerName":"D1","xxx":"xxx","userName":"xxx","instanceGuid":"95519e30-d552-4171-bd17-9030ec6116ae"},"usersPortfolios":[{"userName":"0013538225","userPortfolios":}]}"}
"desc": "[Dir] ir.sanayco.library.Algorithm.AlgorithmCoreBase.AlgorithmCoreBase$ReadDockerQueue"
} How can I solve my problem?
I have another problem in Message field. When I run your code, I receive string format in Message field. I want the output of Message field be a Json. It would be like this:
I have noticed that. What you copied or originally had received, the message is not valid JSON format. You can check and correct here
Another option is to manually split by grok or just by ",
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.