<?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: How expensive is sha256() in computing power? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-expensive-is-sha256-in-computing-power/m-p/417424#M120103</link>
    <description>&lt;P&gt;Also be aware there are limits on joins.  You should try using stats if possible.  See the section on limitations: &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.2.0/SearchReference/Join"&gt;http://docs.splunk.com/Documentation/Splunk/7.2.0/SearchReference/Join&lt;/A&gt; and some alternative ways of performing a join in splunk, there are lots of posts on Splunk answers, here is one: &lt;A href="https://answers.splunk.com/answers/568177/replace-join-with-stats-to-merge-events-based-on-c-1.html"&gt;https://answers.splunk.com/answers/568177/replace-join-with-stats-to-merge-events-based-on-c-1.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 06 Oct 2018 19:44:56 GMT</pubDate>
    <dc:creator>Jeremiah</dc:creator>
    <dc:date>2018-10-06T19:44:56Z</dc:date>
    <item>
      <title>How expensive is sha256() in computing power?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-expensive-is-sha256-in-computing-power/m-p/417422#M120101</link>
      <description>&lt;P&gt;Our saved-search is summary-index enabled and is running every 5 minutes.&lt;/P&gt;

&lt;P&gt;Each event's uniqueness is a combination of 4 fields and thus I'm planning to add a unique identifier before it gets written to the summary-index e.g. &lt;CODE&gt;| eval uniqueId = sha256(field1 . field2 . field3 . field4)&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;One of our use cases is to left-join values from the aforementioned summary index to a lookup table, which already has the same field i.e. &lt;CODE&gt;uniqueId&lt;/CODE&gt;. The idea is to join the summary index and the lookup table like our good old SQL baby &lt;CODE&gt;ON uniqueId=uniqueId&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;My question is how much computing power will it cost for the saved search to perform the hash? Will it significantly slow down the summary indexing process?&lt;/P&gt;

&lt;P&gt;Is it better to do &lt;CODE&gt;| join type=left field1, field2, field3, field4&lt;/CODE&gt; rather than &lt;CODE&gt;| join type=left uniqueId&lt;/CODE&gt;?&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 04:34:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-expensive-is-sha256-in-computing-power/m-p/417422#M120101</guid>
      <dc:creator>morethanyell</dc:creator>
      <dc:date>2018-10-05T04:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: How expensive is sha256() in computing power?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-expensive-is-sha256-in-computing-power/m-p/417423#M120102</link>
      <description>&lt;P&gt;try and run the searches and look at the job inspector and see the load of that particular eval&lt;/P&gt;</description>
      <pubDate>Sat, 06 Oct 2018 15:50:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-expensive-is-sha256-in-computing-power/m-p/417423#M120102</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-10-06T15:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: How expensive is sha256() in computing power?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-expensive-is-sha256-in-computing-power/m-p/417424#M120103</link>
      <description>&lt;P&gt;Also be aware there are limits on joins.  You should try using stats if possible.  See the section on limitations: &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.2.0/SearchReference/Join"&gt;http://docs.splunk.com/Documentation/Splunk/7.2.0/SearchReference/Join&lt;/A&gt; and some alternative ways of performing a join in splunk, there are lots of posts on Splunk answers, here is one: &lt;A href="https://answers.splunk.com/answers/568177/replace-join-with-stats-to-merge-events-based-on-c-1.html"&gt;https://answers.splunk.com/answers/568177/replace-join-with-stats-to-merge-events-based-on-c-1.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Oct 2018 19:44:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-expensive-is-sha256-in-computing-power/m-p/417424#M120103</guid>
      <dc:creator>Jeremiah</dc:creator>
      <dc:date>2018-10-06T19:44:56Z</dc:date>
    </item>
  </channel>
</rss>

