<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Send data from Universal forwarder to Splunk cloud over HTTP (HEC) in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610254#M105750</link>
    <description>&lt;P&gt;Please see the "Send data to HTTP Event Collector on Splunk Cloud Platform" section in the following documentation.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.0/Data/UsetheHTTPEventCollector" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.0/Data/UsetheHTTPEventCollector&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you using the correct URI format with prefix and endpoint?&amp;nbsp;The standard form for the HEC URI in Splunk Cloud Platform is as follows:&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&amp;lt;protocol&amp;gt;://http-inputs-&amp;lt;host&amp;gt;.splunkcloud.com:&amp;lt;port&amp;gt;/&amp;lt;endpoint&amp;gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing to point out is that if you are using httpout, there is no need for the Splunk forwarder app (100_splunkcloud) as that is for Splunk-to-Spunk (S2S) forwarding. Splunk UFs can do either tcpout or httpout, but not both.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Forwarder/latest/Forwarder/Configureforwardingwithoutputs.conf#Available_parameters_for_the_httpout_stanza" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Forwarder/latest/Forwarder/Configureforwardingwithoutputs.conf#Available_parameters_for_the_httpout_stanza&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. .conf files should generally be within a custom-created app for the purpose such as: $SPLUNK_HOME/etc/apps/network_inputs/local.conf or $SPLUNK_HOME/etc/apps/base_configs/server.conf, but can be created within $SPLUNK_HOME/etc/system/local without issue to have the highest global precedence if desired.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is some documentation on file precedence:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.0/Admin/Wheretofindtheconfigurationfiles" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.0/Admin/Wheretofindtheconfigurationfiles&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. You are correct, _internal and _audit logs are collected by default in /etc/system/default/inputs.conf and will ingest into SplunkCloud once forwarding is configured.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also came across this blog post which may be helpful:&lt;/P&gt;&lt;P&gt;&lt;A href="https://discoveredintelligence.ca/solving-roaming-users-http-out-for-the-splunk-universal-forwarder/" target="_blank" rel="noopener"&gt;https://discoveredintelligence.ca/solving-roaming-users-http-out-for-the-splunk-universal-forwarder/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 21 Aug 2022 23:00:26 GMT</pubDate>
    <dc:creator>mroenicke</dc:creator>
    <dc:date>2022-08-21T23:00:26Z</dc:date>
    <item>
      <title>How to send data from Universal forwarder to Splunk cloud over HTTP (HEC)?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610239#M105745</link>
      <description>&lt;P&gt;I'm trying to send data from Splunk universal forwarder (latest) to the Splunk cloud over HTTP event collector.&lt;/P&gt;
