firnsy / barnyard2

Barnyard2 is a dedicated spooler for Snort's unified2 binary output format.
GNU General Public License v2.0
343 stars 189 forks source link

barnyard2 don't add millisecond in timestamp on database #212

Open niubencoolboy opened 7 years ago

niubencoolboy commented 7 years ago

Hello, in the beginning, I think it's my mysql level is too low (5.5). I update to 5.7 ,changed the type of timestamp in the event table to datetime(6) ,but the result doesn't change. When I use snort in sniffer mode, the timestamp has the millisecond. So I think it's the barnyard2 don't support millisecond. How to solve the problem?