<?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: Query user login over a period of time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Query-user-login-over-a-period-of-time/m-p/693639#M235982</link>
    <description>&lt;P&gt;I tailored the query to the appropriate fields and viola it worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate your efforts and thank you for your time.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jul 2024 20:14:42 GMT</pubDate>
    <dc:creator>Skadrir</dc:creator>
    <dc:date>2024-07-17T20:14:42Z</dc:date>
    <item>
      <title>Query user login over a period of time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-user-login-over-a-period-of-time/m-p/693610#M235973</link>
      <description>&lt;P&gt;I am trying to query our windows and linux indexes to verify how many times a user has logged in over a period of time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, I only care about the last 7 days. I've tried to run some queries, but it's not very fruitful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I gain some assistance with generating a query for determining the number of logins over a period of time, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 13:00:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-user-login-over-a-period-of-time/m-p/693610#M235973</guid>
      <dc:creator>Skadrir</dc:creator>
      <dc:date>2024-07-17T13:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Query user login over a period of time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-user-login-over-a-period-of-time/m-p/693626#M235976</link>
      <description>&lt;P&gt;This is a Splunk forum. &amp;nbsp;No one here knows what your data source looks like. To ask an answerable data analytics question, follow these golden rules; nay, call them the four commandments:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Illustrate data input (in raw text, anonymize as needed), whether they are raw events or output from a search that volunteers here do not have to look at.&lt;/LI&gt;&lt;LI&gt;Illustrate the desired output from illustrated data.&lt;/LI&gt;&lt;LI&gt;Explain the logic between illustrated data and desired output&amp;nbsp;&lt;EM&gt;without&lt;/EM&gt;&amp;nbsp;SPL.&lt;/LI&gt;&lt;LI&gt;If you also illustrate attempted SPL, illustrate actual output and compare with desired output, explain why they look different&amp;nbsp;&lt;U&gt;to you&lt;/U&gt;&amp;nbsp;if that is not painfully obvious.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 17 Jul 2024 16:12:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-user-login-over-a-period-of-time/m-p/693626#M235976</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2024-07-17T16:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Query user login over a period of time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-user-login-over-a-period-of-time/m-p/693629#M235977</link>
      <description>&lt;P&gt;Effectively I want to comb through the windows event logs to determine logon dates and times for a specific user(s) and output those entries into a table with username, date and time. We have a windows index and we want to query the last seven days and the number of logins for a given user.&lt;/P&gt;&lt;P&gt;I would imagine it'd be fairly simple to do, I just don't SPL. This is why I engaged the brain trust online in this forum. I don't splunk as a day job, so I'm not familiar with the intricacies with SPL.&lt;/P&gt;&lt;P&gt;In short, give all entries from windows security logs for the last seven days from the windows index for a specific user with event ID 4624.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 16:47:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-user-login-over-a-period-of-time/m-p/693629#M235977</guid>
      <dc:creator>Skadrir</dc:creator>
      <dc:date>2024-07-17T16:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Query user login over a period of time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-user-login-over-a-period-of-time/m-p/693634#M235979</link>
      <description>&lt;P&gt;Is something like this what you are looking for? Set the time range picker to your desired range.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=windows EventCode=4624 Account_Name IN ("Larry","Curly","Moe")
| eval Logon_Account_Name=mvindex(Account_Name, 1)
| table _time, ComputerName, Logon_Account_Name
| sort _time&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 18:06:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-user-login-over-a-period-of-time/m-p/693634#M235979</guid>
      <dc:creator>fredclown</dc:creator>
      <dc:date>2024-07-17T18:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Query user login over a period of time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-user-login-over-a-period-of-time/m-p/693639#M235982</link>
      <description>&lt;P&gt;I tailored the query to the appropriate fields and viola it worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate your efforts and thank you for your time.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 20:14:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-user-login-over-a-period-of-time/m-p/693639#M235982</guid>
      <dc:creator>Skadrir</dc:creator>
      <dc:date>2024-07-17T20:14:42Z</dc:date>
    </item>
  </channel>
</rss>

