Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement state reporting for Beats #7521

Closed
7 of 9 tasks
ruflin opened this issue Jul 5, 2018 · 5 comments
Closed
7 of 9 tasks

Implement state reporting for Beats #7521

ruflin opened this issue Jul 5, 2018 · 5 comments
Labels
Feature:Stack Monitoring meta monitoring needs_team Indicates that the issue/PR needs a Team:* label Stalled

Comments

@ruflin
Copy link
Member

ruflin commented Jul 5, 2018

This is a meta issue to track the implementation of the state reporting to the API and X-Pack Monitoring

The reported event looks as following:

{
  "beat": {
    "name": "ruflin"
  },
  "host": {
    "architecture": "x86_64",
    "name": "ruflin",
    "os": {
      "build": "17E202",
      "family": "darwin",
      "platform": "darwin",
      "version": "10.13.4"
    }
  },
  "input": {
    "count": 1,
    "names": [
      "redis"
    ]
  },
  "module": {
    "count": 3,
    "names": [
      "system"
    ]
  },
  "output": {
    "name": "elasticsearch"
  },
  "queue": {
    "name": "mem"
  },
  "service": {
    "id": "0e1b1913-73db-4512-b17a-8209fa45eaa4",
    "name": "metricbeat",
    "version": "7.0.0-alpha1"
  }
}

For now processor were left out as they need some additions to the interface to be reported.

This ticket is kept open until the changes are also applied to the Elasticsearch template and all PR's are merged.

ruflin added a commit to ruflin/elasticsearch that referenced this issue Jul 16, 2018
New data is reported from Beats to the monitoring endpoint. This PR adds the template change necessary for it. See elastic/beats#7521 for more details.

Queue data is skipped for now as implementation is not finished yet.
ruflin added a commit to elastic/elasticsearch that referenced this issue Jul 23, 2018
New data is reported from Beats to the monitoring endpoint. This PR adds the template change necessary for it. See elastic/beats#7521 for more details.

Queue data is skipped for now as implementation is not finished yet.
ruflin added a commit to ruflin/elasticsearch that referenced this issue Jul 23, 2018
New data is reported from Beats to the monitoring endpoint. This PR adds the template change necessary for it. See elastic/beats#7521 for more details.

Queue data is skipped for now as implementation is not finished yet.
ruflin added a commit to elastic/elasticsearch that referenced this issue Jul 23, 2018
New data is reported from Beats to the monitoring endpoint. This PR adds the template change necessary for it. See elastic/beats#7521 for more details.

Queue data is skipped for now as implementation is not finished yet.
@hiiamok
Copy link

hiiamok commented Nov 29, 2018

Hi,

we are experiencing a problem since the implementation of the state reporting.
We are using "Filebeat" and "Metricbeat" inside the same application.
During the initialisation a panic is thrown, because the name "module" is used in both beats.
Error Message: "panic: name module already used"

Can you suggest a workaround or possible fix?
Would it be possible to change the name to something unique, or instead of throwing a panic just returning an error?

Best regards

@elasticmachine
Copy link
Collaborator

Pinging @elastic/stack-monitoring

@cachedout
Copy link
Contributor

@hiiamok IMHO, it might be better to file this as a brand-new issue along with steps to reproduce it so we can more easily troubleshoot what's going on here.

@botelastic
Copy link

botelastic bot commented Aug 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic botelastic bot added Stalled needs_team Indicates that the issue/PR needs a Team:* label labels Aug 2, 2020
@botelastic
Copy link

botelastic bot commented Aug 2, 2020

This issue doesn't have a Team:<team> label.

@botelastic botelastic bot closed this as completed Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Stack Monitoring meta monitoring needs_team Indicates that the issue/PR needs a Team:* label Stalled
Projects
None yet
Development

No branches or pull requests

5 participants