<?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: Finding a Sessions Length in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Finding-a-Sessions-Length/m-p/484593#M135637</link>
    <description>&lt;P&gt;Hello, I think you should use transaction command with username and startswith and endswith options.&lt;BR /&gt;
&lt;CODE&gt;... | transaction user startswith="EventCode=123" endswith="EventCode=321"&lt;/CODE&gt;&lt;BR /&gt;
After that, you can use &lt;CODE&gt;duration&lt;/CODE&gt; field in the result of transaction command to calculate session duration.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Apr 2020 16:10:32 GMT</pubDate>
    <dc:creator>jg91</dc:creator>
    <dc:date>2020-04-29T16:10:32Z</dc:date>
    <item>
      <title>Finding a Sessions Length</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Finding-a-Sessions-Length/m-p/484592#M135636</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;
**&lt;BR /&gt;
Summary&lt;BR /&gt;
**&lt;BR /&gt;
I have windows logs for remote VPN access. I want to be able to graph concurrent use by user. But the problem is : example - I have one log EventCode=123 which is a remote connection that occurs at 2pm for instance and EventCode=321 which is a disconnection that occurred at 5pm. Between the fields there are no logs so timecharting comes back with a 1 on 2pm and a 1 on 5pm but 0 on the hours between...I want to have a count on the hours between to show that the session was active. Is there a way to do this?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 15:46:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Finding-a-Sessions-Length/m-p/484592#M135636</guid>
      <dc:creator>celdridge1988</dc:creator>
      <dc:date>2020-04-29T15:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Finding a Sessions Length</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Finding-a-Sessions-Length/m-p/484593#M135637</link>
      <description>&lt;P&gt;Hello, I think you should use transaction command with username and startswith and endswith options.&lt;BR /&gt;
&lt;CODE&gt;... | transaction user startswith="EventCode=123" endswith="EventCode=321"&lt;/CODE&gt;&lt;BR /&gt;
After that, you can use &lt;CODE&gt;duration&lt;/CODE&gt; field in the result of transaction command to calculate session duration.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 16:10:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Finding-a-Sessions-Length/m-p/484593#M135637</guid>
      <dc:creator>jg91</dc:creator>
      <dc:date>2020-04-29T16:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Finding a Sessions Length</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Finding-a-Sessions-Length/m-p/484594#M135638</link>
      <description>&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/811217/concurrent-active-vpn-sessions-on-a-timechart.html"&gt;https://answers.splunk.com/answers/811217/concurrent-active-vpn-sessions-on-a-timechart.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;This is a similar question.&lt;/P&gt;

&lt;P&gt;I made the query. It's not easy. good luck.&lt;/P&gt;

&lt;P&gt;but now, here is the app.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.splunk.com/en_us/blog/leadership/introducing-splunk-remote-work-insights-our-solution-for-the-new-work-from-home-reality.html"&gt;https://www.splunk.com/en_us/blog/leadership/introducing-splunk-remote-work-insights-our-solution-for-the-new-work-from-home-reality.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 19:21:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Finding-a-Sessions-Length/m-p/484594#M135638</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-29T19:21:56Z</dc:date>
    </item>
  </channel>
</rss>

