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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...