---
title: "Logstash Integration"
slug: "logstash-integration"
description: "Learn how to ship logs to Stackify using Logstash. Install Stackify Logstash Output Plugin, configure the pipeline, and explore optional settings for enhanced log management."
updated: 2019-04-03T16:23:26Z
published: 2019-04-03T16:23:27Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackify.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Logstash Integration

Configure [Logstash](https://www.elastic.co/products/logstash) to ship logs to Stackify.

## Install Stackify Logstash Output Plugin

1. Download `logstash-output-stackify-#.#.#.gem` from [https://rubygems.org/gems/logstash-output-stackify](https://rubygems.org/gems/logstash-output-stackify).
2. Install `bin/logstash-plugin install /path/to/logstash-output-stackify-#.#.#.gem`
3. Add plugin to pipeline configuration:

```
output {
  stackify {
     key => "[ACTIVATION KEY]" 
  }
}
```

**Optional Configuration Options**:

- `default_env_name` - used if `env_name_field` is not defined - defaults to `Production`
- `default_app_name` - used if `app_name_field` is not defined - defaults to `Logstash`
- `env_name_field` - field to use for env name
- `server_name_field` - field to use for server name
- `app_name_field` - field to use for application name
- `level_field` - field to use for log level
- `message_field` - field to use for message - defaults to `message`
