<?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 Getting a list of active users usernames from a list of email addresses in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Getting-a-list-of-active-users-usernames-from-a-list-of-email/m-p/551492#M156501</link>
    <description>&lt;P&gt;I have a CSV with multiple hundred email addresses and I am trying to run a report to determine which accounts are active, and their username within our domain. Is there a way to do this simply within Splunk?&lt;/P&gt;</description>
    <pubDate>Thu, 13 May 2021 19:38:59 GMT</pubDate>
    <dc:creator>agenco01</dc:creator>
    <dc:date>2021-05-13T19:38:59Z</dc:date>
    <item>
      <title>Getting a list of active users usernames from a list of email addresses</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-a-list-of-active-users-usernames-from-a-list-of-email/m-p/551492#M156501</link>
      <description>&lt;P&gt;I have a CSV with multiple hundred email addresses and I am trying to run a report to determine which accounts are active, and their username within our domain. Is there a way to do this simply within Splunk?&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 19:38:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-a-list-of-active-users-usernames-from-a-list-of-email/m-p/551492#M156501</guid>
      <dc:creator>agenco01</dc:creator>
      <dc:date>2021-05-13T19:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a list of active users usernames from a list of email addresses</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-a-list-of-active-users-usernames-from-a-list-of-email/m-p/551537#M156513</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234405"&gt;@agenco01&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;let me understand: you have in a csv a list containing hundreds of email addresses and you want to know which of them are active, is it correct?&lt;/P&gt;&lt;P&gt;To do this, you need a data frow from an email sistem or a front end web server used by your email system.&lt;/P&gt;&lt;P&gt;Then you have to load your csv in a lookup and thes perform a search on your data, like this:&lt;/P&gt;&lt;P&gt;(hypothesis: index is called "email", csv file is called "email.csv", email field in email index is called "sender", email field in csv is called "email")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=email
| eval sender=lower(sender)
| stats count BY sender
| append [| inputlookup email.csv | eval sender=lower(email), count=0 | fields sender count) ]
| stats sum(count) AS total BY sender
| eval stats=if(total=0,"Inactive","Active")
| sort sender
| table sender status&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 06:03:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-a-list-of-active-users-usernames-from-a-list-of-email/m-p/551537#M156513</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-05-14T06:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a list of active users usernames from a list of email addresses</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-a-list-of-active-users-usernames-from-a-list-of-email/m-p/551869#M156606</link>
      <description>&lt;P&gt;Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 13:08:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-a-list-of-active-users-usernames-from-a-list-of-email/m-p/551869#M156606</guid>
      <dc:creator>agenco01</dc:creator>
      <dc:date>2021-05-17T13:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a list of active users usernames from a list of email addresses</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-a-list-of-active-users-usernames-from-a-list-of-email/m-p/551872#M156607</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234405"&gt;@agenco01&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 13:10:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-a-list-of-active-users-usernames-from-a-list-of-email/m-p/551872#M156607</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-05-17T13:10:46Z</dc:date>
    </item>
  </channel>
</rss>

