This reminds me of something I've been wondering about since the Bitcoinica heist: how do people usually set up secure offline backups which can't be erased using the credentials on the backed-up server? I would probably do something with ssh authorized_keys if I had to make it from scratch, but are there obscure security/reliability risks, and tools which have already mitigated these risks for you?
1. Don't make your backup server accessible on the public internet. 2. Don't allow shell access from any server that does have access to the public internet. When your web server gets hacked, you don't want your assailant to have the ability to shell around in your network. 3. If you need shell access from outside the network, have a host specifically for this purpose and disallow password authentication (.ssh/author…
Central Logging with Open Source Software
31–40 of 51 posts
Re: Central Logging with Open Source Software
#32A little bit of warning, to be fair: he mentions you should quit everything in favor of Graphite. As awesome as Graphite it is, it's not really production ready, and setting it up is an exercise in putting together semi-working software without any documentation.
Re: Central Logging with Open Source Software
#33Anyone doing this at scale using Scribe/Flume with HDFS and Hive/Pig/MapReduce?
Re: Central Logging with Open Source Software
#34Just get Splunk. I'm a pretty experienced Solr developer, and I've played with Elastic Search etc, and I've been using Splunk for about a year. The thing people miss about Splunk unless they know it is how good the search interface is. For example, the search language roughly comparable to Lucene/Solr/Elastic Search, but also includes the ability to parse input files, and present results graphically. No open source s…
Re: Central Logging with Open Source Software
#35See: http://blog.bitbucket.org/2012/01/12/follow-up-on-our-downti...
Re: Central Logging with Open Source Software
#36Just get Splunk. I'm a pretty experienced Solr developer, and I've played with Elastic Search etc, and I've been using Splunk for about a year. The thing people miss about Splunk unless they know it is how good the search interface is. For example, the search language roughly comparable to Lucene/Solr/Elastic Search, but also includes the ability to parse input files, and present results graphically. No open source s…
Don't listen to this guy if you own more than a couple servers.
We have a couple of datacenters, so yes, we have more than a couple of servers.
Re: Central Logging with Open Source Software
#37Earlier quoted context omitted.
Ok. The one part I don't like in ES is being java and the trouble that usually goes with it (yeah, judging stuff like this is bad, I know :) For logging searching is the major item at large sites IMO (talking terabytes at least), when you're looking for all occurrences of "item x" over.. "the past week", it may take 1H "the past month", it may take 10-30H "the past year", uh, no, you don't do that. So you gotta use r…
The vast majority of open source "big-data" infrastructure is in Java (Hadoop, HBase, Cassandra, Solr, Elastic Search etc). It works pretty well. I'm not sure what your question is, but I've experimented with loading netflow data in Solr and I'm averaging sub-2 second query times. That's on a laptop, with a couple of minutes of netflow (around 10Gb). With proper indexing your search response time shouldn't increase l…
And i'm talking 100gb+ indexes ;-)
Obviously 2min of netflow data ain't much. I would want to see the result over 200h (or more) of netflow data, for example
Re: Central Logging with Open Source Software
#38A little bit of warning, to be fair: he mentions you should quit everything in favor of Graphite. As awesome as Graphite it is, it's not really production ready, and setting it up is an exercise in putting together semi-working software without any documentation.
Re: Central Logging with Open Source Software
#39Earlier quoted context omitted.
Don't listen to this guy if you own more than a couple servers.
Why do you say that? We have a couple of datacenters, so yes, we have more than a couple of servers.
We did a trivial test of Splunk at my last company, it's extremely expensive and it's very easy to bump into its limitations. We were able to wreck the poor Splunk server with some rather sundry queries into a dataset that shouldn't have been that big of a deal. Issues that we took back to the company and didn't get any real answer on.
Its popularity leads me to surmise that there is still a lot of money to be made in solving mundane problems. (Which is good news if you're a product-minded programmer)
Re: Central Logging with Open Source Software
#40A little bit of warning, to be fair: he mentions you should quit everything in favor of Graphite. As awesome as Graphite it is, it's not really production ready, and setting it up is an exercise in putting together semi-working software without any documentation.
Companies like Orbitz and Etsy that use the heck out of Graphite would be surprised to hear that it's "not really production ready"