<?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 want to use field value of 1st search in join search query to filter event of search query inside join. in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/want-to-use-field-value-of-1st-search-in-join-search-query-to/m-p/649001#M53127</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Looking for splunk query to use field value of 1st search in join search query to filter event of search query inside join.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Query:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;index=lsc_db2_qa_index sourcetype=lsc_db2_ewm_qa_outbound&lt;BR /&gt;| dedup EDIDCDOCNUM&lt;BR /&gt;| rex field=_raw "(?&amp;lt;dateTime&amp;gt;[\d\-\s:]+).\d{3}, TIME.*"&lt;BR /&gt;| rename EDIDCDOCNUM as ewmIdoc EDIDCSTATUS as ewmIdocStatus MESTYP as ewmmesType dateTime as ewmCreateTime&lt;BR /&gt;| table ewmIdoc ewmIdocStatus ewmmesType ewmCreateTime&lt;BR /&gt;| join type=outer ewmIdoc&lt;BR /&gt;[&lt;FONT color="#008000"&gt;&lt;STRONG&gt;search index=webmethods_qa5555_index sourcetype=transactions_qa5555_src &lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;| search sender="AMAT_SAP_EWM" AND receiver="EXACTA"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;| rex field=_raw "(?&amp;lt;wmDateTime&amp;gt;[\d\-:\s]+) .*"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;| rex field=messageId "(?&amp;lt;docNum&amp;gt;\d+)\|\|(?&amp;lt;whoNum&amp;gt;.*)"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;| rex field=messageId "(?&amp;lt;docNum&amp;gt;\d+)"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;| eval wmcreateDateTime= if( like( message, "%request from EWM%" ), wmDateTime,"")&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;| eval wmconfirmDateTime=if( like( message, "%request sent to Exacta successfully%" ), wmDateTime,"")&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;| eval wmsentDateTime=if( like( message, "%ready to send to Exacta%" ), wmDateTime,"")&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;| lookup wminterface_mapping.csv wmInterface as interface OUTPUT Interface&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;| stats values(Interface) as Interface values(whoNum) as whoNum values(wmcreateDateTime) AS wmcreateDateTime values(wmconfirmDateTime) AS wmconfirmDateTime values(wmsentDateTime) AS wmsentDateTime by docNum&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;| rename docNum as ewmIdoc]&lt;BR /&gt;| eval ewmIdoc=ltrim(tostring(ewmIdoc),"0")&lt;BR /&gt;| fields ewmIdoc ewmIdocStatus ewmmesType ewmCreateTime whoNum,Interface,wmcreateDateTime,wmconfirmDateTime,&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;wmsentDateTime&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;| join type=outer whoNum&lt;BR /&gt;[&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;search index=lsc_exacta_qa_index source="D:\\ProgramData\\Bastian Software\\Logs\\ExactaImportAdapter\\ExactaImportAdapter*"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;| rex field=_raw ".* ORDER_NAME=\"(?&amp;lt;imaWho&amp;gt;[\d-]+)\" .*"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;| rex field=_raw ".*JSON received for product import:.*\"product\":\"(?&amp;lt;imaWho&amp;gt;[\d-]+)\",.*"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;| rex field=_raw ".*JSON received for putaway import:.*\"who\":\"(?&amp;lt;imaWho&amp;gt;[\d-]+)\",.*"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;| eval exactaRecTime = strftime(_time,"%Y-%m-%d %H:%M:%S")&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;| dedup imaWho sortby +exactaRecTime&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;| eval exactaInfStatus = if(exactaRecTime != "","Success",NA)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;| table imaWho exactaRecTime exactaInfStatus&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;| join type=outer imaWho [search index=lsc_exacta_qa_index source="D:\\ProgramData\\Bastian Software\\Logs\\ExactaImport\\ExactaImport.txt"&lt;BR /&gt;| rex field=_raw ".* Order \[(?&amp;lt;imWho&amp;gt;[\d-]+) - .*\] successfully assigned.*"&lt;BR /&gt;| rex field=_raw "\.* Bastian\.Exacta\.Interface\.Processes\.ExactaProductTranslatorBase - Validation of Message Successfull, Prepare to Insert\n.*ROWS ONLY;\@p0 = \'(?&amp;lt;imWho&amp;gt;[\d-]+)\'.*\[.*"&lt;BR /&gt;| rex field=_raw ".*\/line id \[(?&amp;lt;imWho&amp;gt;[\d-]+) -.* was cancelled successfully.\n.*"&lt;BR /&gt;| rex field=_raw ".*\[Import Pick Orders\].*ROWS ONLY;@p0 = \'(?&amp;lt;imWho&amp;gt;[\d-]+)\' \[[\S\s]*- Messages processed successfully.*"&lt;BR /&gt;| eval exactaDocTime = strftime(_time, "%Y-%m-%d %H:%M:%S")&lt;BR /&gt;| search imWho !=""&lt;BR /&gt;| eval exactaDocStatus = if(exactaDocTime != "","Created",NA)&lt;BR /&gt;| table imWho exactaDocTime exactaDocStatus&lt;BR /&gt;| rename imWho as imaWho]&lt;BR /&gt;| table imaWho exactaRecTime exactaDocTime exactaInfStatus exactaDocStatus&lt;BR /&gt;| rename imaWho as whoNum]&lt;BR /&gt;| search Interface = "*"&lt;BR /&gt;| rename whoNum as "WHO/PRODUCT"&lt;BR /&gt;| table ewmIdoc ewmIdocStatus ewmmesType ewmCreateTime "WHO/PRODUCT",Interface,wmcreateDateTime, wmsentDateTime, wmconfirmDateTime, exactaRecTime exactaDocTime exactaInfStatus exactaDocStatus&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;OUTPUT:&amp;nbsp;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Abhineet_0-1688385941125.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26106i5504A51076DBE882/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Abhineet_0-1688385941125.png" alt="Abhineet_0-1688385941125.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;looking&amp;nbsp; to execute&amp;nbsp; above red highlighted search query on events whose &lt;STRONG&gt;"_time" &lt;/STRONG&gt;field value is equal to or greater than field value&lt;STRONG&gt;&amp;nbsp;"wmsentDateTime" &lt;/STRONG&gt;which we got from search query highlighted in&lt;STRONG&gt; green.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Abhineet Kumar&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jul 2023 12:17:18 GMT</pubDate>
    <dc:creator>Abhineet</dc:creator>
    <dc:date>2023-07-03T12:17:18Z</dc:date>
    <item>
      <title>want to use field value of 1st search in join search query to filter event of search query inside join.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/want-to-use-field-value-of-1st-search-in-join-search-query-to/m-p/649001#M53127</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Looking for splunk query to use field value of 1st search in join search query to filter event of search query inside join.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Query:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;index=lsc_db2_qa_index sourcetype=lsc_db2_ewm_qa_outbound&lt;BR /&gt;| dedup EDIDCDOCNUM&lt;BR /&gt;| rex field=_raw "(?&amp;lt;dateTime&amp;gt;[\d\-\s:]+).\d{3}, TIME.*"&lt;BR /&gt;| rename EDIDCDOCNUM as ewmIdoc EDIDCSTATUS as ewmIdocStatus MESTYP as ewmmesType dateTime as ewmCreateTime&lt;BR /&gt;| table ewmIdoc ewmIdocStatus ewmmesType ewmCreateTime&lt;BR /&gt;| join type=outer ewmIdoc&lt;BR /&gt;[&lt;FONT color="#008000"&gt;&lt;STRONG&gt;search index=webmethods_qa5555_index sourcetype=transactions_qa5555_src &lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;| search sender="AMAT_SAP_EWM" AND receiver="EXACTA"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;| rex field=_raw "(?&amp;lt;wmDateTime&amp;gt;[\d\-:\s]+) .*"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;| rex field=messageId "(?&amp;lt;docNum&amp;gt;\d+)\|\|(?&amp;lt;whoNum&amp;gt;.*)"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;| rex field=messageId "(?&amp;lt;docNum&amp;gt;\d+)"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;| eval wmcreateDateTime= if( like( message, "%request from EWM%" ), wmDateTime,"")&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;| eval wmconfirmDateTime=if( like( message, "%request sent to Exacta successfully%" ), wmDateTime,"")&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;| eval wmsentDateTime=if( like( message, "%ready to send to Exacta%" ), wmDateTime,"")&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;| lookup wminterface_mapping.csv wmInterface as interface OUTPUT Interface&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;| stats values(Interface) as Interface values(whoNum) as whoNum values(wmcreateDateTime) AS wmcreateDateTime values(wmconfirmDateTime) AS wmconfirmDateTime values(wmsentDateTime) AS wmsentDateTime by docNum&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;| rename docNum as ewmIdoc]&lt;BR /&gt;| eval ewmIdoc=ltrim(tostring(ewmIdoc),"0")&lt;BR /&gt;| fields ewmIdoc ewmIdocStatus ewmmesType ewmCreateTime whoNum,Interface,wmcreateDateTime,wmconfirmDateTime,&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;wmsentDateTime&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;| join type=outer whoNum&lt;BR /&gt;[&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;search index=lsc_exacta_qa_index source="D:\\ProgramData\\Bastian Software\\Logs\\ExactaImportAdapter\\ExactaImportAdapter*"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;| rex field=_raw ".* ORDER_NAME=\"(?&amp;lt;imaWho&amp;gt;[\d-]+)\" .*"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;| rex field=_raw ".*JSON received for product import:.*\"product\":\"(?&amp;lt;imaWho&amp;gt;[\d-]+)\",.*"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;| rex field=_raw ".*JSON received for putaway import:.*\"who\":\"(?&amp;lt;imaWho&amp;gt;[\d-]+)\",.*"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;| eval exactaRecTime = strftime(_time,"%Y-%m-%d %H:%M:%S")&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;| dedup imaWho sortby +exactaRecTime&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;| eval exactaInfStatus = if(exactaRecTime != "","Success",NA)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;| table imaWho exactaRecTime exactaInfStatus&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;| join type=outer imaWho [search index=lsc_exacta_qa_index source="D:\\ProgramData\\Bastian Software\\Logs\\ExactaImport\\ExactaImport.txt"&lt;BR /&gt;| rex field=_raw ".* Order \[(?&amp;lt;imWho&amp;gt;[\d-]+) - .*\] successfully assigned.*"&lt;BR /&gt;| rex field=_raw "\.* Bastian\.Exacta\.Interface\.Processes\.ExactaProductTranslatorBase - Validation of Message Successfull, Prepare to Insert\n.*ROWS ONLY;\@p0 = \'(?&amp;lt;imWho&amp;gt;[\d-]+)\'.*\[.*"&lt;BR /&gt;| rex field=_raw ".*\/line id \[(?&amp;lt;imWho&amp;gt;[\d-]+) -.* was cancelled successfully.\n.*"&lt;BR /&gt;| rex field=_raw ".*\[Import Pick Orders\].*ROWS ONLY;@p0 = \'(?&amp;lt;imWho&amp;gt;[\d-]+)\' \[[\S\s]*- Messages processed successfully.*"&lt;BR /&gt;| eval exactaDocTime = strftime(_time, "%Y-%m-%d %H:%M:%S")&lt;BR /&gt;| search imWho !=""&lt;BR /&gt;| eval exactaDocStatus = if(exactaDocTime != "","Created",NA)&lt;BR /&gt;| table imWho exactaDocTime exactaDocStatus&lt;BR /&gt;| rename imWho as imaWho]&lt;BR /&gt;| table imaWho exactaRecTime exactaDocTime exactaInfStatus exactaDocStatus&lt;BR /&gt;| rename imaWho as whoNum]&lt;BR /&gt;| search Interface = "*"&lt;BR /&gt;| rename whoNum as "WHO/PRODUCT"&lt;BR /&gt;| table ewmIdoc ewmIdocStatus ewmmesType ewmCreateTime "WHO/PRODUCT",Interface,wmcreateDateTime, wmsentDateTime, wmconfirmDateTime, exactaRecTime exactaDocTime exactaInfStatus exactaDocStatus&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;OUTPUT:&amp;nbsp;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Abhineet_0-1688385941125.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26106i5504A51076DBE882/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Abhineet_0-1688385941125.png" alt="Abhineet_0-1688385941125.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;looking&amp;nbsp; to execute&amp;nbsp; above red highlighted search query on events whose &lt;STRONG&gt;"_time" &lt;/STRONG&gt;field value is equal to or greater than field value&lt;STRONG&gt;&amp;nbsp;"wmsentDateTime" &lt;/STRONG&gt;which we got from search query highlighted in&lt;STRONG&gt; green.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Abhineet Kumar&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 12:17:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/want-to-use-field-value-of-1st-search-in-join-search-query-to/m-p/649001#M53127</guid>
      <dc:creator>Abhineet</dc:creator>
      <dc:date>2023-07-03T12:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: want to use field value of 1st search in join search query to filter event of search query inside join.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/want-to-use-field-value-of-1st-search-in-join-search-query-to/m-p/649108#M53134</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;When you are attaching SPL code or other configurations, please use &amp;lt;/&amp;gt; token from edit options! That way it's much easier to read and we can sure that that it what you have paste! You should also use Ctrl/Cmd+F to get it formatted. See above. Unfortunately you lost colors when you use code block &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=lsc_db2_qa_index sourcetype=lsc_db2_ewm_qa_outbound 
