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

Question About logstash #4

Open
alexforero opened this issue Jul 13, 2017 · 4 comments
Open

Question About logstash #4

alexforero opened this issue Jul 13, 2017 · 4 comments

Comments

@alexforero
Copy link

Hello,

I'm newbie on ELK but I dont have clear how I can transmit suricata logs to elasticsearch.

Do you use logstash? any other way?

Thank you

@pevma
Copy link
Member

pevma commented Jul 13, 2017

You can use logstash or filebeat.
There are plenty of how tos on the net if you search around.
https://www.elastic.co/products
https://www.elastic.co/webinars/introduction-elk-stack

@rcfontana
Copy link

Hi Alex,
I think the easiest way is to use logstash to parse your suricata logs. Logstash will create elasticsearch indexes that later on you can use to visualize things on Kibana.

Check the following logstash.conf as an example (you might need to fix some filters. Haven't tested that conf lately):
https://github.com/StamusNetworks/SELKS/blob/master/staging/etc/logstash/conf.d/logstash.conf

It reads suricata logs at the default folder:
path => ["/var/log/suricata/*.json"]
And creates logstash-* indexes:
index => "logstash-%{event_type}-%{+YYYY.MM.dd}"

@alexforero
Copy link
Author

Thank you rcfontana.

I was looking exactly for https://github.com/StamusNetworks/SELKS/blob/master/staging/etc/logstash/conf.d/logstash.conf

@pevma
Copy link
Member

pevma commented Jul 13, 2017

Thanks @rcfontana !
Sorry @alexforero - I missed that you are interest of how exactly SELKS does it not in general.

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