All Apps and Add-ons

Splunk HttpEventCollectorLogbackAppender is not supporting logstash encoder

raghasudha10
Engager

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.

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...