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

Failed to handle over 2000 lines log file. #9

Closed
hirakiuc opened this issue Apr 30, 2015 · 3 comments
Closed

Failed to handle over 2000 lines log file. #9

hirakiuc opened this issue Apr 30, 2015 · 3 comments

Comments

@hirakiuc
Copy link
Contributor

Thanks, great plugin !

But I have a problem to load my log data to elasticsearch with this plugin.

When I use this output plugin with my log file which has about 190,000 lines, embulk always fail with java.lang.ArrayIndexOutOfBoundsException.

On the other hand, when I use embulk-output-redshift plugin with same log file, I can load to Redshift successfully.

How to fix my problem ?

@hirakiuc
Copy link
Contributor Author

$ embulk --version
embulk 0.6.5

Stacktrace: https://gist.github.com/hirakiuc/efefcb523ee8ff39a4a1.

out config on config.yml

out:
  type: elasticsearch
  nodes:
    - { host: xx.xx.xx.xx, port: xxxx }
  cluster_name: elasticsearch
  index: my_logs
  index_type: logs

@muga
Copy link
Contributor

muga commented Apr 30, 2015

@hirakiuc sounds like a bug.. I will take a look later:-)

@hirakiuc
Copy link
Contributor Author

hirakiuc commented May 9, 2015

This issue is resolved by pull request #10 .

@hirakiuc hirakiuc closed this as completed May 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants