Commit graph

67 commits

Author SHA1 Message Date
Suyog Rao
e8f32f23fb Fix failing travis test
Fixes #6176
2016-11-02 18:10:39 -04:00
Suyog Rao
32363fb561 Make logstash.yml optional
5.0.0 required Logstash to have a valid logstash.yml before it could start successfully. This
was mostly fine for users who installed Logstash via tar.gz, but many many folks who install
it via packages still start Logstash manually. Also, our documentation uses -e flag for
getting started on Logstash and sending their first event.logstash.yml has only defaults defined,
and there is no required parameter to start Logstash. We should be able to use the defaults if no
logstash.yml. Obviously, this is not ideal from a user point of view, so we should log a warning but
continue to bootstrap.

Fixes #6170

Fixes #6172
2016-11-02 15:51:59 -04:00
Suyog Rao
ae60c7dfd4 -e and -f should merge even without valid conf file
Previously if both -e and -f was specified, LS required that
-f still have valid config file(s) before merging. This fixes it
to either have one of -f or -e provided

Fixes #6164
2016-11-01 18:37:38 -07:00
Suyog Rao
599065ef9e refine tests
Fixes #6031
2016-10-14 18:27:45 -04:00
Suyog Rao
86502c0bb7 Make tests more robust
Fixes #6031
2016-10-14 18:27:45 -04:00
Suyog Rao
d3357232b8 Increase the tries
Fixes #6031
2016-10-14 18:27:45 -04:00
Suyog Rao
4533bbbe97 Use try instead of stud::try
Fixes #6031
2016-10-14 18:27:45 -04:00
Suyog Rao
37800fc653 Use randomized ports
Fixes #6031
2016-10-14 18:27:44 -04:00
Suyog Rao
75d70c6a20 Add new tests and some helpers
Fixes #6031
2016-10-14 18:27:44 -04:00
Suyog Rao
be43b4a013 Add new integration tests
Fixes #6031
2016-10-14 18:27:44 -04:00
Suyog Rao
65435ba41c Enable RATS integration tests on travis
Fixes #5963
2016-09-23 12:00:14 -04:00
Suyog Rao
dfd6164edd changes after review
Fixes #5917
2016-09-22 13:43:48 -04:00
Suyog Rao
4008a7ad7e Fixes after @ph review
Fixes #5917
2016-09-22 13:43:48 -04:00
Pier-Hugues Pellerin
f6b623fe92 Update the configuration to make it work with the latest libbeat (#5944)
changes.

In beta1, some options changes occurred in filebeat with the name of the
ssl options.

Like theses:

tls=>ssl
certificate_key => key

Fixes #5917
2016-09-22 13:43:48 -04:00
Pier-Hugues Pellerin
3b5ac6008b Adding integration testing for filebeat and make the test a bit more flexible
The test includes theses scenario

- No TLS
- TLS Server Auth
- TLS Mutual Auth

Theses theses test relies on a certicate include in the fixtures to correctly run,
there is also a script to generate them.

Make the ServiceLocator class is now more flexible and use the pattern matching
to create the registry on the fly

Fixes #5887

Fixes #5917
2016-09-22 13:43:48 -04:00
Suyog Rao
d71112da0e Cleanup of print messages
Fixes #5917
2016-09-22 13:43:47 -04:00
Suyog Rao
bb4189cdc8 Add initial round of integration tests
Fixes #5917
2016-09-22 13:43:47 -04:00