Skip to content

Latest commit

 

History

History
77 lines (53 loc) · 1.74 KB

server_agents.md

File metadata and controls

77 lines (53 loc) · 1.74 KB

This describes capture of status and operational information.

On November 24, 2015 Elastic released version 1.0 of OSS Beats. See https://www.elastic.co/blog/beats-1-0-0. Tudor Golubenco @tudor_g tweeted Nov 24 "I quit my job at BigCo 1y ago to work full time on this OSS project."

## Custom Beats development Different application monitoring system provide its own agents installed on servers to collect, parse, and ship metrics.

Various agents are often not compatible with each other. So metrics may need to be extracted out of AppDynamics database (via REST API) for shipping to Logstash via a custom Beat based on the Beats Developer Guide.

TopBeats is based on the Go programming language.

  1. Instead of installing from https://golang.org/doc/install, Mac owners can use this from any folder:

brew install go sudo chown -R whoami /usr/local/bin brew link go export PATH=$PATH:/usr/local/opt/go/libexec/bin go help ```

  1. Define a workspace folder to hold go command files, such as:

cd / mkdir work ```

  1. Define a pointer to it:

export GOPATH=$HOME/work ```

  1. Open a text editor and paste this simple program in that work folder:

package main

import "fmt"

func main() { fmt.Printf("hello, world\n") } ```

  1. Compile it:

go install github.com/user/hello ```

  1. Run it:

$GOPATH/bin/hello ```

You should see "Hello world print out".
  1. More on how to code Go programs:

    How to write go code