elasticsearch curl query examples

A quick way to get results from elasticsearch, test your queries and make sure your data is being indexed correctly is to fire off some queries from the command line. Using curl, you can get this going quickly. View all your elasticsearch indices: curl -XGET http://localhost:9200/_cat/indices?v A quick search across all indices: curl -XGET http://localhost:9200/_search/?q=foo […]

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 […]

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 […]