<?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 Is HEC as performant as TCP? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-HEC-as-performant-as-TCP/m-p/605441#M105240</link>
    <description>&lt;P&gt;I've had quite a good look around the internet and have been unable to find an answer to this question.&amp;nbsp;&lt;A title="Why would I use the HTTP Event Collector when I can use TCP?" href="https://community.splunk.com/t5/Getting-Data-In/Why-would-I-use-the-HTTP-Event-Collector-when-I-can-use-TCP/m-p/233205" target="_self"&gt;This question&lt;/A&gt;&amp;nbsp;in particular touches on it, but the performance comparison is left unanswered. We are thinking about moving away from Splunk UF to an open source solution, which will likely only support HEC. Before making this change I'd like to know any consequences on performance/resource usage on the indexers.&lt;/P&gt;&lt;P&gt;What are the impacts on resource usage and index/search performance between UF and HEC?&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jul 2022 12:54:41 GMT</pubDate>
    <dc:creator>tyates_ctm</dc:creator>
    <dc:date>2022-07-13T12:54:41Z</dc:date>
    <item>
      <title>Is HEC as performant as TCP?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-HEC-as-performant-as-TCP/m-p/605441#M105240</link>
      <description>&lt;P&gt;I've had quite a good look around the internet and have been unable to find an answer to this question.&amp;nbsp;&lt;A title="Why would I use the HTTP Event Collector when I can use TCP?" href="https://community.splunk.com/t5/Getting-Data-In/Why-would-I-use-the-HTTP-Event-Collector-when-I-can-use-TCP/m-p/233205" target="_self"&gt;This question&lt;/A&gt;&amp;nbsp;in particular touches on it, but the performance comparison is left unanswered. We are thinking about moving away from Splunk UF to an open source solution, which will likely only support HEC. Before making this change I'd like to know any consequences on performance/resource usage on the indexers.&lt;/P&gt;&lt;P&gt;What are the impacts on resource usage and index/search performance between UF and HEC?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 12:54:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-HEC-as-performant-as-TCP/m-p/605441#M105240</guid>
      <dc:creator>tyates_ctm</dc:creator>
      <dc:date>2022-07-13T12:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is HEC as performant as TCP?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-HEC-as-performant-as-TCP/m-p/605444#M105241</link>
      <description>&lt;P&gt;HEC is very performant.&amp;nbsp; Splunk Connect for Syslog (SC4S) uses it.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 13:20:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-HEC-as-performant-as-TCP/m-p/605444#M105241</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-07-13T13:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is HEC as performant as TCP?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-HEC-as-performant-as-TCP/m-p/606634#M105382</link>
      <description>&lt;P&gt;Thanks for the reply&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;, but that doesn't answer my question at all. I am not interested in how performant HEC is in absolute terms (I'm not even sure "very" is a particularly meaningful measure of performance). Only when compared to UF to Splunk using TCP.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 09:53:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-HEC-as-performant-as-TCP/m-p/606634#M105382</guid>
      <dc:creator>tyates_ctm</dc:creator>
      <dc:date>2022-07-22T09:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is HEC as performant as TCP?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-HEC-as-performant-as-TCP/m-p/606639#M105383</link>
      <description>&lt;P&gt;You're mixing two different things.&lt;/P&gt;&lt;P&gt;One is HEC vs plain TCP for receiving data from sources. And here HEC is much better choice - its performance is great (whereas plain TCP inputs have its share of problems as I remember), you can create many different HEC endpoints on a single port and differentiate inputs by the token, you can dynamically overwrite metadata and add your own fields with HEC and so on.&lt;/P&gt;&lt;P&gt;Another thing is your own HEC-supplying "forwarder" vs. Splunk's UF. It's more tricky. Sure, you can get - for example - rsyslog instance to read files from disk and push events via HEC to your Splunk installation. It might even have some advantages over monitor input in UF (you can do much funky stuff in rsyslog that you can do in UF like filtering and advanced manipulation). But it's not a standardized approach, it will be harder to debug and you won't get support for such installation as easily as asking a question about UF here on Answers. And splunk's internal S2S protocol (the default mode of sending data from UF to indexers/HFs) is also very efficient.&lt;/P&gt;&lt;P&gt;So in general - HEC as input is a very efficient thing and can be used for relatively high throughputs. And you can put a load-balancer in front of your Splunk infrastructure if needed, you can offload TLS operations to an external solution - it's a standard HTTP after all. But should you replace UF... well, that would need more consideration.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 10:27:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-HEC-as-performant-as-TCP/m-p/606639#M105383</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-07-22T10:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is HEC as performant as TCP?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-HEC-as-performant-as-TCP/m-p/606640#M105384</link>
      <description>&lt;P&gt;If you're wondering if switching from S2S to HTTP (or vice versa) for UF-&amp;gt;indexer communication would cause performance problem in network transmission layer, I'd say that you'll probably sooner hit performance limit with your indexers not able to keep up with parsing and writing events to disk.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 10:29:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-HEC-as-performant-as-TCP/m-p/606640#M105384</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-07-22T10:29:15Z</dc:date>
    </item>
  </channel>
</rss>

