## Using log4j to send audit trail to Kafka¶

This is a non-supported example of how to configure the Log4J reporting target to send to Kafka

Apache Kafka is a distributed message queue, which can be used to get audit logs out of DSS

To enable audit queries to Kafka:

• Add all jars from the Kafka distribution to the lib/java folder of your DSS datadir
• Create or edit the resources/logging/dku-log4j.properties file (See Logging in DSS for more information)
log4j.appender.AUDIT_KAFKA=org.apache.kafka.log4jappender.KafkaLog4jAppender