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!

Extending Splunk AI Assistant for SPL to Splunk Enterprise customers!

Howdy Splunk Community! It’s an exciting day here at Splunk – Splunk AI Assistant for SPL version 1.3.0 is now ...

Developer Spotlight with Qmulos

Qmulos: Building a Next-Level Cybersecurity Business through Splunk Apps Qmulos started as a scrappy startup ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Enhance Security Operations with Automated Threat Analysis in the Splunk EcosystemAre you leveraging ...