<?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: csvfile search in values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/580605#M202271</link>
    <description>&lt;P&gt;Thank you for your reply, the suggested query is not giving me any outputs. If I select any one field I get one side result but when I select both fields "| fields email domain" then I won't get any result.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I want to achieve if any "EmailID" (listed in CSV) sends an email to any of the "domain"(listed in CSV) and vice versa should be shown in the search result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jan 2022 13:59:24 GMT</pubDate>
    <dc:creator>shrinivaskittur</dc:creator>
    <dc:date>2022-01-11T13:59:24Z</dc:date>
    <item>
      <title>csvfile search in values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/580579#M202264</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have csv file containing emailID and domain&amp;nbsp; and I would like to search the email exchanges between these two(emaild and domain)&lt;/P&gt;&lt;P&gt;Csv file looks like below&amp;nbsp;&lt;/P&gt;&lt;P&gt;emailID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;domain&lt;/P&gt;&lt;P&gt;test1@company.com&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;abc.com&lt;/P&gt;&lt;P&gt;test2@company.com&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xyz.com&lt;/P&gt;&lt;P&gt;test3@company.com&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;some.com&lt;/P&gt;&lt;P&gt;so on ..........&lt;/P&gt;&lt;P&gt;based on the above I need to check how many time the emails exchanged between&amp;nbsp;emailID and domain, I tried with below query but unable to get the result&lt;/P&gt;&lt;P&gt;my search....&amp;nbsp;[| inputlookup test.csv&amp;nbsp;| eval emailID = mvjoin(emailID ,",") | eval domain= "*@.".domain&lt;BR /&gt;| eval condition1 = "Sender IN (".domain.") AND Rcpt IN (".emailID .") "&amp;nbsp;| return $condition1&amp;nbsp;]&amp;nbsp;| table Sender Rcpt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 11:18:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/580579#M202264</guid>
      <dc:creator>shrinivaskittur</dc:creator>
      <dc:date>2022-01-11T11:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: csvfile search in values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/580602#M202268</link>
      <description>&lt;P&gt;The current query looks for two literal strings in the Sender and Rcpt fields, which explains why you don't get the expected results.&amp;nbsp; See if this helps.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;your search.... [| inputlookup test.csv 
  | eval domain= "*@.".domain
  | fields email domain | rename email as Sender, domain as Rcpt | format ] 
| table Sender Rcpt&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 11 Jan 2022 13:18:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/580602#M202268</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-01-11T13:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: csvfile search in values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/580605#M202271</link>
      <description>&lt;P&gt;Thank you for your reply, the suggested query is not giving me any outputs. If I select any one field I get one side result but when I select both fields "| fields email domain" then I won't get any result.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I want to achieve if any "EmailID" (listed in CSV) sends an email to any of the "domain"(listed in CSV) and vice versa should be shown in the search result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 13:59:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/580605#M202271</guid>
      <dc:creator>shrinivaskittur</dc:creator>
      <dc:date>2022-01-11T13:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: csvfile search in values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/580608#M202273</link>
      <description>&lt;LI-CODE lang="markup"&gt;your search.... [| inputlookup test.csv 
  | eval domain= "*@.".domain
  | fields domain | rename domain as Rcpt | format ] 
  [| inputlookup test.csv 
  | fields email | rename email as Sender | format ] 
| table Sender Rcpt&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 11 Jan 2022 14:20:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/580608#M202273</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-01-11T14:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: csvfile search in values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/580678#M202295</link>
      <description>&lt;P&gt;No Output from this query&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 19:05:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/580678#M202295</guid>
      <dc:creator>shrinivaskittur</dc:creator>
      <dc:date>2022-01-11T19:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: csvfile search in values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/580882#M202377</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please help me to get the correct query for my search.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 06:15:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/580882#M202377</guid>
      <dc:creator>shrinivaskittur</dc:creator>
      <dc:date>2022-01-13T06:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: csvfile search in values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/580900#M202383</link>
      <description>&lt;P&gt;Sorry, there was a typo - try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;your search.... [| inputlookup test.csv 
  | eval domain= "*@".domain
  | fields domain | rename domain as Rcpt | format ] 
  [| inputlookup test.csv 
  | fields email | rename email as Sender | format ] 
| table Sender Rcpt&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 13 Jan 2022 07:56:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/580900#M202383</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-01-13T07:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: csvfile search in values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/581279#M202515</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Still the same, result is blank.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 05:40:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/581279#M202515</guid>
      <dc:creator>shrinivaskittur</dc:creator>
      <dc:date>2022-01-17T05:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: csvfile search in values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/581289#M202516</link>
      <description>&lt;P&gt;Perhaps there is a mismatch between your indexed data and your csv file, for example, space padding, case, etc. Have you tried using one of the values from the csv to see if you get any results&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;your search ... domain="*@abc.com"&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 17 Jan 2022 07:48:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/581289#M202516</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-01-17T07:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: csvfile search in values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/581290#M202517</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have already did this testing, I have taken sender and recipient from the recent logs and did the search using the same query but still not getting the result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As said, I need both fields from csv&amp;nbsp; to be matched in search (sender and recipient) for example.&lt;/P&gt;&lt;P&gt;if sender A sends email to recipient B and also if recipient B replies emails to sender B, in both case I should get the result . sender A &amp;amp; B are in csv should match.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 07:59:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/581290#M202517</guid>
      <dc:creator>shrinivaskittur</dc:creator>
      <dc:date>2022-01-17T07:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: csvfile search in values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/581291#M202518</link>
      <description>&lt;P&gt;Can you share your full search and some anonymised sample events?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 08:07:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/csvfile-search-in-values/m-p/581291#M202518</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-01-17T08:07:26Z</dc:date>
    </item>
  </channel>
</rss>

