Archive2
Highlighted

Splunk HttpEventCollectorLogbackAppender is not supporting logstash encoder

New Member

I added the HttpEventCollectorLogbackAppender to my log back and included logstash encoder in my API. Then I tried to start my application and I am getting the below errors
Exception in thread "main" java.lang.IllegalStateException: Logback configuration error detected:
ERROR in ch.qos.logback.core.joran.spi.Interpreter@327:66 - no applicable action for [encoder], current ElementPath is [[configuration][appender][encoder]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@328:17 - no applicable action for [fieldNames], current ElementPath is [[configuration][appender][encoder][fieldNames]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@329:15 - no applicable action for [version], current ElementPath is [[configuration][appender][encoder][fieldNames][version]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@330:18 - no applicable action for [levelValue], current ElementPath is [[configuration][appender][encoder][fieldNames][levelValue]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@332:23 - no applicable action for [timestampPattern], current ElementPath is [[configuration][appender][encoder][timestampPattern]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@333:32 - no applicable action for [shortenedLoggerNameLength], current ElementPath is [[configuration][appender][encoder][shortenedLoggerNameLength]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@334:24 - no applicable action for [includeCallerData], current ElementPath is [[configuration][appender][encoder][includeCallerData]]

====================================

I added the following in my logback.

0 Karma
Reply
Speak Up for Splunk Careers!

We want to better understand the impact Splunk experience and expertise has has on individuals' careers, and help highlight the growing demand for Splunk skills.