| dedup EDIDCDOCNUM 
| rex field=_raw "(?&amp;lt;dateTime&amp;gt;[\d\-\s:]+).\d{3}, TIME.*" 
| rename EDIDCDOCNUM as ewmIdoc EDIDCSTATUS as ewmIdocStatus MESTYP as ewmmesType dateTime as ewmCreateTime 
| table ewmIdoc ewmIdocStatus ewmmesType ewmCreateTime 
| join type=outer ewmIdoc 
    [ search index=webmethods_qa5555_index sourcetype=transactions_qa5555_src 
    | search sender="AMAT_SAP_EWM" AND receiver="EXACTA" 
    | rex field=_raw "(?&amp;lt;wmDateTime&amp;gt;[\d\-:\s]+) .*" 
    | rex field=messageId "(?&amp;lt;docNum&amp;gt;\d+)\|\|(?&amp;lt;whoNum&amp;gt;.*)" 
    | rex field=messageId "(?&amp;lt;docNum&amp;gt;\d+)" 
    | eval wmcreateDateTime= if( like( message, "%request from EWM%" ), wmDateTime,"") 
    | eval wmconfirmDateTime=if( like( message, "%request sent to Exacta successfully%" ), wmDateTime,"") 
    | eval wmsentDateTime=if( like( message, "%ready to send to Exacta%" ), wmDateTime,"") 
    | lookup wminterface_mapping.csv wmInterface as interface OUTPUT Interface 
    | stats values(Interface) as Interface values(whoNum) as whoNum values(wmcreateDateTime) AS wmcreateDateTime values(wmconfirmDateTime) AS wmconfirmDateTime values(wmsentDateTime) AS wmsentDateTime by docNum 
    | rename docNum as ewmIdoc] 
