-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Beats instance page #113086
Beats instance page #113086
Conversation
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui) |
Looks like ES nodes also has broken setup mode behavior for react/master now, so could be we could merge with that not working correctly and fix next week. |
Looks like pagination doesn't work at all yet. So will have to figure out how to make that work. |
Just noting that to test this I ended up using this to generate a docker compose, metricbeat, and docker compose up snippet: // spit out 29 entries for docker-compose.yaml
for (let i = 2; i <= 30; i++) {
console.log(`
mb${i.toString().padStart(2, '0')}:
<<: *extrabeat
`);
}
// spit out 30 entries to add to metricbeat.yml
let list = [];
for (let i = 1; i <= 30; i++) {
list.push(`http://mb${i.toString().padStart(2, '0')}:5066`);
}
console.log(JSON.stringify(list));
// spit out a docker compose for all 30 metricbeats (can probably just use `docker compose up -d`)
let upCmd = 'docker compose up -d ';
for (let i = 1; i <= 30; i++) {
upCmd += `mb${i.toString().padStart(2, '0')} `;
}
console.log(upCmd); With this yaml definition in docker-compose.yml mb01: &extrabeat
image: docker.elastic.co/beats/metricbeat:${ELASTIC_VERSION}
user: root
environment:
ELASTICSEARCH_HOSTS: https://node01:9200
ELASTICSEARCH_USERNAME: elastic
ELASTICSEARCH_PASSWORD: $ELASTIC_PASSWORD
volumes:
- ./metricbeat-extra.yml:/usr/share/metricbeat/metricbeat.yml
networks:
- es-network And this metricbeat-extra.yml metricbeat.config.modules:
path: ${path.config}/modules.d/*.yml
reload.enabled: false
output.elasticsearch:
hosts: '${ELASTICSEARCH_HOSTS:elasticsearch:9200}'
username: '${ELASTICSEARCH_USERNAME:}'
password: '${ELASTICSEARCH_PASSWORD:}'
protocol: 'https'
ssl.verification_mode: 'none'
http.enabled: true
metricbeat.modules:
- module: system
period: 10s
enabled: true and add those to the main metricbeat.yml
This way I could get 30 "extra" metricbeat instances that do almost nothing, but show up in the monitoring UI. |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: cc @matschaffer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Will handle pagination & setup mode in follow up PRs. |
* Beats instance page * Remove unused getPaginationRouteOptions
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
* Beats instance page * Remove unused getPaginationRouteOptions Co-authored-by: Mat Schaffer <[email protected]>
Summary
Got the basics going so far
Part of #111757
Still need to work out:
Checklist
Delete any items that are not applicable to this PR.
Risk Matrix
Delete this section if it is not applicable to this PR.
Before closing this PR, invite QA, stakeholders, and other developers to identify risks that should be tested prior to the change/feature release.
When forming the risk matrix, consider some of the following examples and how they may potentially impact the change:
For maintainers