> ## Documentation Index
> Fetch the complete documentation index at: https://hoopdev-docs-changelog-1-43-2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Monitoring Sessions

> Learn how to track and audit connection usage through the Sessions interface

<Frame>
  <img src="https://mintcdn.com/hoopdev-docs-changelog-1-43-2/pOoh2T4wJ_kRp6HB/images/clients/webapp/sessions.png?fit=max&auto=format&n=pOoh2T4wJ_kRp6HB&q=85&s=40dcede390182466ab8ddd217f59985d" alt="Session Details" width="1698" height="934" data-path="images/clients/webapp/sessions.png" />
</Frame>

The Sessions interface provides a comprehensive view of all connection activities across your organization. You can monitor active sessions, review past activities, and investigate specific actions taken by users.

## Sessions Overview

The Sessions page displays a list of all connection activities with key information:

* User who initiated the session
* Connection name and type
* Session ID for reference
* Timestamp and duration
* Status indicators

### Filtering and Search

Use the top filters to narrow down sessions:

* **User**: Filter by specific team members
* **Connection**: View sessions for particular connections
* **Type**: Filter by connection type (database, application, etc.)
* **Period**: Select a specific time range

## Session Details

<Frame>
  <img src="https://mintcdn.com/hoopdev-docs-changelog-1-43-2/J5RBvk3PVREHai2j/images/learn/features/review-3.png?fit=max&auto=format&n=J5RBvk3PVREHai2j&q=85&s=5d4f5739b5e1f47dd62c54e9e577c787" alt="Session Details" width="1200" height="760" data-path="images/learn/features/review-3.png" />
</Frame>

Clicking on a session opens a detailed view that shows:

### Connection Information

* Session start and end times
* Connection type and name
* User who initiated the session

### Activity Log

For database connections:

* SQL queries executed
* Query results
* Execution timestamps

For application and SSH connections:

* Commands executed
* Command output
* Terminal sessions

## Session Actions

From the session details view, you can:

* Re-run a query to verify results or troubleshoot issues
* Copy session ID for reference
* Download session logs
* Share session details with reviewers

## Integration with Reviews

<CardGroup cols={2}>
  <Card title="Just-in-Time Reviews" icon="clock">
    Sessions may require approval before starting if JIT reviews are enabled for the connection
  </Card>

  <Card title="Command Reviews" icon="terminal">
    Individual commands or queries may need approval during the session
  </Card>
</CardGroup>

## Best Practices

<CardGroup cols={2}>
  <Card title="Regular Audits" icon="magnifying-glass">
    Periodically review session logs for security and compliance
  </Card>

  <Card title="Investigation" icon="fingerprint">
    Use session IDs to track specific activities during incident response
  </Card>

  <Card title="Compliance" icon="check-double">
    Maintain session records for audit requirements
  </Card>

  <Card title="Performance" icon="chart-line">
    Monitor session patterns to optimize connection usage
  </Card>
</CardGroup>

## Learn More

<CardGroup cols={2}>
  <Card title="Just-in-Time Reviews" icon="shield-check" href="/learn/features/reviews/jit-reviews">
    Learn about session approval workflows
  </Card>

  <Card title="Command Reviews" icon="code" href="/learn/features/reviews/command">
    Understand command-level review processes
  </Card>
</CardGroup>
