Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Gigaspaces log4j kafka elasticsearch

Hi,

I would like to ship gigaspaces logs (GSA, GSC) to elasticsearch, without the use of ELK heavy logstash, but rather using log4j. Final setup CGC/GSA (using log4j, kafka-clients and jackson.core) -> kafka cluster -> Elasticsearch.

Do I only need to provide the additional libraries and replace the gs_logging.properties with a log4j properties file, or is there more to do to achieve this.

Second option would be CGC/GSA (using logback kafka-clients and logstash-encoder) -> elasticsearch. Either would be fine.

Thank you.

asked 2018-02-07 11:18:49 -0600

C45p31 gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Hi

If you want GigaSpaces to use log4j you have to tell it to do so.

handlers=java.util.logging.ConsoleHandler, com.gigaspaces.logger.RollingFileHandler

The default uses our logger; you should set it to your log4j logger.

Look here if you have further questions:

https://docs.gigaspaces.com/xap/12.2/...

Regards

Yuval

answered 2018-02-08 07:08:55 -0600

Yuval gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2018-02-07 11:18:49 -0600

Seen: 61 times

Last updated: Feb 08