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

propapate pipeline.id to api resources #6598

Closed
wants to merge 1 commit into from

Conversation

jsvd
Copy link
Member

@jsvd jsvd commented Jan 27, 2017

currently if the pipeline.id changes, the api calls to /_node/pipeline, /_node/stats and /_node/stats/pipeline raise an exception on logstash and return a 503

This PR fixes that and also includes the pipeline id into the documents

for example:

% curl -s localhost:9600/_node/pipeline | jq
{
  "host": "Joaos-MacBook-Pro-5.local",
  "version": "6.0.0-alpha1",
  "http_address": "127.0.0.1:9600",
  "id": "64783f42-7541-4db8-b663-eb4ffb748075",
  "name": "Joaos-MacBook-Pro-5.local",
  "pipeline": {
    "workers": 4,
    "batch_size": 125,
    "batch_delay": 5,
    "config_reload_automatic": false,
    "config_reload_interval": 3,
    "id": "test"
  }
}

@jsvd
Copy link
Member Author

jsvd commented Jan 30, 2017

closing in favor of #6606

@jsvd jsvd closed this Jan 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant