logstash

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2019 License: GPL-3.0 Imports: 9 Imported by: 1

README

logstash

This module will monitor one or more logstash servers depending on configuration.

Servers can be either local or remote.

It produces following charts:

  1. JVM Threads in count
  • threads
  1. JVM Heap Memory Percentage in percent
  • in use
  1. JVM Heap Memory in KiB
  • used
  • committed
  1. JVM Pool Survivor Memory in KiB
  • used
  • committed
  1. JVM Pool Old Memory in KiB
  • used
  • committed
  1. JVM Pool Eden Memory in KiB
  • used
  • committed
  1. Garbage Collection Count in counts/s
  • eden
  • old
  1. Time Spent On Garbage Collection in ms
  • eden
  • old
  1. Uptime in time
  • uptime
configuration

Detailed logstash configuration with all available parameters can be found in 'go.d/logstash.conf'

Here is a simple example for local and remote server:

jobs:
  - name: local
    url : http://localhost:9600

  - name: remote
    url : http://10.0.0.1:9600

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Charts

type Charts = module.Charts

Charts is an alias for module.Charts

type Config added in v0.5.0

type Config struct {
	web.HTTP `yaml:",inline"`
}

Config is the Logstash module configuration.

type Dims

type Dims = module.Dims

Dims is an alias for module.Dims

type Logstash

type Logstash struct {
	module.Base
	Config `yaml:",inline"`
	// contains filtered or unexported fields
}

Logstash Logstash module.

func New

func New() *Logstash

New creates Logstash with default values.

func (*Logstash) Charts

func (l *Logstash) Charts() *Charts

Charts creates Charts.

func (*Logstash) Check

func (l *Logstash) Check() bool

Check makes check.

func (Logstash) Cleanup

func (Logstash) Cleanup()

Cleanup makes cleanup.

func (*Logstash) Collect

func (l *Logstash) Collect() map[string]int64

Collect collects metrics.

func (*Logstash) Init

func (l *Logstash) Init() bool

Init makes initialization.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL