Project

General

Profile

Actions

Support #1756

closed
MZ

how output custom log to mysql?

Support #1756: how output custom log to mysql?

Added by Mike Zhong over 10 years ago. Updated over 9 years ago.

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

Description

I need check network data,and output custom log to mysql/Mariadb.

Lua is worked,but performance is slowly.Lua haven't connect pool.

have a better idea? thanks!

VJ Updated by Victor Julien over 10 years ago Actions #1

  • Tracker changed from Feature to Support

The most common way would be to use unified2 and barnyard2. That is for alerts only.

If you want all logs, I think the best way would be to take the EVE log (json) and write a script in something like python to feed the records to the db.

MZ Updated by Mike Zhong over 10 years ago Actions #2

or how call hiredis in lua?
I want to do more things in Lua.

MZ Updated by Mike Zhong over 10 years ago Actions #3

or Logs write to redis ?

MZ Updated by Mike Zhong over 10 years ago Actions #4

or wirte to Beanstalkd

MZ Updated by Mike Zhong over 10 years ago Actions #5

Eve JSON Format
Event type: HTTP
Fields haven't Post string?

AH Updated by Andreas Herz about 10 years ago Actions #6

  • Assignee set to Anonymous
  • Target version set to TBD

Did you try the suggestions from Victor?

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

  • Status changed from New to Closed
  • Assignee deleted (Anonymous)
  • Target version deleted (TBD)
Actions

Also available in: PDF Atom