<?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 How do I join a search with a list of jobnames from a file DepC_listofjobs.csv? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-a-search-with-a-list-of-jobnames-from-a-file-DepC/m-p/620397#M215668</link>
    <description>&lt;P&gt;How do I join a search with a list of jobnames from a file DepC_listofjobs.csv. This file has only one column which has unique jobnames.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below command, if I uncomment the line&lt;BR /&gt;&lt;BR /&gt;earliest=-8h index=log-13120-prod-c laas_appId="pbmp.prediction*" "Prediction"&lt;/P&gt;
&lt;P&gt;```| join [ inputlookup DepC_listofjobs.csv ]```&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;| bin _time span=1h&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;| stats dc(predictionId),dc(jobName), count by _time&amp;nbsp; predictionStatus&lt;/P&gt;</description>
    <pubDate>Thu, 10 Nov 2022 15:44:42 GMT</pubDate>
    <dc:creator>mihir_hardas</dc:creator>
    <dc:date>2022-11-10T15:44:42Z</dc:date>
    <item>
      <title>How do I join a search with a list of jobnames from a file DepC_listofjobs.csv?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-a-search-with-a-list-of-jobnames-from-a-file-DepC/m-p/620397#M215668</link>
      <description>&lt;P&gt;How do I join a search with a list of jobnames from a file DepC_listofjobs.csv. This file has only one column which has unique jobnames.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below command, if I uncomment the line&lt;BR /&gt;&lt;BR /&gt;earliest=-8h index=log-13120-prod-c laas_appId="pbmp.prediction*" "Prediction"&lt;/P&gt;
&lt;P&gt;```| join [ inputlookup DepC_listofjobs.csv ]```&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;| bin _time span=1h&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;| stats dc(predictionId),dc(jobName), count by _time&amp;nbsp; predictionStatus&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 15:44:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-a-search-with-a-list-of-jobnames-from-a-file-DepC/m-p/620397#M215668</guid>
      <dc:creator>mihir_hardas</dc:creator>
      <dc:date>2022-11-10T15:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: equijoin join search with a lookupfile</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-a-search-with-a-list-of-jobnames-from-a-file-DepC/m-p/620412#M215677</link>
      <description>&lt;P&gt;Why are you joining instead of just not using the lookup as a lookup?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 12:28:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-a-search-with-a-list-of-jobnames-from-a-file-DepC/m-p/620412#M215677</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2022-11-10T12:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: equijoin join search with a lookupfile</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-a-search-with-a-list-of-jobnames-from-a-file-DepC/m-p/620425#M215682</link>
      <description>&lt;P&gt;I need to expliticity use a join+subsearch because below SPL gives no rows returned&lt;/P&gt;&lt;P&gt;earliest=-8h index=log-13120-prod-c laas_appId="pbmp.prediction*" "Prediction"&lt;/P&gt;&lt;P&gt;| join [ inputlookup DepC_listofjobs.csv ]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;| bin _time span=1h&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;| stats dc(predictionId),dc(jobName), count by _time&amp;nbsp; predictionStatus&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sample event in the index is pasted below&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;2022-11-10&lt;/SPAN&gt; &lt;SPAN class=""&gt;00:18:20.353&lt;/SPAN&gt;&lt;SPAN&gt; [&lt;/SPAN&gt;&lt;SPAN class=""&gt;task-25483&lt;/SPAN&gt;&lt;SPAN&gt;] &lt;/SPAN&gt;&lt;SPAN class=""&gt;INFO&lt;/SPAN&gt; &lt;SPAN class=""&gt;c.m.b.p.s.p.PredictionRunner#lambda$run$2&lt;/SPAN&gt; &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;predictionId=e5e2a703-13c6-4c15-addc-9f2c114733ec&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;job=PADT-HUB-P-D-G-RS-PTY-ADDR-DLT-INS^PNA&lt;/SPAN&gt; &lt;SPAN class=""&gt;predicted&lt;/SPAN&gt; &lt;SPAN class=""&gt;as&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Prediction&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;predictionId=e5e2a703-13c6-4c15-addc-9f2c114733ec&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;jobName=PADT-HUB-P-D-G-RS-PTY-ADDR-DLT-INS&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;instance=PNA&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;predictionStatus=PREDICTED&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;predictedStartTime=1668067804&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;predictedFinishTime=1668067880&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;predictionExplanation=PREDICTED&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;predictedAt=1668057500)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 13:12:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-a-search-with-a-list-of-jobnames-from-a-file-DepC/m-p/620425#M215682</guid>
      <dc:creator>mihir_hardas</dc:creator>
      <dc:date>2022-11-10T13:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: equijoin join search with a lookupfile</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-a-search-with-a-list-of-jobnames-from-a-file-DepC/m-p/620426#M215683</link>
      <description>&lt;P&gt;The below SPL works but gives very less data than expected&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;earliest=-2d index=log-13120-prod-c laas_appId="pbmp.prediction*" "Prediction"&lt;BR /&gt;| rename jobName as jobname&lt;/P&gt;&lt;P&gt;| join [ inputlookup DepC_listofjobs.csv ]&lt;BR /&gt;&lt;BR /&gt;| bin _time span=1h&lt;BR /&gt;&lt;BR /&gt;| stats dc(predictionId),dc(jobname), count by _time predictionStatus&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 13:22:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-a-search-with-a-list-of-jobnames-from-a-file-DepC/m-p/620426#M215683</guid>
      <dc:creator>mihir_hardas</dc:creator>
      <dc:date>2022-11-10T13:22:48Z</dc:date>
    </item>
  </channel>
</rss>

