Project

General

Profile

Actions

Support #1756

closed

how output custom log to mysql?

Added by Mike Zhong over 8 years ago. Updated over 7 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!

Actions #1

Updated by Victor Julien over 8 years ago

  • 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.

Actions #2

Updated by Mike Zhong over 8 years ago

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

Actions #3

Updated by Mike Zhong over 8 years ago

or Logs write to redis ?

Actions #4

Updated by Mike Zhong over 8 years ago

or wirte to Beanstalkd

Actions #5

Updated by Mike Zhong over 8 years ago

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

Actions #6

Updated by Andreas Herz about 8 years ago

  • Assignee set to Anonymous
  • Target version set to TBD

Did you try the suggestions from Victor?

Actions #7

Updated by Victor Julien over 7 years ago

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

Also available in: Atom PDF