&lt;P&gt;I have done the below steps:&lt;/P&gt;
&lt;P&gt;1) Downloaded "Universal forwarder credentials" from our Splunk cloud and installed on Splunk universal forwarder machine.&lt;/P&gt;
&lt;P&gt;2) Configured "outputs.conf" file as below&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%"&gt;
&lt;P data-unlink="true"&gt;[httpout]&lt;BR /&gt;httpEventCollectorToken = &amp;lt;http_token&amp;gt;&lt;BR /&gt;uri = https://&amp;lt;splunkcloud_url&amp;gt;:443&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Server.conf:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%"&gt;[proxyConfig]&lt;BR /&gt;http_proxy =&lt;A href="http://ip:port" target="_blank" rel="noopener"&gt;http://ip:port&lt;/A&gt;&lt;BR /&gt;https_proxy = &lt;A href="http://ip:port" target="_blank" rel="noopener"&gt;http://ip:port&lt;/A&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3) Tested using CURL command:&amp;nbsp; I can send data to Splunk cloud&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Response:&amp;nbsp;{"text":"Success","code":0}&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%" height="47px"&gt;curl &lt;A href="https://&amp;lt;splunk" target="_blank" rel="noopener"&gt;https://&amp;lt;splunk cloud endpoint:443&amp;gt;&lt;/A&gt;&amp;nbsp;/services/collector&amp;nbsp; -H "Authorization: Splunk &amp;lt;HEC TOKEN&amp;gt;" -d '{"event": "hello world"}'&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;With the above configurations , I couldnot send data to Splunk cloud.. What do i miss here?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;1) Where do I need to configure "inputs.conf" , "outputs.conf " and "server.conf"&amp;nbsp; in ----&amp;gt; &lt;STRONG&gt;...etc/system/local&lt;/STRONG&gt;&amp;nbsp; (OR) &lt;STRONG&gt;...etc/apps/100_splunkcloud/local&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp;(OR)&amp;nbsp;&lt;STRONG&gt; etc/apps/splunk_httpinput/local&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp;?&lt;/P&gt;
&lt;P&gt;2) If don't configure inputs.conf in local, as per the default inputs.conf, I should see _internal, _audit logs of UF right?&lt;/P&gt;
&lt;P&gt;How can I troubleshoot this issue to send data from UF to Splunk cloud over http? Any help would be appreciated.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;MS&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 12:06:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610239#M105745</guid>
      <dc:creator>mala_splunk_91</dc:creator>
      <dc:date>2022-08-22T12:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Send data from Universal forwarder to Splunk cloud over HTTP (HEC)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610240#M105746</link>
      <description>&lt;P&gt;Splunkd.log:&lt;BR /&gt;&lt;BR /&gt;08-21-2022 11:04:29.282 -0400 WARN TcpOutputFd [20567 TcpOutEloop] - Connect to &amp;lt;IP&amp;gt;9997 failed. Network is unreachable&lt;BR /&gt;08-21-2022 11:04:29.282 -0400 ERROR TcpOutputFd [20567 TcpOutEloop] - Connection to host=&amp;lt;IP&amp;gt;:9997 failed&lt;BR /&gt;&lt;BR /&gt;To send data over HEC, Do I need to have 9997 port listening on the Splunk cloud servers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 15:13:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610240#M105746</guid>
      <dc:creator>mala_splunk_91</dc:creator>
      <dc:date>2022-08-21T15:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Send data from Universal forwarder to Splunk cloud over HTTP (HEC)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610254#M105750</link>
      <description>&lt;P&gt;Please see the "Send data to HTTP Event Collector on Splunk Cloud Platform" section in the following documentation.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.0/Data/UsetheHTTPEventCollector" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.0/Data/UsetheHTTPEventCollector&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you using the correct URI format with prefix and endpoint?&amp;nbsp;The standard form for the HEC URI in Splunk Cloud Platform is as follows:&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&amp;lt;protocol&amp;gt;://http-inputs-&amp;lt;host&amp;gt;.splunkcloud.com:&amp;lt;port&amp;gt;/&amp;lt;endpoint&amp;gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing to point out is that if you are using httpout, there is no need for the Splunk forwarder app (100_splunkcloud) as that is for Splunk-to-Spunk (S2S) forwarding. Splunk UFs can do either tcpout or httpout, but not both.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Forwarder/latest/Forwarder/Configureforwardingwithoutputs.conf#Available_parameters_for_the_httpout_stanza" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Forwarder/latest/Forwarder/Configureforwardingwithoutputs.conf#Available_parameters_for_the_httpout_stanza&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. .conf files should generally be within a custom-created app for the purpose such as: $SPLUNK_HOME/etc/apps/network_inputs/local.conf or $SPLUNK_HOME/etc/apps/base_configs/server.conf, but can be created within $SPLUNK_HOME/etc/system/local without issue to have the highest global precedence if desired.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is some documentation on file precedence:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.0/Admin/Wheretofindtheconfigurationfiles" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.0/Admin/Wheretofindtheconfigurationfiles&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. You are correct, _internal and _audit logs are collected by default in /etc/system/default/inputs.conf and will ingest into SplunkCloud once forwarding is configured.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also came across this blog post which may be helpful:&lt;/P&gt;&lt;P&gt;&lt;A href="https://discoveredintelligence.ca/solving-roaming-users-http-out-for-the-splunk-universal-forwarder/" target="_blank" rel="noopener"&gt;https://discoveredintelligence.ca/solving-roaming-users-http-out-for-the-splunk-universal-forwarder/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 23:00:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610254#M105750</guid>
      <dc:creator>mroenicke</dc:creator>
      <dc:date>2022-08-21T23:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Send data from Universal forwarder to Splunk cloud over HTTP (HEC)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610300#M105763</link>
      <description>&lt;P&gt;Disable your tcpout output. A UF can send to either a tcpout or httpout. You can't have both.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 07:45:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610300#M105763</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-08-22T07:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Send data from Universal forwarder to Splunk cloud over HTTP (HEC)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610307#M105764</link>
      <description>For curiosity, what it the issue which you try to solve by using HEC instead of normal S2S protocol between UFs and SplunkCloud?</description>
      <pubDate>Mon, 22 Aug 2022 09:46:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610307#M105764</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-08-22T09:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Send data from Universal forwarder to Splunk cloud over HTTP (HEC)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610333#M105766</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Do I need to disable tcpout in system/defaults as well?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 12:48:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610333#M105766</guid>
      <dc:creator>mala_splunk_91</dc:creator>
      <dc:date>2022-08-22T12:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Send data from Universal forwarder to Splunk cloud over HTTP (HEC)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610334#M105767</link>
      <description>&lt;P&gt;We are collecting logs from many source using HEC in Splunk cloud.&lt;BR /&gt;We have a requirement to collect data using universal forwarder. So, we are testing universal forwarder to send data to Splunk cloud over HEC. Also, I need to test if data is sent&amp;nbsp; in compressed format.&lt;BR /&gt;&lt;BR /&gt;If S2S works well for this scenario, Please provide me a guide on this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 12:53:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610334#M105767</guid>
      <dc:creator>mala_splunk_91</dc:creator>
      <dc:date>2022-08-22T12:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Send data from Universal forwarder to Splunk cloud over HTTP (HEC)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610335#M105768</link>
      <description>&lt;P&gt;See the &lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.0/Admin/Wheretofindtheconfigurationfiles" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.0/Admin/Wheretofindtheconfigurationfiles &lt;/A&gt;document. It will save you much pain later &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 12:55:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610335#M105768</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-08-22T12:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Send data from Universal forwarder to Splunk cloud over HTTP (HEC)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610338#M105769</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/248759"&gt;@mroenicke&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have configured below URI for [httpout] in outputs.conf file&lt;/P&gt;&lt;P&gt;uri = &lt;A href="https://community.splunk.com/" target="_blank"&gt;https://http-inputs-&amp;lt;host&amp;gt;.splunkcloud.com:443&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Do I need to add &amp;lt;endpoint&amp;gt; as "/services/collector/_raw" in the uri?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 13:06:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610338#M105769</guid>
      <dc:creator>mala_splunk_91</dc:creator>
      <dc:date>2022-08-22T13:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Send data from Universal forwarder to Splunk cloud over HTTP (HEC)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610350#M105770</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214410"&gt;@isoutamo&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Also, We wanted to send data via Http and not TCP...&lt;/P&gt;&lt;P&gt;Splunk S2S helps on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 14:07:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-data-from-Universal-forwarder-to-Splunk-cloud-over/m-p/610350#M105770</guid>
      <dc:creator>mala_splunk_91</dc:creator>
      <dc:date>2022-08-22T14:07:29Z</dc:date>
    </item>
  </channel>
</rss>

