Comments (7)
This actually affects everything tried: 0.6.1, 0.7.0, master branches
Edit: ok seems to be the transport is not set, by default we should use rabbitmq probably?
from chef-logstash.
I do not use this recipe nowadays, so I could be wrong. But this is what I remember:
Transport is chosen from the node['logstash']['beaver']['outputs']
attribute, which should be an array of hashes. See the example in the README.
Only the following transports are supported by the beaver recipe (I don't know if beaver currently supports more transports):
- amq
- redis
- stdout
- zmq
See the code of the recipe for more information. outputs
array is filled there.
Setting a default transport doesn't make sense to me.
from chef-logstash.
I thought intention of this cookbook, to provision logstash server and client, which starts to work instantly without any configuration..? You already taking logstash_server node IP, from node state in beaver recipe, why not to take all credentials you need if you pick one of the outputs/inputs for server/client?
Let's say I have two roles: logstash_client and logstash_server, one has logstash::agent, another one has logstash::server recipes. Without specifying any attributes at all, i've got working logstash-server/client out-of-the-box. This doesn't makes sense to you?
from chef-logstash.
By the way this pull request seems to be updated readme file in a better manner :) #186
from chef-logstash.
I thought intention of this cookbook, to provision logstash server and client, which starts to work instantly without any configuration..? You already taking logstash_server node IP, from node state in beaver recipe, why not to take all credentials you need if you pick one of the outputs/inputs for server/client?
I do not know if I understood this paragraph correctly.
The transport in the beaver recipe is calculated from the outputs attribute. If this attribute is empty, cannot be calculated. The outputs are required by beaver to run, but not by logstash agent.
Let's say I have two roles: logstash_client and logstash_server, one has logstash::agent, another one has logstash::server recipes. Without specifying any attributes at all, i've got working logstash-server/client out-of-the-box. This doesn't makes sense to you?
Maybe I'm wrong on this point. AFAIK, that's because logstash agent works out of the box, beaver not. That is, logstash agent can be started without any outputs, beaver cannot. That's the problem, right?
But I see your point. I have not a clear answer to the problem. Perhaps starting beaver with some defaults may be a good idea, but I have not clear what values to set as default. Beaver can be started only with one transport and its behavior is different from logstash agent. It does not completely replace logstash agent. At least that was the last time I used it.
from chef-logstash.
M, so I still need to configure logstash_server to accept some kind of specific input from beaver right? Ok understood. This makes sense :)
P.s. Without #187 logstash::agent fails for me in all branches. Maybe this has something to do with Chef version. I'm using latest one.
from chef-logstash.
M, so I still need to configure logstash_server to accept some kind of specific input from beaver right? Ok understood. This makes sense :)
You need to configure beaver to output to, for example, amq. Then you configure logstash server to read from amq.
from chef-logstash.
Related Issues (20)
- Unable to install logstash 2.3.2 getting plugin install errors HOT 1
- Problem in Amazon OpsWorks with Ubuntu 16.04 HOT 1
- Support JAVA_STACK variable
- Logstash 2.3.4, 2.3.3 service fails HOT 9
- LWRP "version" property is being ignored HOT 1
- Recipe fails with No resource or method named `logstash_instance' error
- Deprecated? HOT 2
- Version 0.13.0 fails on Chef 12 due to version declaration HOT 3
- failing on linux_user
- plugin guard not working HOT 3
- config not working HOT 1
- Switch to strings for hash keys instead of symbols
- tarball plugin install error minitar HOT 1
- Restart Server only on config change
- logrotate config has invalid path of just "*.log"
- specify init choice for service? HOT 4
- "agent" is not a valid parameter to Logstash anymore HOT 2
- Boolean properties are overriden by default values when set to false HOT 15
- chef/mixin/language incompatible with Chef 14 HOT 3
- logstash_instance fails when installing from source
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chef-logstash.