<?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: Streamed search execute failed because: Error in 'lookup' command: Could not construct lookup in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Streamed-search-execute-failed-because-Error-in-lookup-command/m-p/624744#M51224</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;, It is working fine when i used it at the end.&amp;nbsp; can you explain the logic behind it please.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for the answer !!&lt;/P&gt;</description>
    <pubDate>Mon, 19 Dec 2022 16:42:04 GMT</pubDate>
    <dc:creator>Varsha1</dc:creator>
    <dc:date>2022-12-19T16:42:04Z</dc:date>
    <item>
      <title>Streamed search execute failed because: Error in 'lookup' command: Could not construct lookup</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Streamed-search-execute-failed-because-Error-in-lookup-command/m-p/624717#M51218</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm facing issue while appending results for 2 searches using append command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a 2 search which i'm using to get results and also both query has lookup command to get ip_address details from a lookup .&lt;/P&gt;&lt;P&gt;Search query1: index=abc filter1=A | eval ..| table * | lookup def host as host OUTPUT ipaddress | stats ..| eval ..&lt;/P&gt;&lt;P&gt;Query 2:&amp;nbsp;index=abc filter2=B | eval ..| table * | lookup def host as host OUTPUT ipaddress | stats ..| eval ..&lt;/P&gt;&lt;P&gt;Both searches are almost same except "filter" field and eval commands. And i'm using append command to append results as below:&lt;/P&gt;&lt;P&gt;index=abc filter1=A | eval ..| table * | lookup def host as host OUTPUT ipaddress | stats ..| eval ..| append&amp;nbsp;&lt;SPAN&gt;[search index=abc filter2=B | eval ..| table * | lookup def host as host OUTPUT ipaddress | stats ..| eval ..]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm getting error ([subsearch]: Streamed search execute failed because: Error in 'lookup' command: Could not construct lookup) when running above query and runs fine if i run it seperately.&lt;/P&gt;&lt;P&gt;Please let me know what i am making wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 12:26:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Streamed-search-execute-failed-because-Error-in-lookup-command/m-p/624717#M51218</guid>
      <dc:creator>Varsha1</dc:creator>
      <dc:date>2022-12-19T12:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Streamed search execute failed because: Error in 'lookup' command: Could not construct lookup</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Streamed-search-execute-failed-because-Error-in-lookup-command/m-p/624725#M51219</link>
      <description>&lt;P&gt;Subsearches are limited to 50,000 events. Could this be your issue? Could you try with smaller timeframes?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 13:38:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Streamed-search-execute-failed-because-Error-in-lookup-command/m-p/624725#M51219</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-12-19T13:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Streamed search execute failed because: Error in 'lookup' command: Could not construct lookup</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Streamed-search-execute-failed-because-Error-in-lookup-command/m-p/624727#M51220</link>
      <description>&lt;P&gt;I'm running it for last 60min and it is below 50000 events only&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 13:46:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Streamed-search-execute-failed-because-Error-in-lookup-command/m-p/624727#M51220</guid>
      <dc:creator>Varsha1</dc:creator>
      <dc:date>2022-12-19T13:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Streamed search execute failed because: Error in 'lookup' command: Could not construct lookup</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Streamed-search-execute-failed-because-Error-in-lookup-command/m-p/624729#M51221</link>
      <description>&lt;P&gt;Consider moving the &lt;FONT face="courier new,courier"&gt;lookup&lt;/FONT&gt; command to after the &lt;FONT face="courier new,courier"&gt;append&lt;/FONT&gt;.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=abc filter1=A 
| eval ..
| table * 
| stats ..
| eval ..
| append [search index=abc filter2=B 
  | eval ..| table * 
  | stats ..
  | eval ..
]
| lookup def host as host OUTPUT ipaddress &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 14:39:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Streamed-search-execute-failed-because-Error-in-lookup-command/m-p/624729#M51221</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-12-19T14:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Streamed search execute failed because: Error in 'lookup' command: Could not construct lookup</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Streamed-search-execute-failed-because-Error-in-lookup-command/m-p/624737#M51222</link>
      <description>&lt;P&gt;Most often that message happens when the csv behind the lookup definition is missing. Check that.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 15:36:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Streamed-search-execute-failed-because-Error-in-lookup-command/m-p/624737#M51222</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2022-12-19T15:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Streamed search execute failed because: Error in 'lookup' command: Could not construct lookup</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Streamed-search-execute-failed-because-Error-in-lookup-command/m-p/624744#M51224</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;, It is working fine when i used it at the end.&amp;nbsp; can you explain the logic behind it please.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for the answer !!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 16:42:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Streamed-search-execute-failed-because-Error-in-lookup-command/m-p/624744#M51224</guid>
      <dc:creator>Varsha1</dc:creator>
      <dc:date>2022-12-19T16:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Streamed search execute failed because: Error in 'lookup' command: Could not construct lookup</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Streamed-search-execute-failed-because-Error-in-lookup-command/m-p/624749#M51225</link>
      <description>&lt;P&gt;I wish I had an explanation.&amp;nbsp; You'd have to look at the search log for the failing search to see how that error is triggered.&lt;/P&gt;&lt;P&gt;Moving the &lt;FONT face="courier new,courier"&gt;lookup&lt;/FONT&gt; call was mainly a shot in the dark, but also should be more efficient by doing the lookups after the number of events have been reduced by &lt;FONT face="courier new,courier"&gt;stats&lt;/FONT&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 17:25:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Streamed-search-execute-failed-because-Error-in-lookup-command/m-p/624749#M51225</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-12-19T17:25:37Z</dc:date>
    </item>
  </channel>
</rss>

