Posts tagged IT Ops

3 min IT Ops

How to Add a GPS Time Source to ntpd

USB GPS dongles have come down significantly in price in recent years and I picked one up to play with recently. Apart from using a GPS module to report your latitude, longitude, altitude and time for mapping applications, it’s also possible to feed the time information to ntpd as a back-up time source or as a highly accurate time source depending on the GPS module you end up getting. [/content/images/le-img/2015/07/adding-gps-time-source-to-ntpd.png] The module that I use in this blog post

2 min IT Ops

Playing with Java 8's Completable Futures

Of the many additions to Java 8 such as the Stream API [https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html] and lambdas [https://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html], I noticed one of the lesser talked about ones was CompletableFutures [https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html] . So I decided to have a play around with them on the last Java component I wrote. My use case in a nutshell was piping larg

4 min IT Ops

Ditch the Debugger and Use Log Analysis Instead

This guest blog post is written by Matthew Skelton, Co-founder and Principal Consultant at Skelton Thatcher Consulting. -------------------------------------------------------------------------------- Summary: As a Developer, you cannot attach the debugger to your application in Production, but you can use logging in a way that helps you easily diagnose problems in both development AND Production. You also get to make friends with Operations people – win! The applications we’re developing and

1 min IT Ops

10 Best Practices for Log Management & Analytics: Part 1

[http://info.logentries.com/log-management-best-practices] This 3-part series covers Logentries’ 10 best practices for log management and analytics. To download the complete article, click here [https://information.rapid7.com/insightops-10-best-practices-for-log-management-and-analytics.html] . As applications, hosting environments and infrastructure continue to grow in size and complexity, having a well defined set of logging strategies and practices is more important than ever. In Logentri

2 min IT Ops

Using Log Data Streams for Real-Time Analytics: Part 1

This 3-part series explores the definition and benefits of using log data streams and real-time analytics for some common IT Ops uses cases. To download the complete article,click here [http://info.logentries.com/real-time-analytics] . [http://info.logentries.com/real-time-analytics] Analytics tools are often focused on analyzing historical data. Taking a sample of data from historical events, you can perform calculations to determine what happened during that period of time and report on you

6 min IT Ops

How to Implement ANTLR4 Autocomplete

Antlr4 [http://www.antlr.org/] is a new iteration of a popular Antlr parse tree generator. Antlr4 features great documentation [https://theantlrguy.atlassian.net/wiki/display/ANTLR4/ANTLR+4+Documentation] and an in-depth book [https://pragprog.com/book/tpantlr2/the-definitive-antlr-4-reference] on the subject. However, the topic of autocompletion lacks any substantive material. I hope this article will steer you in the right direction if you are looking to implement autocomplete functionality

2 min IT Ops

Announcing Logentries as Google Cloud Platform's First Log Analytics Partner

Today we’re excited to announce [https://logentries.com/logentries-delivers-first-real-time-log-management-and-analytics-integration-for-google-cloud-platform] our partnership with Google Cloud Platform, making Logentries [https://logentries.com]the first provider of log analytics for Google Cloud customers. [/content/images/le-img/2015/06/logging-from-the-google-cloud-platform.png] Logentries’ Google Cloud integration enables Google customers to perform advanced analysis on their log data,

3 min IT Ops

Introducing Logentries NEW Query Language: LEQL

We are excited to announce that Logentries’ new SQL-like query language, LEQL, is now available [https://logentries.com/logentries-new-analytics-language-makes-the-power-of-log-data-accessible-to-the-masses/] for more advanced analytics and easy extraction of valuable insights from your log data. A SQL-Like Query Language If you’ve ever used SQL, LEQL should feel familiar. In fact, Logentries already supports a number of SQL-like search functions, including: * SUM: Sums a set of values *

2 min IT Ops

How to Log with the Docker Logentries Container

Logentries offers a variety of ways to get logs out of your containerized environment [/2015/04/logging-on-docker-what-you-need-to-know/], including our Linux Agent, application plugin libraries, and Syslog. In this post we’ll cover collecting and forwarding logs via our Docker Logentries Container, which requires Docker 1.5 or higher. To configure the Docker Logentries Container you’ll need to do the following: * Create a destination log in your Logentries account to record your Docker lo

2 min IT Ops

New Logentries Cookbook for Chef

[/content/images/le-img/2015/03/chef-and-logentries.png#img=half-right]We have released our logentries_agent cookbook to supermarket.chef.io [https://supermarket.chef.io/cookbooks/logentries_agent]! You can check out the docs here, [https://supermarket.chef.io/cookbooks/logentries_agent]or I’ve developed the following brief tutorial to walk you through how to automate your installation of the Logentries Linux Agent [https://logentries.com/doc/agent/] in your own infrastructure. First off, I

4 min IT Ops

Terminology Nerd War: APM, Log Analysis & More

Just the other day I was hanging out with my developer buddy. We entered what we thought would be an interesting topic on how you cannot call an environment “DevOps” without analytics. But we soon were in a nerd war on what a term meant. Yes, this is what I talk about in my free time. ![ ](https://blog.rapid [/content/images/le-img/2015/03/nerd-war.png] In the thick of it, we both used the term “Server Monitoring.” But neither of us were talking about the same thing. I was referring to log man

3 min IT Ops

Why Interoperability is a Key Requirement for Your DevOps Toolkit

Today’s DevOps culture drives the requirement for development and ops teams to share tooling and to combine lots of different services/processes to give them visibility into their systems throughout the system life cycle. For example the modern DevOps toolkit [/2014/12/infographic-the-modern-it-and-dev-ops-toolkit/] will consistently include the following categories of tools (and more…): * APM (e.g. New Relic, AppDynamics, AppNeta, AlertSite) * Team Communication (e.g. Slack [https://logen

3 min IT Ops

Getting Started with the Logentries & Logstash Integration

Logstash is an open source tool for managing events and logs. It is used to collect, search and store logs for later use. If you are using Logstash to collect logs from across your infrastructure already, and you are looking for more sophisticated log analytics tool, you are in the right place. I will show you how to configure Logstash to forward all your logs to your Logentries [https://logentries.com]account using the plugin and token connection. Prerequisites * Logstash downloaded and co

3 min IT Ops

Logging Your Entire Software Delivery Pipeline

When we think of traditional development and production operations, we often put everything into a linear software delivery pipeline that starts with a development backlog, and ends with production monitoring. We slot tools at each stage, and for the most part, keep everything segmented. Log analysis [http://logentries.com]is a common tool in that chain but where does it fit? At the end? I think not. Log analysis can be used throughout your entire software delivery pipeline. The linear pipeline

4 min IT Ops

Acceptance Tests In Practice - Behavior Driven Development

What is Acceptance Testing? "Acceptance testing is a test conducted to determine if the requirements of a specification or contract are met.” (Wikipedia definition [http://en.wikipedia.org/wiki/Acceptance_testing]) In simple words, Acceptance tests check if the software that we have built matches the requirements that were provided. The Magical Black Box Acceptance testing is usually performed using “black box [http://en.wikipedia.org/wiki/Black_box]” testing method. The tester of the system k