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

Elasticsearch plugin issue, missing json file #13

Closed
sahilravinder opened this issue Dec 5, 2016 · 6 comments
Closed

Elasticsearch plugin issue, missing json file #13

sahilravinder opened this issue Dec 5, 2016 · 6 comments

Comments

@sahilravinder
Copy link

Trying to launch httpbeat with elasticsearch plugin as the output, facing an issue -

  • Ran the XPUT template command first to create index in elasticsearch - success
  • Modified Httpbeat.yml file to send output to elasticsearch
  • Start Httpbeat with the command below
    ./httpbeat -c httpbeat.yml -e -d "*"
    Error msg -
    ERR failed to initialize elasticsearch plugin as output: Error loading template /usr/local/go/src/github.com/christiangalsterer/httpbeat/httpbeat.template-es2x.json: open /usr/local/go/src/github.com/christiangalsterer/httpbeat/httpbeat.template-es2x.json: no such file or directory
@christiangalsterer
Copy link
Owner

Is the file available at the specified location?

@sahilravinder
Copy link
Author

No, the file isn't available in this repository. Is there a mock template i can use to create this file ?

@rompic
Copy link
Contributor

rompic commented Dec 10, 2016

ah sorry I misunderstood your request. you were looking for a template for httpbeat.template-es2x.json :|

@christiangalsterer
Copy link
Owner

Hi,
just pushed a change to master adding the missing file and also some cleanup in the existing httpbeat-template.json file.
I didn't had a change to test it, but would be great if you can give it a try.

christiangalsterer added a commit that referenced this issue Dec 18, 2016
* [Output format of response body is now defined via output_format parameter](#8). Default is 'string'

Bugfixes
* [Missing es2x template](#13)
* [Correct parsing of large numbers in JSON output](#12)
@christiangalsterer
Copy link
Owner

Released with version 3.0.0

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

No branches or pull requests

3 participants