<?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 to pass calculate the latest row count in multiple lookups? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-calculate-the-latest-row-count-in-multiple-lookups/m-p/606316#M210870</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have around 100+ lookups, which get updated daily from indexed data using macro and saved search. I want to find if any of these lookups are getting flushed and row count turns to "0".&amp;nbsp; I created a lookup with all the lookup names and tried to pass the output to another lookup command and pull the stats. But this is not working.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestion to fullfil this requirement would be&amp;nbsp;appreciated&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Rajesh&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2022 15:23:00 GMT</pubDate>
    <dc:creator>rajeshmetso</dc:creator>
    <dc:date>2022-07-21T15:23:00Z</dc:date>
    <item>
      <title>How to pass calculate the latest row count in multiple lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-calculate-the-latest-row-count-in-multiple-lookups/m-p/606316#M210870</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have around 100+ lookups, which get updated daily from indexed data using macro and saved search. I want to find if any of these lookups are getting flushed and row count turns to "0".&amp;nbsp; I created a lookup with all the lookup names and tried to pass the output to another lookup command and pull the stats. But this is not working.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestion to fullfil this requirement would be&amp;nbsp;appreciated&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Rajesh&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 15:23:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-calculate-the-latest-row-count-in-multiple-lookups/m-p/606316#M210870</guid>
      <dc:creator>rajeshmetso</dc:creator>
      <dc:date>2022-07-21T15:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass calculate the latest row count in multiple lookups</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-calculate-the-latest-row-count-in-multiple-lookups/m-p/606320#M210874</link>
      <description>&lt;P&gt;It can get a bit complicated, but you could try something like this (assuming you have a lookup file with the names of the lookups in a field called file):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup lookups.csv
| map search="| inputlookup "$file$"| stats count|eval file=\""$file$"\""&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;However, this can sometimes fail if you don't have a definition for the lookup, in which case, try it this way&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup lookups.csv
| map search="| makeresults | map search=\"| inputlookup "$file$"| stats count\"|eval file=\""$file$"\""&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 20 Jul 2022 11:00:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-calculate-the-latest-row-count-in-multiple-lookups/m-p/606320#M210874</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-07-20T11:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass calculate the latest row count in multiple lookups</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-calculate-the-latest-row-count-in-multiple-lookups/m-p/606343#M210880</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for quick response. This sorted the issue, but am getting only 10 results and below warning.&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;The search result count (110) exceeds maximum (10), using max. To override it, set maxsearches appropriately.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 13:13:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-calculate-the-latest-row-count-in-multiple-lookups/m-p/606343#M210880</guid>
      <dc:creator>rajeshmetso</dc:creator>
      <dc:date>2022-07-20T13:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass calculate the latest row count in multiple lookups</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-calculate-the-latest-row-count-in-multiple-lookups/m-p/606344#M210881</link>
      <description>&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Map" target="_blank"&gt;map - Splunk Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 13:15:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-calculate-the-latest-row-count-in-multiple-lookups/m-p/606344#M210881</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-07-20T13:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass calculate the latest row count in multiple lookups</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-calculate-the-latest-row-count-in-multiple-lookups/m-p/606345#M210882</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;thank you it worked.&lt;/P&gt;&lt;P&gt;|&lt;SPAN&gt;&amp;nbsp;inputlookup lookups.csv | map search="| makeresults | map search=\"| inputlookup "$file$"| stats count\"|eval file=\""$file$"\""&amp;nbsp;maxsearches=150&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 13:22:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-calculate-the-latest-row-count-in-multiple-lookups/m-p/606345#M210882</guid>
      <dc:creator>rajeshmetso</dc:creator>
      <dc:date>2022-07-20T13:22:35Z</dc:date>
    </item>
  </channel>
</rss>

