Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

Home > Success Center > Log & Event Manager (LEM) > SolarWinds LEM 6.3 User Guide > Additional LEM Configuration and Troubleshooting Information > Using the Append Text to File Active Response

Using the Append Text to File Active Response

Created by Caroline Juszczak, last modified by Steve.Hawkins on Sep 13, 2016

Views: 2 Votes: 0 Revisions: 4

Use the Append Text To File Active Response to append static or dynamic text to a flat text file on your network. You can use this active response to keep a running list of deployed LEM Agents or track certain types of activity across several users and computers. You can also automate this active response in a rule or manually execute the response from the Respond menu in the LEM console.

To use this active response, ensure the file you want to append already exists. Follow these guidelines when creating the file:

  • Use TXT or a similar flat text file format.
  • Avoid using spaces in the file path or name.
  • Note the complete file path and name, as it is required to use the active response.

Configure the Append Text to File Active Response and Windows Active Response connectors on each LEM agent where you require an active response.

Configure the Append Text to File action in a rule

  1. Open your LEM console and log in to your LEM Manager as an administrator.
  2. Create a new rule or edit an existing rule that triggers on a specific event.
  3. Open the rule to edit, and select the actions in the left column.
  4. Drag the Append Text to File action from the left to the Actions box under the rule.
  5. Open the Constants and then drag the Text field to the empty box next to File Path under the Append Text to File action.
  6. Using the same event stated in the Correlations, select the event from the Events list and drag the DetectionIP field from the Fields list to the Agent under this action.
  7. Fill in the directory structure in the File Path under this action, indicating the name of the file.

  8. The Test field under the Append Text to File will contain the text that you are inserting into the file. If using plain text, drag the Text constant from the left to the empty box in the Text field.
  9. Save the rule.

Configure the Append Text to File Active Response connector on a LEM agent

  1. Open your LEM Console and log in to your LEM Manager as an administrator.
  2. Click the Manage tab, and then select Nodes.
  3. Locate the LEM agent on which you want to enable the connector.
  4. Click File:Success_Center/Reusable_content_-_InfoDev/LEMUserGuide_MT/0E0/040/Button-Gear_17x14.png next to the LEM agent and then select Connectors.
  5. Enter Append Text to File in the Search box at the top of the Refine Results pane.
  6. Click File:Success_Center/Reusable_content_-_InfoDev/LEMUserGuide_MT/0E0/040/Button-Gear_17x14.png next to the connector and select New.
  7. Enter a custom alias for the new connector, or accept the default.
  8. Specify whether you want the connector to append data to a new line in the How to append menu.
  9. Specify a maximum file size or accept the default.
  10. Click Save.
  11. Click File:Success_Center/Reusable_content_-_InfoDev/LEMUserGuide_MT/0E0/040/Button-Gear_17x14.png next to the new connector and select Start.
  12. Click Close to exit the Connector Configuration window.

Configure the Windows Active Response connector on a LEM agent

  1. Open your LEM Console and log in to your LEM Manager as an administrator.
  2. Click Manage > Nodes.
  3. Locate the LEM agent on which you want to enable the connector.
  4. Click File:Success_Center/Reusable_content_-_InfoDev/LEMUserGuide_MT/0E0/040/Button-Gear_17x14.png next to the LEM agent and select Connector.
  5. Enter Windows Active Response in the Search box at the top of the Refine Results pane.
  6. Click File:Success_Center/Reusable_content_-_InfoDev/LEMUserGuide_MT/0E0/040/Button-Gear_17x14.png next to the connector and select New.
  7. Enter a custom alias for the new connector, or accept the default.
  8. Click Save.
  9. Click File:Success_Center/Reusable_content_-_InfoDev/LEMUserGuide_MT/0E0/040/Button-Gear_17x14.png next to the new connector and select Start.
  10. Click Close to exit the Connector Configuration window.
Last modified
15:47, 13 Sep 2016

Tags

Classifications

Public