<?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 search freetext after a join? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-freetext-after-a-join/m-p/635700#M220863</link>
    <description>&lt;P&gt;Thanks for the fast reply. The idea is to join a request with the result of this request. Something like:&lt;/P&gt;&lt;PRE&gt;index=... "Processing started"&lt;BR /&gt;| join type=left left=L right=R where L.id = R.id [search index=... "Processing finished with result"]&lt;BR /&gt;| table _time L.id L.dataSource L.message R.message R.orderNumber&lt;BR /&gt;| sort _time desc&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Simplified data:&lt;/P&gt;&lt;PRE&gt;id=1234 dataSource=system1 message="Processing started of request from user abc"&lt;BR /&gt;id=1234 dataSource=system1 message="Processing finished with result: Success" orderNumber=56789&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Mar 2023 12:28:54 GMT</pubDate>
    <dc:creator>Konrad_Schlude</dc:creator>
    <dc:date>2023-03-23T12:28:54Z</dc:date>
    <item>
      <title>How to search freetext after a join?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-freetext-after-a-join/m-p/635682#M220855</link>
      <description>&lt;P&gt;I'm looking for a way to search for freetext after a join.&lt;/P&gt;&lt;P&gt;It is easy when the field is known. For instance, there is a join with left L and right R, and the value of variable $id$ can be in one corresponding fields (in this example, both fields have the same name):&lt;/P&gt;&lt;PRE&gt;| search L.id=$id$ OR R.id=$id$&lt;/PRE&gt;&lt;P&gt;But how to search for something like freetext when this text can be a substring in any field of one of the two parts? I don't want to write a check for every field, so I tried things with "_raw" or "L._raw": Nothing worked.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 10:28:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-freetext-after-a-join/m-p/635682#M220855</guid>
      <dc:creator>Konrad_Schlude</dc:creator>
      <dc:date>2023-03-23T10:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to search freetext after a join?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-freetext-after-a-join/m-p/635688#M220859</link>
      <description>&lt;P&gt;can you provide some sample data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 11:56:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-freetext-after-a-join/m-p/635688#M220859</guid>
      <dc:creator>Gr0und_Z3r0</dc:creator>
      <dc:date>2023-03-23T11:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to search freetext after a join?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-freetext-after-a-join/m-p/635700#M220863</link>
      <description>&lt;P&gt;Thanks for the fast reply. The idea is to join a request with the result of this request. Something like:&lt;/P&gt;&lt;PRE&gt;index=... "Processing started"&lt;BR /&gt;| join type=left left=L right=R where L.id = R.id [search index=... "Processing finished with result"]&lt;BR /&gt;| table _time L.id L.dataSource L.message R.message R.orderNumber&lt;BR /&gt;| sort _time desc&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Simplified data:&lt;/P&gt;&lt;PRE&gt;id=1234 dataSource=system1 message="Processing started of request from user abc"&lt;BR /&gt;id=1234 dataSource=system1 message="Processing finished with result: Success" orderNumber=56789&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 12:28:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-freetext-after-a-join/m-p/635700#M220863</guid>
      <dc:creator>Konrad_Schlude</dc:creator>
      <dc:date>2023-03-23T12:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to search freetext after a join?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-freetext-after-a-join/m-p/635711#M220866</link>
      <description>&lt;P&gt;You can use OR condition in your search&amp;nbsp; and use stats where the events match, instead of doing a join operation.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=myindex 
("Processing started") OR ("Processing finished with result")
|stats count by id
|where count&amp;gt;1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 13:07:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-freetext-after-a-join/m-p/635711#M220866</guid>
      <dc:creator>Gr0und_Z3r0</dc:creator>
      <dc:date>2023-03-23T13:07:57Z</dc:date>
    </item>
  </channel>
</rss>

