An open API service indexing awesome lists of open source software.

https://github.com/christopwner/splunk-logstash

Example docker compose configuration for Logstash with Splunk.
https://github.com/christopwner/splunk-logstash

logstash splunk

Last synced: 3 months ago
JSON representation

Example docker compose configuration for Logstash with Splunk.

Awesome Lists containing this project

README

        

# splunk-logstash
Example docker compose configuration for Logstash with Splunk.

## how to use
Run with:

`# docker-compose up`

Append to `app.log` to test logging to splunk:

`tail -n1 app.log >> app.log`

Navigate to http://localhost:8000 to view splunk deployment and logs. The password for `admin` login is in the `.env` file.

## caveat
Be aware of possible permission issues with the `settings/filebeats.yml` file. Requires `root` ownership and owner/group write only. That can be setup with following:

* `# chown root settings/filebeats.yml`
* `# chmod go-w settings/filebeats.yml`

See https://www.elastic.co/guide/en/beats/libbeat/current/config-file-permissions.html for more info.