in reply to Re^2: Help with Snort and File::Tail
in thread Help with Snort and File::Tail
You asked how to "read each alert". You haven't been clear as to what you consider an alert, but I presume what you posted is an example of one. If that's the case, then I gave code that does what you ask.
Even less clear is "I read @array = <SNORTFILE> so this would be in an array format.", which I took to mean you wanted the alert in an array, one element per line. It would just as easy to extract each alert as a (multiline) string, if that's what you prefer.
You also asked how to parse the alert, but you didn't specify what information you wanted to extract, so I didn't touch that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Help with Snort and File::Tail
by Anonymous Monk on Jun 23, 2011 at 18:57 UTC | |
by ikegami (Patriarch) on Jun 23, 2011 at 19:38 UTC |