# Monitoring Log Sources

## Overview

Once a log source is onboarded in Panther, you can monitor data processing metrics and the log source's health within the [log sources list](#using-the-log-sources-list) or on the [log source's operations page](#using-a-log-sources-operations-page) in the Panther Console. You can also attach new schemas and view raw data associated with the log source.

At **Configure > Log Sources** - the Log Sources Overview page - you can view ingestion stats for all log sources combined.

## How to monitor overall log source ingestion

The log ingestion monitoring summary on the Log Sources Overview page shows data from the current month: Your total number of log sources, unhealthy log sources, a mini-trend chart of the events flow, the amount and the volume of the processed events, the volume of filtered events, and the ingestion quota progression. If you are nearing your data ingestion capacity limit, you will see a notification banner above the summary.

To view a list of only the unhealthy log sources, click the number under `Unhealthy` in the dashboard.

To see more detailed charts with configurable timeframes, click the **Analytics Dashboard** tab:

<figure><img src="https://4011785613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LgdiSWdyJcXPahGi9Rs-2910905616%2Fuploads%2Fgit-blob-b4996cc2a60b4800fc629a1e62b954dc3d5ed3b7%2Flog-source-analytics.png?alt=media" alt="On the Log Sources page, there is a tab labeled Analytics Dashboard."><figcaption></figcaption></figure>

View the following additional charts within the **Analytics Dashboard** tab:

* Events over time by log type
* Filtered out events
* Events processed (volume)
* Data stored per source
  * Click a log source on the chart to see the associated schemas for that source and that source's contribution to the ingestion quota.
* Data stored per log type
* Average data latency by log type

<figure><img src="https://4011785613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LgdiSWdyJcXPahGi9Rs-2910905616%2Fuploads%2Fgit-blob-8ec11d8b63bb41ae7b7aed811a3baba22a856de8%2Fimage%20(98).png?alt=media" alt="The &#x22;Log Sources&#x22; dashboard shows various data, graphs, and charts about log ingestion. There are &#x22;Events Over Time By Log Type,&#x22; &#x22;Sources,&#x22; &#x22;Ingestion Quota,&#x22; &#x22;Data Stored Per Source,&#x22; among others." width="375"><figcaption></figcaption></figure>

To adjust the timeframe of the charts, use the date picker in the upper right corner.

### Viewing filtered event volume

To view metrics on events filtered out using [ingestion filters](https://docs.panther.com/data-onboarding/ingestion-filters):

1. In the left-hand navigation bar of your Panther Console, click **Configure** > **Log Sources**.
2. Click the **Analytics Dashboard** tab.
3. In the **Data Ingestion Dashboard**, click the **Filtered Out Events** tab.
   * See the **Filtered Events** data points.

     <figure><img src="https://4011785613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LgdiSWdyJcXPahGi9Rs-2910905616%2Fuploads%2Fgit-blob-4527efa5c7447cd59c01f3e08a8091ad699353f1%2FScreenshot%202024-02-12%20at%204.31.09%20PM.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

## How to monitor individual log sources

### Using the log sources list

The table of log sources found at **Configure** > **Log Sources** contains monitoring and health information for each log source. Scroll to the right to see additional columns, such as **Volume**, **Log filters**, **Data filtered**, and **Classification errors**.

<figure><img src="https://4011785613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LgdiSWdyJcXPahGi9Rs-2910905616%2Fuploads%2Fgit-blob-f3899004d8c85054eaa9cb8747a4bd23d60d4be2%2FScreenshot%202024-04-03%20at%209.31.31%20AM.png?alt=media" alt="A &#x22;23 Log Sources&#x22; heading is above a table containing headers such as, &#x22;Source Name,&#x22; &#x22;Status,&#x22; &#x22;Log Types,&#x22; and more."><figcaption></figcaption></figure>

### Using a log source's operations page

1. In the left-hand navigation bar of your Panther Console, click **Configure** > **Log Sources**.
2. Click on any log source in the list to view that log source's operations page.

### Viewing the log source Overview

The **Overview** tab displays actionable log source metrics and health information. The **Basic Info** section displays frequently used, click-to-copy metadata, as well as the ingestion pipeline status.

#### **Source Status**

All statuses display the most recent timestamp for when that event occurred.

* **Source Created:** Log source configuration is complete and Panther should be able to ingest log data from the source.
* **Last Data Received:** Log data is available for normalization.
* **Last Data Ingested:** Log data has been processed and normalized.

<figure><img src="https://4011785613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LgdiSWdyJcXPahGi9Rs-2910905616%2Fuploads%2Fgit-blob-de6c0556528ba15761de210984c4f9756171d8b3%2FScreenshot%202023-08-25%20at%2012.25.40%20PM.png?alt=media" alt="On a log sources&#x27;s page, in the Overview tab, there is a &#x22;Source Status&#x22; section. It displays timestamps for Source Created, Last Data Received, and Last Data Ingested."><figcaption></figcaption></figure>

#### **Overview stats**

All data visualizations reflect the time period selected in the date picker. Events are included based on their ingestion time, or `p_parse_time` values.

* **Vol. of data processed**: The amount of uncompressed log data that has been successfully processed and normalized for the selected time period.
* **% of total processed data:** The amount of uncompressed log data ingested by this log source vs. the amount of all log data ingested for the selected time period.
* **# of events processed:** The number of successfully processed and normalized events for the selected time period.
* **Data Processed by Log Type** (chart)**:** The amount of data ingested by the log type (the type of data).
* **Events** (chart)**:** The number of events processed.
  * Note: There is a [corresponding table for each log type](https://docs.panther.com/data-analytics/backend#available-databases).

<figure><img src="https://4011785613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LgdiSWdyJcXPahGi9Rs-2910905616%2Fuploads%2Fgit-blob-0fac10c3e7f7ce2954cc08766442321d435042cb%2FScreenshot%202023-08-25%20at%2012.25.16%20PM.png?alt=media" alt="The Overview tab of a log source page shows various metrics, e.g., Vol. of data processed and % of total processed data, as well as graphs like Data Processed by Log Type"><figcaption></figcaption></figure>

### Viewing the log source schemas

At the top of the operations page, click the **Schemas** tab to see all schemas that are parsing and normalizing the data for this source.

If you are looking at a custom log source that uses a Data Transport, you will be able to add or remove schemas here.

<figure><img src="https://4011785613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LgdiSWdyJcXPahGi9Rs-2910905616%2Fuploads%2Fgit-blob-6cfd987069959795aa214b88c39600db7b418388%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

#### View in Search

In the list of schemas, on the right side of a schema's tile, click **View Data**. You will be redirected to [Search](https://docs.panther.com/search/search-tool) with pre-filled selections that you can run to view data associated with the schema for that source.

#### View log source raw data

{% hint style="info" %}
This feature is only available to log sources onboarded with the S3 transport method.
{% endhint %}

{% hint style="danger" %}
The permission `View Log Source Raw Data` is required. By default, only users with the Admin role have this permission.
{% endhint %}

When onboarding an S3 log source with or without log types, you get direct access to the log source's raw data that Panther receives.

To access the log source's raw data:

1. Log in to the Panther Console.
2. In the left sidebar menu, click **Configure > Log Sources**.
3. Click the **Schemas** tab then the **Edit** button

<figure><img src="https://4011785613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LgdiSWdyJcXPahGi9Rs-2910905616%2Fuploads%2Fgit-blob-f3dc16cfc1e94f89f794dd2fa0c27194c2944aef%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

In the Schema Configuration, you can view events for a specific time range. Optionally, you can limit results by applying filters for the S3 key prefix and a search string to match each event.

<figure><img src="https://4011785613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LgdiSWdyJcXPahGi9Rs-2910905616%2Fuploads%2Fgit-blob-2b993095d5969c10e2e6f4fe5ee05e2e419c228d%2FScreen%20Shot%202022-08-02%20at%2011.40.11%20AM.png?alt=media" alt="The schema configuration page shows raw data at the bottom. The filters above the data are set to search for the keyword &#x22;GET&#x22; with the prefix &#x22;AWSLogs.&#x22;"><figcaption></figcaption></figure>

### Viewing the log source health

At the top of the operations page, click the **Health** tab to see all system health alerts related to the health of the log source you are viewing.

This page displays errors related to data classification, log drop-off, S3 Get.Object, and permissions.

You can learn more about these error types in the documentation: [System Health Notifications](https://docs.panther.com/system-configuration/notifications/system-errors).

<figure><img src="https://4011785613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LgdiSWdyJcXPahGi9Rs-2910905616%2Fuploads%2Fgit-blob-1a5aa69fe8f4e8254c9a394b6b9ae537551205a4%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

### Viewing the log source configuration

In the upper right side of the operations page, click **Configuration** to see the log source's configuration details.

* Click **Delete** to delete the log source and associated configurations.
* Click **Edit** to update the existing configuration.

<figure><img src="https://4011785613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LgdiSWdyJcXPahGi9Rs-2910905616%2Fuploads%2Fgit-blob-1d5194a636dfa5d6d6ad9a8243b13b91756bb29a%2FBlurred%20Screenshot%202022-12-09%20at%205.29.28%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>
