<?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: How to filter the Userid to show once per minute? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-the-Userid-to-show-once-per-minute/m-p/128172#M184418</link>
    <description>&lt;P&gt;Ok guy,&lt;/P&gt;

&lt;P&gt;Try this  with the commande &lt;STRONG&gt;dedup&lt;/STRONG&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; ...|stats dc(User_id) by ... | dedup USER_id sortby +_time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or this with commande &lt;STRONG&gt;uniq&lt;/STRONG&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=casm_prod sourcetype=smtrace | bucket _time span=1m | stats count by _time, USER_id | sort - count |uniq
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 07 Apr 2015 10:02:20 GMT</pubDate>
    <dc:creator>NOUMSSI</dc:creator>
    <dc:date>2015-04-07T10:02:20Z</dc:date>
    <item>
      <title>How to filter the Userid to show once per minute?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-the-Userid-to-show-once-per-minute/m-p/128167#M184413</link>
      <description>&lt;P&gt;In the index for siteminder called cams_prod, there are traced filed with the type smtrace.   Using these trace files find the logs for the application using 'Center realm’.  Then created a regular expression to mine the User id.  You will notice that Userids are able to be found many times each minute.  We need to fiter this so it only shows once per minute. &lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2015 13:54:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-the-Userid-to-show-once-per-minute/m-p/128167#M184413</guid>
      <dc:creator>moiezuddin</dc:creator>
      <dc:date>2015-04-06T13:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter the Userid to show once per minute?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-the-Userid-to-show-once-per-minute/m-p/128168#M184414</link>
      <description>&lt;P&gt;Could you post some sample data, your current search, and a mock-up of your desired output please?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2015 14:36:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-the-Userid-to-show-once-per-minute/m-p/128168#M184414</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2015-04-06T14:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter the Userid to show once per minute?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-the-Userid-to-show-once-per-minute/m-p/128169#M184415</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
to show only one Userid per minute, in your query use this function &lt;STRONG&gt;dc&lt;/STRONG&gt; by this way:&lt;/P&gt;

&lt;P&gt;...|stats dc(Userid) by ...&lt;/P&gt;

&lt;P&gt;Or&lt;/P&gt;

&lt;P&gt;...|timechart dc(Userid) by ...&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2015 01:48:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-the-Userid-to-show-once-per-minute/m-p/128169#M184415</guid>
      <dc:creator>NOUMSSI</dc:creator>
      <dc:date>2015-04-07T01:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter the Userid to show once per minute?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-the-Userid-to-show-once-per-minute/m-p/128170#M184416</link>
      <description>&lt;P&gt;index=casm_prod sourcetype=smtrace | bucket _time span=1m | stats count by _time, USER_id | sort - count&lt;/P&gt;

&lt;P&gt;With the above query, I noticed that USER_id are able to be found many times each minute.  &lt;/P&gt;

&lt;P&gt;I need to fiter this in such a way that  it only needs to shows once per minute. &lt;/P&gt;

&lt;P&gt;Kindly help&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:25:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-the-Userid-to-show-once-per-minute/m-p/128170#M184416</guid>
      <dc:creator>moiezuddin</dc:creator>
      <dc:date>2020-09-28T19:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter the Userid to show once per minute?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-the-Userid-to-show-once-per-minute/m-p/128171#M184417</link>
      <description>&lt;P&gt;index=casm_prod sourcetype=smtrace | bucket _time span=1m | stats count by _time, USER_id | sort - count&lt;/P&gt;

&lt;P&gt;With the above query, I noticed that USER_id are able to be found many times each minute.&lt;/P&gt;

&lt;P&gt;I need to fiter this in such a way that it only needs to shows once per minute.&lt;/P&gt;

&lt;P&gt;Kindly help&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:26:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-the-Userid-to-show-once-per-minute/m-p/128171#M184417</guid>
      <dc:creator>moiezuddin</dc:creator>
      <dc:date>2020-09-28T19:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter the Userid to show once per minute?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-the-Userid-to-show-once-per-minute/m-p/128172#M184418</link>
      <description>&lt;P&gt;Ok guy,&lt;/P&gt;

&lt;P&gt;Try this  with the commande &lt;STRONG&gt;dedup&lt;/STRONG&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; ...|stats dc(User_id) by ... | dedup USER_id sortby +_time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or this with commande &lt;STRONG&gt;uniq&lt;/STRONG&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=casm_prod sourcetype=smtrace | bucket _time span=1m | stats count by _time, USER_id | sort - count |uniq
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Apr 2015 10:02:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-the-Userid-to-show-once-per-minute/m-p/128172#M184418</guid>
      <dc:creator>NOUMSSI</dc:creator>
      <dc:date>2015-04-07T10:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter the Userid to show once per minute?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-the-Userid-to-show-once-per-minute/m-p/128173#M184419</link>
      <description>&lt;P&gt;Thanks a lot , its working fine.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2015 10:39:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-the-Userid-to-show-once-per-minute/m-p/128173#M184419</guid>
      <dc:creator>moiezuddin</dc:creator>
      <dc:date>2015-04-07T10:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter the Userid to show once per minute?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-the-Userid-to-show-once-per-minute/m-p/128174#M184420</link>
      <description>&lt;P&gt;No mention. I'm here to help you solve your problems&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2015 10:59:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-the-Userid-to-show-once-per-minute/m-p/128174#M184420</guid>
      <dc:creator>NOUMSSI</dc:creator>
      <dc:date>2015-04-07T10:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter the Userid to show once per minute?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-the-Userid-to-show-once-per-minute/m-p/128175#M184421</link>
      <description>&lt;P&gt;Hi Moiezuddin,&lt;/P&gt;

&lt;P&gt;Thanks For the question,&lt;BR /&gt;
I new to splunk, Trying to develop some sample siteminder dashboards as a poc,&lt;BR /&gt;
Hope you have some Idea on the smaccess log and smps log,&lt;/P&gt;

&lt;P&gt;Using Smps log, We are trying to develop some alerts for the performance monitoring of siteminder.&lt;BR /&gt;
Can you please explain if you have done any in your environment.&lt;/P&gt;

&lt;P&gt;Was It possible to create a table like total number users have accessed a particular application in 24 hours time period using azaccept and uid in smaccess.log&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 20:07:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-the-Userid-to-show-once-per-minute/m-p/128175#M184421</guid>
      <dc:creator>krishnacasso</dc:creator>
      <dc:date>2016-03-01T20:07:21Z</dc:date>
    </item>
  </channel>
</rss>

