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!

Splunk Training for All: Meet Aspiring Cybersecurity Analyst, Marc Alicea

Splunk Education believes in the value of training and certification in today’s rapidly-changing data-driven ...

Investigate Security and Threat Detection with VirusTotal and Splunk Integration

As security threats and their complexities surge, security analysts deal with increased challenges and ...

Observability Highlights | January 2023 Newsletter

 January 2023New Product Releases Splunk Network Explorer for Infrastructure MonitoringSplunk unveils Network ...