elasticsearch export specific index mappings

It can be a little confusing learning how to export elasticsearch mappings for a specific index. Exporting mappings is a great idea, just like you’d export and keep your database schema when you’re using mySQL or some other relational database, it’s important to keep the building blocks of your data store. To do a full […]

Elasticsearch – getting started

For those coming from traditional SQL databases, or nosql databases, some of the terminology used by Elasticsearch may take some getting used to. Connecting to Elasticsearch can be done by connecting to the machine with Elasticsearch installed through localhost (127.0.0.1). The default port is: 9200, and access is granted full to everyone. Access is denied […]

Install and configure logstash forwarder (filebeat)

Most of the time you’ll want to use the ELK stack to process your logs from a separate server. Previously we used a tool called the logstash forwarder, however it’s now called filebeat instead. It makes sense to offload your log processing CPU work to another server so that it won’t interfere with the operation […]

Coffeescript vs Typescript

With the arrival of Typescript 2.1, it seems like a good time for a comparison between coffee-script and typescript. JavaScript is a powerful language, no question. One of the main issues however is code readability and that leads to difficult maintenance in the future. On teams this becomes and even larger issue as newer team […]

ELK Stack Powered Analytics

Just what is the ELK Stack? The (ELK) stack consists of Elasticsearch, Logstash, and Kibana opensource applications. Each of these software packages is open source, yet managed by the open-source vendor Elastic. Even though they are separate applications, they’ve been designed and tested to work together magnificently. To help understand what the technology is all […]

Etcd, what is it?

So just what is ectd? It’s a distributed key-value store for shared configuration and service discovery. It’s focus is on an API which is well defined, secure with TLS, proven fast, reliable using raft distribution. It’s written in Go and uses consensus calgorithum to manage a highly a ailable replication log. etcd is used in […]

TypeScript 2.1 Announced today

Most of you probably already know that TypeScript is a language that brings you the new features of JavaScript with optional static types. This gives you an awesome experience that can’t be beat, with stronger checks against typos and bugs in your code. Microsoft has really built something great with typescript, and we welcome version […]

Why learn Coffeescript?

For some of us who’ve been programming JavaScript since it’s early days in the 1990’s, it’s hard to understand why we should learn yet another programming language, and one which converts into JavaScript which we already know. The idea with CoffeeScript they say is an attempt to expose the good parts of JavaScript in a […]

Chai Assertion Library

Just what is the Chai Assertion Library? From their website: Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework. Once you see the examples you start to get the idea: Should chai.should(); foo.should.be.a(‘string’); foo.should.equal(‘bar’); foo.should.have.length(3); tea.should.have.property(‘flavors’)   .with.length(3); Any programmer who […]