How to add a TCP Input to your Log Stack
To set up the Syslog input in your Logstash stack, follow these steps:
- Navigate to
Logstash Inputs
settings. - Click on the "Add New Input" button.
- Choose the "TCP" option you require from the list of available input types.
- The following configuration details are optional, only add if required:
- Display Name: Assign a name for the TCP input.
- Display Description: Provide a description for easy identification.
- Tags: Tag your events with arbitrary values (comma-separated).
- Type: Include a type field in all events processed by this input.
- Add Field: Append extra fields to your events by entering key-value pairs.
- Click the "Configure Input" button to save the TCP input configuration.
- Click "Cancel" to discard changes.
This guide provides a step-by-step process for configuring a TCP input in Logstash. Adjust the values based on your specific requirements and preferences.