-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document the existence of the Debian repository #184
Comments
I can see things about |
I believe there are currently RPM and DEB packages but not officially published. From memory they are next on the list after the Logstash 1.4 release. /cc @electrical. |
Oh hi again @jamtur01 :-) Okay. Yeah, it would be super helpful. I want to automatically provision my machines running logstash-forwarder, but doing
is a right pain in the ass. |
Hi, We indeed setup a yum and deb repository for LSF. For DEB add the following to your sources.list:
run then you should be able to install it via |
Hi electrical, |
@jblezoray i think we haven't got around to do that yet i'm afraid :-( |
+1 this needs to be more visible !! |
Don't forget to add the GPG key:
|
The repositories existence is documented on the elasticsearch blog. |
@jblezoray that blog does not document this repo, only the logstash core, which is far too heavy for 90% of machines. The forwarder repo should be documented as well. |
The deb package also feels strangely incomplete. There's no default conf file. Looking at the /etc/init.d/logstash-forwarder script, it appears it's looking for /etc/logstash-forwarder Is that a file named logstash-forwarder, or a dirname where it expects to find logstash-forwarder.conf? |
Ah, it's looking for a /etc/logstash-forwarder file. |
Additionally, for RedHat/CentOS, you can install via the official repo by adding the GPG key, then add the following to
Now you can |
The logstash-forwarder yum/deb repos are still a work in progress. Today, the recommended way to build lsf is from git master, at least until we do another release. |
@jordansissel - Good to know, and that explains why documentation is nonexistent :) Having official packages would go along way towards easier/faster adoption, of course, but I know it takes time to get the repos set up and running efficiently. |
The biggest blocker on adoption of lsf is presently difficulty users have in generating SSL certificates. We're working on that. |
Does the repo have regular releases? I see 0.3.1 in there, but according to github, that was released almost a year ago. Perhaps it's just LSF itself that isn't regularly doing version increments? I see a lot of merges in Github. I'm using config management tools to do this, and without a package, that work gets a lot uglier. |
Wow, this has to be in README: I've almost trashed the idea of using it because all the hassle with build it through gem-fpm-go-whatever described in readme is plain insane - it's completely unmaintainable. |
Yeah this really needs to have packages. This is kind of a mess. |
+1 |
and today, these repos disappeared =( |
The repo was delivering know buggy version of lsf for months. I tried to We will be doing another release of lsf soon. -Jordan On Sunday, February 8, 2015, Andrei Burd notifications@github.com wrote:
|
😞 just went to push a deploy that relied on this repo and now it's 404. I guess the official line would be not to use it even if it does come back, seeing as it is not publicised? |
@malclocke Mentioned previously, the recommendation is to build from master. The package previously known as "logstash-forwarder 0.3.1" was very buggy and caused trouble for so many new users that I purged it. |
Purging the repo also caused the "official" puppet module to break as well |
You could also just push 0.3.2 to the repo instead of purging everything? Breaking yum/apt for everyone... |
Also please note that I cannot build the package using
And if I try to install pleaserun :
This sucks a lot. |
@deviantony +1 for not being able to compile the package myself, I just hit the same problems myself. I'm now stuck without a way to rebuild our Vagrant Basebox. I'll have to somehow recover the package from an existing box and setup our own repo mirror (I'm aware that this is supposed to be a buggy version but it works for us and I don't see a reasonable alternative, this is a far deeper rabbit hole than I intended to dig). |
You can grab the package from the dropbox account belonging to @burdandrei (thank you!). Look at the comments above to find it. |
+1 this small issue breaks basically all our ansible playbooks because "aptitude update" fails with 404, so I now need to remove this repo from the sources.list of all machines before I can install any updates again. Will do that now, but would also be very grateful for a new repo we can point to. |
Hi all, We are working hard on getting LSF ready for a new release. |
Thanks for the update electrical. Just found this today when deploying a new server and installing logstash-forwarder failed :( Looking forward to the new release. |
@electrical looking forward to it 👍 |
@electrical thanks for the update. Any eta on reactivating the repo? Our builds relied on it. |
think whould really good if appear possibility to choose default path for config file |
Hi guys, any news, eta or something ? |
This one bit me hard yesterday. The clear take away for a user is to mirror everything that's mission critical, if you aren't already. @jordansissel and all other contributors: Thank you for your work on this and for providing a repo. It's a huge help in getting it (and logstash in general) deployed. My two cents, in the hope of providing some constructive criticism: If we want people to treat this as a critical part of their infrastructure (and thus integrate it into their deployment scheme), being able to count on the deploy process is incredibly important. In the future, especially with repositories or anything that is a potential dependency for deployment, it would be a huge help to make sure that changes are either: a) non-breaking or b) publicly notified far in advance of a breaking change. Just my opinion, but I think that creating a new repository would have been a much better option based on what we know so far about the reasons for the change (though I acknowledge that there may be factors that have not come to light yet). After establishing a working, opt-in alternative and providing a reasonable notification period, it would be okay to kill the current repo, redirect it, or replace it. Taking a very considered approach to breaking changes is important in being a steward of any public-facing software. I think the fact that this change affected so many people testifies to the fact that logstash-forwarder and the people contributing to it are doing important (and hopefully appreciated) work. With some additional process in place, this should be something that can be avoided in the future. It'd be nice, once a fix is in place, to do a post-mortem so that there are some concrete steps that people can plan on in the future. I think we all learned a lot, hopefully with out too much long term pain. Thanks again for the work you're doing. |
Hallo everybody, the last couple of weeks I was busy setting up a Logging Environment at work. It is a feasibility study on how to avoid splunk. Just as I am about to tell the team, that we can go with the logstash-graylog combo, the repository goes offline. Well, that was a little bit embarrassing for me :) But I do not want to be the one who is complaining: Thank you for your hard work. Your software is cool. And will be even cooler, as soon as you make the installation fool-proof again. Cheers Oh one more thing: While installing it on Windows i spend a lot of time on the question on how to configure the paths (you have to use double ). Finally I found the answer, well hidden on: |
That would require fixing #299 with the help of lintian tool. |
Dude. Killed so many deployments. |
+1 |
#285 tracks the package repository. |
#385 actually. |
wtf?? still no package and don't want to build. Going to use Fluentd instead! |
Can anyone in this thread provide a list of alternatives to |
Gents, I know this is not a long-term solution but it helped me a lot: I used this for installing manually, but with little modification you can put this into Chef or any other config management tool that you use. The only thing that you need to do is to give access to your servers so they can scp the crt file and that's it. It works just after executing this script. This might help you a bit. |
@mahnunchik I maintain an alternative called Log Courier - it doesn't have Deb or rpm at moment but will have CentOS/RedHat rpm soon. Not had any demand for Deb as such. |
@driskell 's alternative is great but it also lack the presence of a debian repository, which is mainly why I didn't switch to it. |
@Siljanovski yup, pretty much what I'm doing. Careful with the the wget on master you should use "https://github.com/elasticsearch/logstash-forwarder/archive/v0.3.1.tar.gz" instead. Also the touch should be unnecessary with the |
What I ended up doing for now is to salvage a copy of the .deb file from the cache of one of our running servers and build a repository around it on S3 using reprepro. Eventually I'll get around to mirror all such "small" external repositories we use, and would recommend everyone else to do the same. If you need a copy of the repository then let me know how you want me to get it to you. |
The README describes how I can build and then package logstash-forwarder. However, it would be much more convenient if there were either an archive of deb files, or a Debian/Ubuntu repository. Then I wouldn't have to bother with Ruby, FPM, Go, and any other transient build-time dependencies.
The text was updated successfully, but these errors were encountered: