-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
Multiple inputs to esimport #98
Comments
Hi Nidhi, Right now the only way would be to run multiple esimport processes. I will unlikely add support to esimport to follow multiple files, I think that would be better done in the evebox agent which isn't that much different than esimport, but is more my idea of a long running process that could management multiple import files. Would that work for you if I were to add support for it to the agent? |
Hello Jason
We have not investigated evebox agent since we wanted to send our data to
elasticsearch and esimport handled it perfectly. I'll try with multiple
esimport processes though and see if we can achieve this.
Many thanks
Nidhi.
…On Tue, Jan 22, 2019 at 4:44 PM Jason Ish ***@***.***> wrote:
Hi Nidhi,
Right now the only way would be to run multiple esimport processes. I will
unlikely add support to esimport to follow multiple files, I think that
would be better done in the *evebox agent* which isn't that much
different than esimport, but is more my idea of a long running process that
could management multiple import files. Would that work for you if I were
to add support for it to the agent?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#98 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AKUohRr-xkDyDLd7Se1X-QAScU5eNvmQks5vFz_SgaJpZM4aMd6p>
.
|
Makes sense since esimport goes directly to Elastic Search and the agent doesn't. I may took at look at adding this soon. |
Thanks, that would be helpful.
…-Nidhi
On Wed, Jan 23, 2019 at 11:08 PM Jason Ish ***@***.***> wrote:
Makes sense since esimport goes directly to Elastic Search and the agent
doesn't. I may took at look at adding this soon.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#98 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AKUohY9qRSj3W5bKSclfILF47TgkCM45ks5vGOt2gaJpZM4aMd6p>
.
|
I took a look at this, and I think it makes sense to add this functionality. There would be a breaking change though. Right now I have --bookmark and --bookmark-filename, where --bookmark-filename is required if --bookmark is in use. That doesn't apply to well if multiple inputs are using. So I'd probably remove those options and simply have --bookmark-directory. This directory would contain the bookmarks, where each bookmark file is a hash of the path being used. |
Adds a --bookmark-dir option which is required if bookmarking multiple input files. Github issue: #98
I've added support for multiple files to You can either specify multiple eve files on the command line or convert the See: https://github.com/jasonish/evebox/blob/esimport/multiple-files/doc/esimport.yaml#L1 This branch also changes the default index from Builds from this branch can be downloaded here: I'll be testing this myself over the next few days before merging back to |
Hello Jason
Thank you so much for implementing this.
Regards
Nidhi.
…On Tue, 12 Feb 2019 at 19:41, Jason Ish ***@***.***> wrote:
I've added support for multiple files to esimport.
You can either specify multiple eve files on the command line or convert
the input parameter in the config file to a list.
See:
https://github.com/jasonish/evebox/blob/esimport/multiple-files/doc/esimport.yaml#L1
This branch also changes the default index from evebox to logstash. So if
you aren't explicitly setting it, you might want to.
Builds from this branch can be downloaded here:
https://gitlab.com/jasonish/evebox/-/jobs/160376788/artifacts/browse
I'll be testing this myself over the next few days before merging back to
master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#98 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AKUohbfoTBD1Wa5p6S0zjF2aG2OX3sMuks5vMxj7gaJpZM4aMd6p>
.
|
Adds a --bookmark-dir option which is required if bookmarking multiple input files. Github issue: #98
Feature merged into master. |
Hello
We are planning to run multiple eve instances in our setup. In addition we would like to send some evefiles to elasticsearch using esimport. Currently, the code supports only single input file. Are there plans to add multiple inputs to esimport? Or any suggestions how we can achieve this with the current version?
Thanks in advance
Nidhi.
The text was updated successfully, but these errors were encountered: