<?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 to match any value in an array to any value in another array? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-any-value-in-an-array-to-any-value-in-another-array/m-p/745885#M241568</link>
    <description>&lt;P&gt;I second &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt; 's doubts - your description of the problem is confusing &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 10 May 2025 07:40:49 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2025-05-10T07:40:49Z</dc:date>
    <item>
      <title>How to match any value in an array to any value in another array?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-any-value-in-an-array-to-any-value-in-another-array/m-p/745866#M241560</link>
      <description>&lt;P&gt;I'm trying to do a transaction using an array.&amp;nbsp; I need to define the transaction by a value in an array.&amp;nbsp; However, this value could be any value in the array and the value could be in a different array index number in another event.&amp;nbsp; Is there an easy command for this in Splunk?&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 18:43:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-match-any-value-in-an-array-to-any-value-in-another-array/m-p/745866#M241560</guid>
      <dc:creator>dtsao</dc:creator>
      <dc:date>2025-05-09T18:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to match any value in an array to any value in another array?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-any-value-in-an-array-to-any-value-in-another-array/m-p/745879#M241564</link>
      <description>&lt;P&gt;We need more information. Please say more about the problem you are trying to solve.&amp;nbsp; It would help to see sample data and desired output.&lt;/P&gt;</description>
      <pubDate>Sat, 10 May 2025 00:14:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-match-any-value-in-an-array-to-any-value-in-another-array/m-p/745879#M241564</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2025-05-10T00:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to match any value in an array to any value in another array?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-any-value-in-an-array-to-any-value-in-another-array/m-p/745885#M241568</link>
      <description>&lt;P&gt;I second &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt; 's doubts - your description of the problem is confusing &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 May 2025 07:40:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-match-any-value-in-an-array-to-any-value-in-another-array/m-p/745885#M241568</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-05-10T07:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to match any value in an array to any value in another array?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-any-value-in-an-array-to-any-value-in-another-array/m-p/745896#M241570</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/275461"&gt;@dtsao&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm afraid you lost me at transaction - I dont think I've seen a good usecase for transaction for a number of years, where stats would be much better. The way I would approach this is to use something like foreach to loop through your array/multival field to set a fixed field with the value you are trying to transaction against. Once you've got this you should be able to do things with stats like&lt;EM&gt; | stats range(_time) as timeRange, count, etc BY yourField&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;If you're able to provide some sample data (redacted if needed) then I'd be happy to create a full query for you.&lt;/P&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>Sat, 10 May 2025 15:43:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-match-any-value-in-an-array-to-any-value-in-another-array/m-p/745896#M241570</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-05-10T15:43:21Z</dc:date>
    </item>
  </channel>
</rss>

