I followed http://dev.splunk.com/view/event-collector/SP-CAAAE62 for HTTP Event Collector and am able to run successfully through Eclipse which I can see the input what I passed and it got resulted in the console, but I was not able to see the same input in Splunk. I used same log4j2 as mentioned and gave the Splunk host and token.
My log4j looks like,
<Http name="http"
url="https://http-inputs-******-ma.splunkcloud.com/services/collector/event"
token="*******-***-****-****-**********"
disableCertificateValidation="true" batch_size_count="1">
<PatternLayout pattern="%m" />
</Http>
</Appenders>
Note : I did test the same with curl. It works and I can see the message.
... View more