Can you go to 8.10? Because it’s included in 8.10+ too.
If not, the patch that added this capability is in this issue and maybe you can make something of it: https://issues.apache.org/jira/browse/SOLR-15610 On Jun 12, 2022, 8:03 AM -0500, 123456780sss <[email protected]>, wrote: > Hello, > We have a solrCloud running solr 8.6.3 and we want to write our logs as jsons. > > We looked around and decided that the best way to achieve this is by using > the log4j-layout-template-json extension published by apache. > (https://logging.apache.org/log4j/2.x/manual/json-template-layout.html) > > we tried to implement it by adding the jar to our lib folder (where we put > the custom solr components we wrote) and using the configuration written for > this purpose in solr's repo > (https://github.com/apache/solr/blob/b0a4b0213016bef59fcc6a280c498cbf35e64230/solr/docker/tests/cases/test_log4j/log4j2.xml) > but ended up disappointed because instead of writing the logs in json format > we got a watered down version of our logs that is not a valid json. > > we did some digging an discovered that in solr 9.0.0 this jar was added to > solr's build. however, we are unable to upgrade to solr 9 at the moment. is > there a way to apply this jar to the cluster in solr 8.6.3?
