Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Missing target.description #37

Open
nommuh opened this issue Oct 4, 2018 · 0 comments
Open

Missing target.description #37

nommuh opened this issue Oct 4, 2018 · 0 comments

Comments

@nommuh
Copy link

nommuh commented Oct 4, 2018

I'm trying to use the default configuration and I'm expecting target.description in ES but it's not available.

...
pingbeat:
  # Defines how often a ping is sent to a target
  period: 1s
  # Whether to send pings over IPv4
  useipv4: true
  # Whether to send pings over IPv6
  useipv6: false
  targets:
    - name: "127.0.0.1"
      tags: "localhost"
      desc: "there's no place like home"
...

Running pingbeat -e -d "*" -c /etc/pingbeat/pingbeat.yml. Publish doesn't show the field either.

...
2018/10/04 14:32:42.891583 client.go:214: DBG  Publish: {
  "@timestamp": "2018-10-04T14:32:42.891Z",
  "beat": {
    "hostname": "my-host",
    "name": "my-host",
    "version": "5.6.10"
  },
  "logzio_codec": "json",
  "rtt": 0.036898,
  "target": {
    "addr": "127.0.0.1",
    "name": "127.0.0.1",
    "tags": [
      "localhost"
    ]
  },
  "token": "aslkdakjaslasdklsaldjaslkjdlasjdalsjdlasjdlaksjd",
  "type": "my-host-pingbeat"
}
...

What am I missing?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant