Skip to main content
added 8 characters in body
Source Link
Michael Mrozek
  • 95.7k
  • 40
  • 245
  • 236

I have an iptables firewall in Linux bridge (RHEL5). I want to extract information like IP address, port number, port type, datadate and time, etc. from log messagemessages using a Bash script, and then want to upload in mysqlit to a MySQL database to generate the reports.

How can I do this?? Is there any way to do?accomplish the same thing?

Kind Regards, Jack

I have iptables firewall in Linux bridge (RHEL5). I want to extract information like IP address, port number, port type, data and time etc from log message using Bash script and want to upload in mysql database to generate the reports.

How can I do this?? Is there any way to do??

Kind Regards, Jack

I have an iptables firewall in Linux bridge (RHEL5). I want to extract information like IP address, port number, port type, date and time, etc. from log messages using a Bash script, and then want to upload it to a MySQL database to generate the reports.

How can I do this? Is there any way to accomplish the same thing?

edited tags
Link
Gilles 'SO- stop being evil'
  • 865.3k
  • 205
  • 1.8k
  • 2.3k
Source Link
user2914
  • 2.9k
  • 5
  • 25
  • 15

Bash script and Database

I have iptables firewall in Linux bridge (RHEL5). I want to extract information like IP address, port number, port type, data and time etc from log message using Bash script and want to upload in mysql database to generate the reports.

How can I do this?? Is there any way to do??

Kind Regards, Jack