---
title: "FKM - Send a portion of the log entries with an alert"
description: "The FKM plugin sends the log entry containing the error keyword with an alert through the triggerDetails cell. To send additional log entries, users must create a custom alert script that retrieves extra lines and triggers an action or effect."
url: "https://docs.itrsgroup.com/docs/faq/geneos/115004027889-geneos-fkm-send-a-portion-of-the-log-entries-with-an-alert/index.html"
---
## triggerDetails cell

The FKM's [triggerDetails](https://docs.itrsgroup.com/docs/geneos/current/collection/fkm-config/index.html#table-legend) cell contains the log entry where the configured error keyword is found. Given this, users typically configure rules that target the said cell. This way, the log entry that contains the error keyword is also sent with the alert.

## Adding extra log entries or lines

This is currently not supported by the FKM plugin. However, this is still doable by creating a custom alert script. Here are the high level steps:

1. Identify the server of the target log file
2. Ensure that there is a Gateway or a Netprobe running on the target log file's server
3. Create a custom alert script on the said server
   - Include the [Geneos variable](https://docs.itrsgroup.com/docs/geneos/current/processing/monitoring-and-alerts/geneos_rulesactionsalerts_tr/index.html#alert-information) for the target cell (i.e. \_VALUE)
   - Add commands, such as **tail** or **head** in Linux, to get the additional log entries required
4. Create an action or effect that executes the custom script
5. Create a rule or alert that triggers the action or effect.


