Project

General

Profile

Actions

Support #2660

closed
HH

structing fast.log and store to elasticsearch

Support #2660: structing fast.log and store to elasticsearch

Added by Hao Han almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Affected Versions:
Label:

Description

As we all know that eve.json can be outputed as json to redis. Then logstash can be used to pull the structured data from redis to elasticsearch.
And I still need to store the fast.log to elasticsearch. How can I structuring fast.log and output the structed data to elasticsearch?

VJ Updated by Victor Julien almost 8 years ago Actions #1

out of curiosity: why would you want this? The eve.alert records are trivial to pass to ES, with fast.log you will need to some kind of parsing before passing it to ES somehow

HH Updated by Hao Han almost 8 years ago Actions #2

Victor Julien wrote:

out of curiosity: why would you want this? The eve.alert records are trivial to pass to ES, with fast.log you will need to some kind of parsing before passing it to ES somehow

Thanks your replies. We want to visualize suricata's alerts with kibana.

VJ Updated by Victor Julien almost 8 years ago Actions #3

I not sure I understand why you wouldn't just use the EVE alert records for this.

BS Updated by Bryant Smith over 7 years ago Actions #4

If you are still looking for a solution here, splitting out the alert might be helpful. the eve.json will be much easier to implement in an ELK stack and this way you can send it only the alerts if that is what you are looking for.

https://suricata.readthedocs.io/en/suricata-4.1.2/output/eve/eve-json-output.html#multiple-logger-instances

outputs:
  - eve-log:
      enabled: yes
      type: file
      filename: eve-ips.json
      types:
        - alert
        - drop

VJ Updated by Victor Julien over 7 years ago Actions #5

  • Status changed from New to Closed
Actions

Also available in: PDF Atom