Getting Data In

Why does data ingestion from Spring boot application to Splunk stops intermittently?

life1style1
New Member

I have a Spring boot application where I have configured log4j to use Http event collector.

The data ingestion is successfully done but the ingestion stops intermittently and again resumes, there is no definite pattern for resuming the ingesion

There is no failure logs in the tomcat as well.

Below are the configuration in log4j2-spring.xml :

 

<SplunkHttp
name="splunkhttp"
host="dummy"
source="source1"
url="https://http-yyy-xxxx.splunkcloud.com"
token="xxxxxxxxxxxxxxxx"
index="ssssssss"
sourcetype="log4j"
disableCertificateValidation="true" >
<PatternLayout
pattern="%m" />
</SplunkHttp>


<Loggers>

</Logger>
<Logger name="com.some.service" level="debug" additivity="false">
<appender-ref ref="splunkhttp" />
</Logger>

</Loggers>

 

The following are the dependency in pom.xml :

 

<repositories>
<repository>
<id>splunk-artifactory</id>
<name>Splunk Releases</name>
<url>https://splunk.jfrog.io/splunk/ext-releases-local</url>
</repository>
</repositories>

 

<repositories>
<repository>
<id>splunk-artifactory</id>
<name>Splunk Releases</name>
<url>https://splunk.jfrog.io/splunk/ext-releases-local</url>
</repository>
</repositories>

 

Any pointer please.

 

Labels (1)
0 Karma
Get Updates on the Splunk Community!

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...

Splunk Answers Content Calendar, June Edition II

Get ready to dive into Splunk Dashboard panels this week! We'll be tackling common questions around ...

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...