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!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...