<?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 Find text in field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Find-text-in-field/m-p/66806#M16652</link>
    <description>&lt;P&gt;I am working to try and correlate two types of records. Each has telephone number fields called Calling_Number and Called_Number. Basically one data source lists the Calling_Number field in this format: +15555551212, whereas the second source lists it as 5555551212. Is it possible, basing the search off of the second data source, to search all of the Calling_Number fields in the first data source for the raw text of the number? I'm trying to find ways to correlate these records and splunk isn't working so well in this endeavor &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; What would be awesome is something equivilent to an SQL LIKE command.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Mar 2011 08:24:59 GMT</pubDate>
    <dc:creator>msarro</dc:creator>
    <dc:date>2011-03-24T08:24:59Z</dc:date>
    <item>
      <title>Find text in field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Find-text-in-field/m-p/66806#M16652</link>
      <description>&lt;P&gt;I am working to try and correlate two types of records. Each has telephone number fields called Calling_Number and Called_Number. Basically one data source lists the Calling_Number field in this format: +15555551212, whereas the second source lists it as 5555551212. Is it possible, basing the search off of the second data source, to search all of the Calling_Number fields in the first data source for the raw text of the number? I'm trying to find ways to correlate these records and splunk isn't working so well in this endeavor &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; What would be awesome is something equivilent to an SQL LIKE command.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2011 08:24:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Find-text-in-field/m-p/66806#M16652</guid>
      <dc:creator>msarro</dc:creator>
      <dc:date>2011-03-24T08:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Find text in field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Find-text-in-field/m-p/66807#M16653</link>
      <description>&lt;P&gt;The easiest thing to do might be to just create a new field based on Calling_Number, and use that for &lt;CODE&gt;transaction&lt;/CODE&gt; or other correlation methods.  Something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex field="Calling_Number" "(+1)?(?&amp;lt;Bare_calling_number&amp;gt;\d+)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;would give you a new field called Bare_calling_number without the +1 on the head of it.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2011 08:37:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Find-text-in-field/m-p/66807#M16653</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2011-03-24T08:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Find text in field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Find-text-in-field/m-p/66808#M16654</link>
      <description>&lt;P&gt;As of now I am working around it, but knowing the rex should help a bit. I really need to find a guide on PCRE. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2011 09:13:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Find-text-in-field/m-p/66808#M16654</guid>
      <dc:creator>msarro</dc:creator>
      <dc:date>2011-03-24T09:13:22Z</dc:date>
    </item>
  </channel>
</rss>