| eval ewmIdoc=ltrim(tostring(ewmIdoc),"0") 
| fields ewmIdoc ewmIdocStatus ewmmesType ewmCreateTime whoNum,Interface,wmcreateDateTime,wmconfirmDateTime,wmsentDateTime 
| join type=outer whoNum 
    [ search index=lsc_exacta_qa_index source="D:\\ProgramData\\Bastian Software\\Logs\\ExactaImportAdapter\\ExactaImportAdapter*" 
    | rex field=_raw ".* ORDER_NAME=\"(?&amp;lt;imaWho&amp;gt;[\d-]+)\" .*" 
    | rex field=_raw ".*JSON received for product import:.*\"product\":\"(?&amp;lt;imaWho&amp;gt;[\d-]+)\",.*" 
    | rex field=_raw ".*JSON received for putaway import:.*\"who\":\"(?&amp;lt;imaWho&amp;gt;[\d-]+)\",.*" 
    | eval exactaRecTime = strftime(_time,"%Y-%m-%d %H:%M:%S") 
    | dedup imaWho sortby +exactaRecTime 
    | eval exactaInfStatus = if(exactaRecTime != "","Success",NA) 
    | table imaWho exactaRecTime exactaInfStatus 
    | join type=outer imaWho 
        [ search index=lsc_exacta_qa_index source="D:\\ProgramData\\Bastian Software\\Logs\\ExactaImport\\ExactaImport.txt" 
        | rex field=_raw ".* Order \[(?&amp;lt;imWho&amp;gt;[\d-]+) - .*\] successfully assigned.*" 
        | rex field=_raw "\.* Bastian\.Exacta\.Interface\.Processes\.ExactaProductTranslatorBase - Validation of Message Successfull, Prepare to Insert\n.*ROWS ONLY;\@p0 = \'(?&amp;lt;imWho&amp;gt;[\d-]+)\'.*\[.*" 
        | rex field=_raw ".*\/line id \[(?&amp;lt;imWho&amp;gt;[\d-]+) -.* was cancelled successfully.\n.*" 
        | rex field=_raw ".*\[Import Pick Orders\].*ROWS ONLY;@p0 = \'(?&amp;lt;imWho&amp;gt;[\d-]+)\' \[[\S\s]*- Messages processed successfully.*" 
        | eval exactaDocTime = strftime(_time, "%Y-%m-%d %H:%M:%S") 
        | search imWho !="" 
        | eval exactaDocStatus = if(exactaDocTime != "","Created",NA) 
        | table imWho exactaDocTime exactaDocStatus 
        | rename imWho as imaWho] 
    | table imaWho exactaRecTime exactaDocTime exactaInfStatus exactaDocStatus 
    | rename imaWho as whoNum] 
| search Interface = "*" 
| rename whoNum as "WHO/PRODUCT" 
| table ewmIdoc ewmIdocStatus ewmmesType ewmCreateTime "WHO/PRODUCT",Interface,wmcreateDateTime, wmsentDateTime, wmconfirmDateTime, exactaRecTime exactaDocTime exactaInfStatus exactaDocStatus&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;If I look that correctly you have wrong field name (&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;imaWho&lt;/FONT&gt;)&amp;nbsp;&lt;/STRONG&gt;on you red block. On join you mast have same column on join (whoNum) and sub search! Probably you will have the same situation on the next join after you have fixed this first issue!&lt;/P&gt;&lt;P&gt;Anyhow join is not a preferred method to join events on Splunk. You should read the next articles and conf presentation to do better / more powerful joins.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.splunk.com/t5/Splunk-Search/What-is-the-relation-between-the-Splunk-inner-left-join-and-the/m-p/391288/thread-id/113948" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Splunk-Search/What-is-the-relation-between-the-Splunk-inner-left-join-and-the/m-p/391288/thread-id/113948&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://conf.splunk.com/files/2020/slides/TRU1761C.pdf" target="_blank" rel="noopener"&gt;https://conf.splunk.com/files/2020/slides/TRU1761C.pdf&lt;/A&gt;&amp;nbsp;(several versions)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 12:33:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/want-to-use-field-value-of-1st-search-in-join-search-query-to/m-p/649108#M53134</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-07-04T12:33:07Z</dc:date>
    </item>
  </channel>
</rss>

