<?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: help with query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-more-data-about-emails-to-search/m-p/632296#M219658</link>
    <description>&lt;P&gt;Well... there are several approaches you can take here - a wildcard lookup, splitting your subject and doing a lookup, generating a set of conditions from a subsearch - each has its pros and cons depending on your particular situation but the question is what are you trying to do? Splunk is _not_ an email filtering solution...&lt;/P&gt;</description>
    <pubDate>Sun, 26 Feb 2023 18:50:08 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2023-02-26T18:50:08Z</dc:date>
    <item>
      <title>How to add more data about emails to search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-more-data-about-emails-to-search/m-p/632220#M219655</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=mail 
| lookup email_domain_whitelist domain AS RecipientDomain output domain as domain_match 
| where isnull(domain_match) 
| lookup all_email_provider_domains domain AS RecipientDomain output domain as domain_match2 
| where isnotnull(domain_match2) 
| stats values(recipient) as recipient values(subject) as subject earliest(_time) AS "Earliest" latest(_time) AS "Latest" by RecipientDomain sender 
| where mvcount(recipient)=1
| eval subject_count=mvcount(subject)
| sort - subject_count 
| convert ctime("Latest") 
| convert ctime("Earliest")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i would like to include in the results if there are any attachments in the email, show me the attachment name and size of the attachment in MB/GB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adding on ,&lt;/P&gt;&lt;P&gt;also i have list of suspicious keywords to in a list in lookup editor called suspicoussubject_keywords.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you include the query to lookup for this keyword in subject and then display results?&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 27 Feb 2023 09:08:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-more-data-about-emails-to-search/m-p/632220#M219655</guid>
      <dc:creator>sulaimancds</dc:creator>
      <dc:date>2023-02-27T09:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: help with query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-more-data-about-emails-to-search/m-p/632230#M219656</link>
      <description>&lt;P&gt;This is impossible to answer this question without knowing what is in your data. Splunk only processes the data it gets from the third-party systems. If your data includes info about attachments it will be possible to add that but if it doesn't - where would you get it from?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 16:54:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-more-data-about-emails-to-search/m-p/632230#M219656</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-02-24T16:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: help with query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-more-data-about-emails-to-search/m-p/632258#M219657</link>
      <description>&lt;P&gt;Yes understood that, what about suspicious keywords in subject, I already have the wordlist created, in lookup editor, and would like the query to search the suspicious subject and provide the results.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 23:24:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-more-data-about-emails-to-search/m-p/632258#M219657</guid>
      <dc:creator>sulaimancds</dc:creator>
      <dc:date>2023-02-24T23:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: help with query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-more-data-about-emails-to-search/m-p/632296#M219658</link>
      <description>&lt;P&gt;Well... there are several approaches you can take here - a wildcard lookup, splitting your subject and doing a lookup, generating a set of conditions from a subsearch - each has its pros and cons depending on your particular situation but the question is what are you trying to do? Splunk is _not_ an email filtering solution...&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2023 18:50:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-more-data-about-emails-to-search/m-p/632296#M219658</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-02-26T18:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: help with query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-more-data-about-emails-to-search/m-p/632300#M219659</link>
      <description>&lt;P&gt;If the subject has keywords like tender, project, architecture, then those results should be displayed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help with command.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2023 23:43:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-more-data-about-emails-to-search/m-p/632300#M219659</guid>
      <dc:creator>sulaimancds</dc:creator>
      <dc:date>2023-02-26T23:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: help with query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-more-data-about-emails-to-search/m-p/632335#M219660</link>
      <description>&lt;P&gt;What have you tried so far and what were the results?&lt;/P&gt;&lt;P&gt;Have you tried any of the approaches I mentioned?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 09:18:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-more-data-about-emails-to-search/m-p/632335#M219660</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-02-27T09:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: help with query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-more-data-about-emails-to-search/m-p/632336#M219661</link>
      <description>&lt;P&gt;i tried to use lookup editor wordlist , to search but reuslts is 0 , can you helo me .&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 09:19:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-more-data-about-emails-to-search/m-p/632336#M219661</guid>
      <dc:creator>sulaimancds</dc:creator>
      <dc:date>2023-02-27T09:19:50Z</dc:date>
    </item>
  </channel>
</rss>

