<?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: Check if latest logs contain IOC in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Check-if-latest-logs-contain-IOC/m-p/655566#M226461</link>
    <description>&lt;P&gt;You can't do that - because the subsearch will not return 1 million rows and it would take forever anyway.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=generated 
| lookup secrets.csv secret OUTPUT secret as found
| where isnotnull(found)
| table username, secret, key&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 25 Aug 2023 01:17:08 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2023-08-25T01:17:08Z</dc:date>
    <item>
      <title>Check if latest logs contain IOC</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Check-if-latest-logs-contain-IOC/m-p/655558#M226456</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;INDEX Name generated (10 million new records every day)&lt;BR /&gt;INDEX Fields username, secret, key&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lookup file secrets.csv with fields secret (128 bit string - 1 million static records)&lt;/P&gt;&lt;P&gt;I am creating a report to check if any of secret is found within the secrets.csv list and flag it.&lt;/P&gt;&lt;P&gt;index=generated [| inputlookup secrets.csv | fields secret] | table username, secret, key&lt;/P&gt;&lt;P&gt;How does the check for secret if exists in both index generated is validated in inputlookup in the search string?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 23:58:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Check-if-latest-logs-contain-IOC/m-p/655558#M226456</guid>
      <dc:creator>superuser88</dc:creator>
      <dc:date>2023-08-24T23:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Check if latest logs contain IOC</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Check-if-latest-logs-contain-IOC/m-p/655566#M226461</link>
      <description>&lt;P&gt;You can't do that - because the subsearch will not return 1 million rows and it would take forever anyway.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=generated 
| lookup secrets.csv secret OUTPUT secret as found
| where isnotnull(found)
| table username, secret, key&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 25 Aug 2023 01:17:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Check-if-latest-logs-contain-IOC/m-p/655566#M226461</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-08-25T01:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Check if latest logs contain IOC</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Check-if-latest-logs-contain-IOC/m-p/655594#M226470</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/53048"&gt;@superuser88&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;if you want to search IOCs in all your raw log, you could try something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=generated [| inputlookup secrets.csv | rename secret AS query | fields query ] 
| table username key&lt;/LI-CODE&gt;&lt;P&gt;In this way you perform a full text search on your raw log.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 08:06:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Check-if-latest-logs-contain-IOC/m-p/655594#M226470</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-08-25T08:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Check if latest logs contain IOC</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Check-if-latest-logs-contain-IOC/m-p/655599#M226473</link>
      <description>&lt;P&gt;You can't do a subsearch returning a million rows&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 08:18:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Check-if-latest-logs-contain-IOC/m-p/655599#M226473</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-08-25T08:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Check if latest logs contain IOC</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Check-if-latest-logs-contain-IOC/m-p/655607#M226475</link>
      <description>&lt;P&gt;Subsearches are limited to 50,000 events so if you still want to do it this way, you would have to split your lookup into about 20 different lookups.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 09:14:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Check-if-latest-logs-contain-IOC/m-p/655607#M226475</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-08-25T09:14:39Z</dc:date>
    </item>
  </channel>
</rss>

