-
-
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
Read from custom ES index #159
Comments
The I'm not sure why EveBox would be creating the index, that should only be done when configuring EveBox to also ship logs to Elasticsearch which is not the default. |
I ran it with this command: I am checking it now and you are right, it did not create new index, it could be some older index which remained. Bud it still does not read the data from filebeat indices. The indices are named like this: |
Can you share your filebeat configuration? Is it using |
Yes it is using. Here is my
One more question, is the option database.elasticsearch.index in |
Yes, I'm curious, in your setup does Filebeat add events to an index that has the "-date" suffix on it? Or something just like "filebeat" with no suffix. The search pattern used is "-", so if your "current" index is simply "filebeat", maybe this won't work, but should pick up older events. Maybe I should just use "" which should then pickup "filebeat". What versions are you using? Elastic moves at a breaking change pace thats hard to keep up with. My last set of comprehensive testing was with 7.10, but I haven't tested 7.11.. I am using 7.11.2 in my own install, but I'm using the EveBox method of adding events to Elastic which is closer to the legacy way of Logstash than Filebeat. |
Filebeat creates index like that first in the screenshot above, so the format is |
Ok, found an issue. If using the default configuration file, and the input section exists, but is enabled, it still gets loaded so EveBox will create an index and start adding alerts. Quick fix would be to:
Then, while I don't think this is required, but still good to clean things up:
But I'll be fixing the code for this right away as well. |
The server was ignoring the "input.enabled" setting and setting up the input as specified in the configuration file. Issue: #159
Thank you. As I see it is fixed now, I will give it a try. Is the 0.13 the new stable version? |
Yeah, quite a few little fixes built up in there and thought that this was the tipping point for a release. |
Fixed in 0.13.0. |
Hello. I wanted to ask if it is any option to read from specified elasticsearch index? I ship suricata logs to elasticsearch using filebeat (not using the filebeat module, but setting it up in
filebeat.yml
). If I specify the option-i filebeat
then Evebox won't read from the indices created by filebeat (format isfilebeat-7.11.2-YY.mm.dd
), but it will create a new index in formatfilebeat-YY.mm.dd
. Is there any solution for this? I want to rotate my indices hourly using elastic index lifecycle management, which is applied on indices created by filebeat. Thank you.The text was updated successfully, but these errors were encountered: