Hi
I am trying to integrate log4j with splunk as shown below and I am getting error - Log4j2-TF-1-AsyncLoggerConfig-1 ERROR Unable to send HTTP in appender [httptest] java.io.IOException: 401 Unauthorized.
<Http name="httptest" url="https://prd-p-xtpce.splunkcloud.com:8088/services/collector/raw">
<Property name="Authorization" value="Splunk xxxxxxx-998c-4547-beea-xxxxxx"/>
<Property name="disableCertificateValidation" value="true"/>
<JsonLayout properties="true"/>
</Http>
The token is valid and able to post data from postman.
Thanks