wearethefoos / chef-logstash Goto Github PK
View Code? Open in Web Editor NEWBasic Logstash cookbook for Chef that installs Logstash from the official package repo's.
License: MIT License
Basic Logstash cookbook for Chef that installs Logstash from the official package repo's.
License: MIT License
So I've been poking around for a while now trying to get logstash 1.5 to install, but I'm continually getting hung up at various points. I've been trying to figure out where in the code (if that is the source of the trouble) things are failing but to no avail.
My question would be whether anyone has used this repo to install Logstash 1.5, and if so what steps were taken to get there.
The error I'm seeing now is as follows:
[2015-09-28T02:53:25+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: /reports/nodes/db-logstash2.localdomain/runs
I've had many others, but at this point it doesn't look like Logstash is even booting on my machines.
Cheers
How do I use the new conditional for "type" in the Chef configuration?
I currently use the following config:
...
"agent": {
"inputs": [
{
"file": {
"path": ["/var/log/nginx/*log"],
"exclude": ["*.gz"],
"type": "nginx-access",
"start_position": "beginning"
}
}
],
"filters": [
{
"grok": {
"type": "nginx-access",
"match": [ "message", "%{IPORHOST:remote_addr} - %{USER:remote_user} \\[%{HTTPDATE:timestamp}\\] \\\"(?:%{WORD:http_verb} %{NOTSPACE:http_request}(?: HTTP/%{NUMBER:http_version})?|%{DATA:raw_http_request})\\\" %{NUMBER:http_status_code} (?:%{NUMBER:bytes_read}|-) %{QS:http_referer} %{QS:http_user_agent}"]
}
}
],
...
It appears to work, but I'm getting this in the logs:
{:timestamp=>"2014-12-28T13:10:20.495000+0000", :message=>"You are using a deprecated config setting \"type\" set in grok. Deprecated settings will continue to work, but are scheduled for removal from logstash in the future. You can achieve this same behavior with the new conditionals, like: `if [type] == \"sometype\" { grok { ... } }`. If you have any questions about this, please visit the #logstash channel on freenode irc.", :name=>"type", :plugin=><LogStash::Filters::Grok --->, :level=>:warn}
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.