<?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: Find common values starting with in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Find-common-values-starting-with/m-p/573113#M199761</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/226742"&gt;@Mary666&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per my understanding, you can use the field name and the value with the starting common character with a wildcard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Source: 1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;field:SerialId value: 123*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Source: &amp;nbsp;2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;field: SerialId value: 123*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This will fetch the common values from that fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Example Screenprint:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vhharanpositka_1-1635735009295.png" style="width: 465px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16683i0AF22E618BF9CA11/image-dimensions/465x357?v=v2" width="465" height="357" role="button" title="vhharanpositka_1-1635735009295.png" alt="vhharanpositka_1-1635735009295.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Nov 2021 02:50:44 GMT</pubDate>
    <dc:creator>vhharanpositka</dc:creator>
    <dc:date>2021-11-01T02:50:44Z</dc:date>
    <item>
      <title>Find common values starting with</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Find-common-values-starting-with/m-p/573108#M199760</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any guidance on how to find common values starting with similar values from two different sources?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;exp:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Source: 1 field:SerialId value: 123_abc&lt;/P&gt;&lt;P&gt;Source: &amp;nbsp;2 field: SerialId value: 123_abcde&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so if the values start with the first common 6 letters and numbers-find those matching.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any advice on how to approach this?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 00:25:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Find-common-values-starting-with/m-p/573108#M199760</guid>
      <dc:creator>Mary666</dc:creator>
      <dc:date>2021-11-01T00:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Find common values starting with</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Find-common-values-starting-with/m-p/573113#M199761</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/226742"&gt;@Mary666&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per my understanding, you can use the field name and the value with the starting common character with a wildcard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Source: 1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;field:SerialId value: 123*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Source: &amp;nbsp;2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;field: SerialId value: 123*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This will fetch the common values from that fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Example Screenprint:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vhharanpositka_1-1635735009295.png" style="width: 465px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16683i0AF22E618BF9CA11/image-dimensions/465x357?v=v2" width="465" height="357" role="button" title="vhharanpositka_1-1635735009295.png" alt="vhharanpositka_1-1635735009295.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 02:50:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Find-common-values-starting-with/m-p/573113#M199761</guid>
      <dc:creator>vhharanpositka</dc:creator>
      <dc:date>2021-11-01T02:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Find common values starting with</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Find-common-values-starting-with/m-p/573242#M199784</link>
      <description>&lt;P&gt;Thanks, but I should have been more detailed. The values can be numbers and letters and can be different in size. So basically I am trying to do this:&lt;/P&gt;&lt;P&gt;Index="123", team=green, ID=123Azz_mpr&lt;BR /&gt;&lt;BR /&gt;Index="456" , team=blue, ID=123Cxx_1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Desired result:&amp;nbsp;&lt;BR /&gt;ID=123&lt;BR /&gt;&lt;BR /&gt;I have tried&amp;nbsp;&lt;BR /&gt;| eval ShortMessage= substr(ID1,3)&amp;nbsp; this does work, but it does not include the data for both indexes.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 20:26:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Find-common-values-starting-with/m-p/573242#M199784</guid>
      <dc:creator>Mary666</dc:creator>
      <dc:date>2021-11-01T20:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Find common values starting with</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Find-common-values-starting-with/m-p/573261#M199789</link>
      <description>&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;index="123" OR index="456" (team=green OR&amp;nbsp;&amp;nbsp;team=blue) ID=123*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 05:11:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Find-common-values-starting-with/m-p/573261#M199789</guid>
      <dc:creator>vhharanpositka</dc:creator>
      <dc:date>2021-11-02T05:11:29Z</dc:date>
    </item>
  </channel>
</rss>

