Getting Data In

Splunk Cloud Http Collector with Log4j2

JPZamoraa
New Member

Reviewing some docs to use Splunk Cloud (trial version) with a Java App with log4j2 I need to configure a Http Event Collector to get a Token (I did this part). But in the log4j2.xml file I need to set the token and the URL, where or how can I get the URL?

Thanks

Labels (1)
Tags (1)
0 Karma

Roy_9
Motivator

Hello,

Url should be in the below format.

http-inputs-<instancename>.splunkcloud.com

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

The Data Connection - November 2026

Machine data keeps growing, and every new source brings practical questions: where should it live, how ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...

Splunk SecOps on AWS: A New Agentic SecOps Experience

Key takeaways At AWS:reinvent, Splunk, in partnership with Amazon Web Services (AWS), announced Splunk SecOps ...