<?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: Active User count in the application not working in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Active-User-count-in-the-application-not-working/m-p/574301#M101531</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp; Thanks, It worked!!&lt;/P&gt;</description>
    <pubDate>Tue, 09 Nov 2021 22:43:09 GMT</pubDate>
    <dc:creator>praneethlekkala</dc:creator>
    <dc:date>2021-11-09T22:43:09Z</dc:date>
    <item>
      <title>Active User count in the application not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Active-User-count-in-the-application-not-working/m-p/574200#M101521</link>
      <description>&lt;P&gt;I want to know the active user count of an application, the following is the query i created, however its not giving the out put, can someone guide please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=application host=Server Name sourcetype="Applicationprod-console-logs" "[AccessLogFilter]"&lt;BR /&gt;| rex "^\S+ \S+ \S+ \S+ \S+ (?&amp;lt;USER&amp;gt;\S+) (?&amp;lt;ACTION&amp;gt;\S+) (?&amp;lt;URL&amp;gt;\S+) (?&amp;lt;SIZE&amp;gt;\d+)kb"&lt;BR /&gt;| timechart span=15m dc(USER) as Application _User&lt;/P&gt;&lt;P&gt;I am getting the following out put:&lt;/P&gt;&lt;P&gt;_time&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; application_User&lt;BR /&gt;1 2021-11-09 00:00:00&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;BR /&gt;2 2021-11-09 00:15:00&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;BR /&gt;3 2021-11-09 00:30:00&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;BR /&gt;4 2021-11-09 00:45:00&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Logs if i run the following query shows that there is the User ID in the output:&lt;/P&gt;&lt;P&gt;index=application host=Server Name sourcetype="Applicationprod-console-logs" "[AccessLogFilter]"&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;2021-11-09 08:29:12,787 INFO [http-nio-127.0.0.1-8085-exec-101 url: /deploy/viewDeploymentProjectEnvironments.action] [AccessLogFilter] &lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;USERID&lt;/STRONG&gt; &lt;/EM&gt;&lt;/U&gt;GET application.url.action?id=665059902 4320055kb&lt;BR /&gt;host = Server source = location = application-prod-console-logs&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 13:33:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Active-User-count-in-the-application-not-working/m-p/574200#M101521</guid>
      <dc:creator>praneethlekkala</dc:creator>
      <dc:date>2021-11-09T13:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Active User count in the application not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Active-User-count-in-the-application-not-working/m-p/574285#M101529</link>
      <description>&lt;P&gt;When I tried the regex in regex101.com there were no matches.&amp;nbsp; Removing the leading anchor fixed it.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "\S+ \S+ \S+ \S+ \S+ (?&amp;lt;USER&amp;gt;\S+) (?&amp;lt;ACTION&amp;gt;\S+) (?&amp;lt;URL&amp;gt;\S+) (?&amp;lt;SIZE&amp;gt;\d+)kb"&lt;/LI-CODE&gt;&lt;P&gt;FWIW, this regex is faster&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "url: [^\]]+\] \[\S+] (?&amp;lt;USER&amp;gt;\S+) (?&amp;lt;ACTION&amp;gt;\S+) (?&amp;lt;URL&amp;gt;\S+) (?&amp;lt;SIZE&amp;gt;\d+)kb"&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 09 Nov 2021 20:53:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Active-User-count-in-the-application-not-working/m-p/574285#M101529</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-11-09T20:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Active User count in the application not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Active-User-count-in-the-application-not-working/m-p/574301#M101531</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp; Thanks, It worked!!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 22:43:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Active-User-count-in-the-application-not-working/m-p/574301#M101531</guid>
      <dc:creator>praneethlekkala</dc:creator>
      <dc:date>2021-11-09T22:43:09Z</dc:date>
    </item>
  </channel>
</rss>

