<?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: Splunk HEC Data Ingestion Issue from Azure Web Apps to Customer Cloud Instance in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-HEC-Data-Ingestion-Issue-from-Azure-Web-Apps-to-Customer/m-p/752106#M119435</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/312363"&gt;@coddydaddy88&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Splunk Cloud may have an IP allow list configured, restricting HEC requests to specific IPs. If the Azure Web Apps outbound IP addresses are not included, requests may be accepted but not processed&lt;/P&gt;&lt;P&gt;&lt;A href="https://splunk.my.site.com/customer/s/article/Unable-to-ingest-data-though-the-HEC-token" target="_blank"&gt;https://splunk.my.site.com/customer/s/article/Unable-to-ingest-data-though-the-HEC-token&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Aug 2025 05:36:15 GMT</pubDate>
    <dc:creator>kiran_panchavat</dc:creator>
    <dc:date>2025-08-25T05:36:15Z</dc:date>
    <item>
      <title>Splunk HEC Data Ingestion Issue from Azure Web Apps to Customer Cloud Instance</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-HEC-Data-Ingestion-Issue-from-Azure-Web-Apps-to-Customer/m-p/752104#M119434</link>
      <description>&lt;H2&gt;Environment&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;Sending from: Azure Web Apps (Kudu CLI)&lt;/LI&gt;&lt;LI&gt;Target: Two Splunk instances&lt;OL&gt;&lt;LI&gt;Personal trial Splunk (working)&lt;/LI&gt;&lt;LI&gt;Customer's Splunk Cloud (not receiving data)&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H2&gt;Problem Description&lt;/H2&gt;&lt;P&gt;I am attempting to send log data to two different Splunk HTTP Event Collector (HEC) endpoints from an Azure Web Apps environment. I am using identical cURL commands for both:&lt;/P&gt;&lt;H3&gt;Working Splunk Instance (Trial)&lt;/H3&gt;&lt;PRE&gt;curl -k "https://[TRIAL_SPLUNK_HEC_URL]/services/collector/event" \
     -H "Authorization: Splunk [REDACTED_TOKEN]" \
     -d '{ "event": { ... }, "sourcetype": "_json", "index": "[TRIAL_INDEX]" }'&lt;/PRE&gt;&lt;H3&gt;Non-Working Splunk Instance (Customer Cloud)&lt;/H3&gt;&lt;PRE&gt;curl -k "https://[CUSTOMER_SPLUNK_HEC_URL]/services/collector/event" \
     -H "Authorization: Splunk [REDACTED_TOKEN]" \
     -d '{ "event": { ... }, "sourcetype": "_json", "index": "[CUSTOMER_INDEX]" }'&lt;/PRE&gt;&lt;H2&gt;Observations&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;Identical cURL command structure.&lt;/LI&gt;&lt;LI&gt;For both Splunk instances, the cURL command on the CLI returns &lt;FONT color="#339966"&gt;&lt;STRONG&gt;{"text":"Success","code":0}&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Despite the success response, data is successfully ingested into my personal trial Splunk instance, but &lt;STRONG&gt;no data appears in the customer's Splunk Cloud instance.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H2&gt;Questions&lt;/H2&gt;&lt;OL&gt;&lt;LI&gt;Given that the CLI returns "Success" for both, what could be preventing the data from appearing in the customer's Splunk Cloud instance?&lt;/LI&gt;&lt;LI&gt;What additional troubleshooting steps can verify HEC configuration and permissions on the customer's Splunk Cloud?&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Could this issue be related to specific user role permissions or privileges, as I have been granted only limited access by the customer? Are there particular Splunk roles or permissions required for HEC token usage that might be missing?&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H2&gt;Attempted Troubleshooting&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;Verified correct HEC URL for both instances.&lt;/LI&gt;&lt;LI&gt;Confirmed valid HEC tokens for both instances.&lt;/LI&gt;&lt;LI&gt;Checked general network connectivity from the Azure Web Apps environment.&lt;/LI&gt;&lt;LI&gt;Validated JSON payload structure.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Any guidance on identifying and resolving this selective data ingestion issue, especially considering the "Success" response from the CLI would be greatly appreciate&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 03:15:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-HEC-Data-Ingestion-Issue-from-Azure-Web-Apps-to-Customer/m-p/752104#M119434</guid>
      <dc:creator>coddydaddy88</dc:creator>
      <dc:date>2025-08-25T03:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk HEC Data Ingestion Issue from Azure Web Apps to Customer Cloud Instance</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-HEC-Data-Ingestion-Issue-from-Azure-Web-Apps-to-Customer/m-p/752106#M119435</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/312363"&gt;@coddydaddy88&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Splunk Cloud may have an IP allow list configured, restricting HEC requests to specific IPs. If the Azure Web Apps outbound IP addresses are not included, requests may be accepted but not processed&lt;/P&gt;&lt;P&gt;&lt;A href="https://splunk.my.site.com/customer/s/article/Unable-to-ingest-data-though-the-HEC-token" target="_blank"&gt;https://splunk.my.site.com/customer/s/article/Unable-to-ingest-data-though-the-HEC-token&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 05:36:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-HEC-Data-Ingestion-Issue-from-Azure-Web-Apps-to-Customer/m-p/752106#M119435</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2025-08-25T05:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk HEC Data Ingestion Issue from Azure Web Apps to Customer Cloud Instance</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-HEC-Data-Ingestion-Issue-from-Azure-Web-Apps-to-Customer/m-p/752107#M119436</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/312363"&gt;@coddydaddy88&lt;/a&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Confirm that [CUSTOMER_INDEX] exists.&lt;/LI&gt;&lt;LI&gt;Ensure your user role has read access to that index.&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;Please check internal logs&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 25 Aug 2025 05:43:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-HEC-Data-Ingestion-Issue-from-Azure-Web-Apps-to-Customer/m-p/752107#M119436</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2025-08-25T05:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk HEC Data Ingestion Issue from Azure Web Apps to Customer Cloud Instance</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-HEC-Data-Ingestion-Issue-from-Azure-Web-Apps-to-Customer/m-p/752109#M119437</link>
      <description>&lt;P&gt;1. &lt;STRONG&gt;Do not&lt;/STRONG&gt; use the default _json sourcetype. It has nothing to do with the problem at hand but it's a bad practice.&lt;/P&gt;&lt;P&gt;2. Generally, your reasoning is ok - as the HEC endpoint returns 200 that means that it received the event(s) properly and starts processing them. That doesn't mean anything beyond that.&lt;/P&gt;&lt;P&gt;I'm not sure but I suppose if you were sending data to an index your token does not have access to, you should be getting a 400 instead of 200 - see&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.4.2/Data/TroubleshootHTTPEventCollector#Possible_error_codes" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.4.2/Data/TroubleshootHTTPEventCollector#Possible_error_codes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So your end seems ok.&lt;/P&gt;&lt;P&gt;But there could be some routing/filtering happening on the receiving side.&lt;/P&gt;&lt;P&gt;Or you might not have access to the index(es) as a user (Splunk will not throw any error at you; it will just say "no results").&lt;/P&gt;&lt;P&gt;Or you might be searching at wrong point in time (you seem to be sending events without explicit timestamp. The timestamp will&amp;nbsp;&lt;EM&gt;not&lt;/EM&gt; be parsed out from the event.)&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 06:26:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-HEC-Data-Ingestion-Issue-from-Azure-Web-Apps-to-Customer/m-p/752109#M119437</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-08-25T06:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk HEC Data Ingestion Issue from Azure Web Apps to Customer Cloud Instance</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-HEC-Data-Ingestion-Issue-from-Azure-Web-Apps-to-Customer/m-p/752111#M119438</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;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/264857"&gt;@kiran_panchavat&lt;/a&gt;&amp;nbsp;Thank you for you responses.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;I think you are correct I am trying to asses this on the customer's side "&lt;SPAN&gt;But there could be some routing/filtering happening on the receiving side."&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/264857"&gt;@kiran_panchavat&lt;/a&gt;&amp;nbsp;In this article&amp;nbsp;&lt;A href="https://splunk.my.site.com/customer/s/article/Unable-to-ingest-data-though-the-HEC-token" target="_blank" rel="noopener"&gt;https://splunk.my.site.com/customer/s/article/Unable-to-ingest-data-though-the-HEC-token&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;they suggested searching for&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;index="_internal" level="ERROR" *timeout*&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, but I am getting&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;zero results for that. This probably means I do not have access to that index&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Another possible cause I am thinking is that , maybe the Customer side HEC&amp;nbsp;&lt;SPAN&gt;might not have the specified index in the allowed&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;indexes&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 06:55:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-HEC-Data-Ingestion-Issue-from-Azure-Web-Apps-to-Customer/m-p/752111#M119438</guid>
      <dc:creator>coddydaddy88</dc:creator>
      <dc:date>2025-08-25T06:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk HEC Data Ingestion Issue from Azure Web Apps to Customer Cloud Instance</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-HEC-Data-Ingestion-Issue-from-Azure-Web-Apps-to-Customer/m-p/752122#M119440</link>
      <description>&lt;P&gt;As I wrote - if I remember correctly, if you post an event for an index you're not allowed you should get 400, not 200.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 14:05:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-HEC-Data-Ingestion-Issue-from-Azure-Web-Apps-to-Customer/m-p/752122#M119440</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-08-25T14:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk HEC Data Ingestion Issue from Azure Web Apps to Customer Cloud Instance</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-HEC-Data-Ingestion-Issue-from-Azure-Web-Apps-to-Customer/m-p/752207#M119446</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/312363"&gt;@coddydaddy88&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can test that your HEC token is working with the remote Splunk instance with the health endpoint, it should provide the following response:&lt;/P&gt;&lt;PRE&gt;{"text":"HEC is healthy","code":17}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://yoursplunkinstance/services/collector/health?token=31a1735d-2ba6-48bd-9098-cadcf9001f63" target="_blank"&gt;https://yoursplunkinstance/services/collector/health?token=31a1735d-2ba6-48bd-9098-cadcf9001f63&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(Update token accordingly)&amp;nbsp;&lt;/P&gt;&lt;P&gt;This doesnt confirm the index is correct thought, as&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;mentioned, it will return a 400 status if the index is not permitted. See&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.4.2/Data/TroubleshootHTTPEventCollector#:~:text=JSON%20array%20names.-,Possible%20error%20codes,-The%20following%20status" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.4.2/Data/TroubleshootHTTPEventCollector#:~:text=JSON%20array%20names.-,Possible%20error%20codes,-The%20following%20status&lt;/A&gt;&amp;nbsp;for more info on status codes for HEC.&lt;/P&gt;&lt;P&gt;Can you do the following search, do you get any errors?&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal HttpInputDataHandler reply=*&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2025 06:02:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-HEC-Data-Ingestion-Issue-from-Azure-Web-Apps-to-Customer/m-p/752207#M119446</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-08-26T06:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk HEC Data Ingestion Issue from Azure Web Apps to Customer Cloud Instance</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-HEC-Data-Ingestion-Issue-from-Azure-Web-Apps-to-Customer/m-p/752259#M119448</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/264857"&gt;@kiran_panchavat&lt;/a&gt;&amp;nbsp;Thank you so much for the responses and suggestions.&amp;nbsp; Albeit the issue was solved.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It turned out to be a&amp;nbsp;rather funny situation!&amp;nbsp;The data was actually being ingested into Splunk, as indicated&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;by the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;200&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;status code I was receiving for both the trial and customer&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Splunk instances. This aligns with what &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;mentioned about the H&lt;/SPAN&gt;&lt;SPAN&gt;EC endpoint returning&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;200&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;if it received the events properly&lt;/SPAN&gt;&lt;SPAN&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;The problem&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;was resolved when I tried &lt;/SPAN&gt;&lt;SPAN&gt;double quotes when searching in Splunk &lt;FONT face="comic sans ms,sans-serif" color="#333399"&gt;(i.e.,&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT face="comic sans ms,sans-serif" color="#333399"&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;index="index_name&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;instead of&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;index='index_name&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;)🤦‍&lt;span class="lia-unicode-emoji" title=":male_sign:"&gt;♂️&lt;/span&gt;&lt;/SPAN&gt;&lt;/FONT&gt; &lt;SPAN&gt;Once I did that, the data immediately became visible. I&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;had the necessary access all along; it was a simple search syntax oversight.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;I will&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;also take note of &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;'s advice regarding not using the&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;_json&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;sourcetype, as it's considered a bad practice&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt; &lt;SPAN&gt;Thank you all again for your valuable insights&lt;/SPAN&gt;&lt;SPAN&gt;!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2025 23:34:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-HEC-Data-Ingestion-Issue-from-Azure-Web-Apps-to-Customer/m-p/752259#M119448</guid>
      <dc:creator>coddydaddy88</dc:creator>
      <dc:date>2025-08-26T23:34:06Z</dc:date>
    </item>
  </channel>
</rss>

