Splunk Dev

Splunk http event collector log4j2 configuration

shivak81
New Member
<SplunkHttp name="http-inputs"
              url="https:/hostname/services/collector/event"
              token="xxxx"
              host=""
              index="xxx"
              sourcetype="xxx"
             disableCertificateValidation="true">
            <PatternLayout pattern="%m"/>
        </SplunkHttp>

<Loggers>
        <Root level="INFO">
              <AppenderRef ref="http-inputs"/>
        </Root>
    </Loggers>

I just made the above configuration for http event collector splunk. Is there anything i am missing i dont see my logs

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...