# logstashConfig
Configuration for the logstash ingest boxes

## Deploy to Production with Skadi

* Go here: [Skadi Deployment][1]

## Jenkins Jobs:

* Build:  [dta-syslog-build][2]
* Deploy: [dta-syslog-deploy][3]


## Testing

To test the logstash configuration follow these steps:

* build a logstash docker image locally using the following command:
  * `docker build -t logstash:<sometag> .`
* Start the logstash container:
  * `docker run -p6514:6514 -p5044:5044 -p7777:7777 -ti logstash:<sometag> /bin/bash`
* Now start logstash and see if your configuration works as expected:
  * `logstash -f /etc/logstash/conf.d/main.conf` OR you can do a debug with:
  * `logstash --log.level=DEBUG --config.debug -f /etc/logstash/conf.d/main.conf`



[1]: https://clean-deploy.internal.justin.tv/#/home/dta
[2]: https://jenkins.internal.justin.tv
[3]: https://jenkins.internal.justin.tv
