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

Add ephemeral_id to Logstash and Pipeline #7407

Closed
ph opened this issue Jun 9, 2017 · 3 comments
Closed

Add ephemeral_id to Logstash and Pipeline #7407

ph opened this issue Jun 9, 2017 · 3 comments
Assignees

Comments

@ph
Copy link
Contributor

ph commented Jun 9, 2017

To offer better metrics will need to better track the lifecycle of pipelines and Logstash instances when they are restarted or created. To do so we will add ephemeral_id at the Logstash level and at the Pipeline level and theses information will be available when we gather the metrics.

logstash.ephemeral_id
pipeline.ephemeral_id

We will need to make them available for x-pack and in the API.

@ph ph self-assigned this Jun 9, 2017
@ph
Copy link
Contributor Author

ph commented Jun 9, 2017

cc @andrewvc

@ph
Copy link
Contributor Author

ph commented Jun 9, 2017

Concerning the implementation do we want to use SecureRandom.uuid like we do with the persisted UUID or SecureRandom.urlsafe_base64?

https://ruby-doc.org/stdlib-1.9.2/libdoc/securerandom/rdoc/SecureRandom.html

@ph
Copy link
Contributor Author

ph commented Jun 9, 2017

For consistency, I will probably go with SecureRandom.uuid

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

No branches or pull requests

1 participant