All,
I'm a newbie to Splunk and Regular Expressions. I could really use some help creating some Splunk friendly regular expressions that I can use as fields. Here is a sample syslog entry:
Apr 3 15:04:55 adsl-068-153-219-120.sip.bct.bellsouth.net 6807:
Router-1969: 006804: Apr 3 15:04:54: %SEC-6-IPACCESSLOGP: list
FromInternet permitted udp 69.173.64.15(15) -> 68.153.219.120(123), 1
packet
Here are the Regular Expressions I'd like to create as Fields to use in all Splunk Apps.
1.) Source IP Address - Matching value above is "69.173.64.15"
2.) Source Port - Matching value above is "15". I'd like to exclude the parenthesis in the match.
3.) Destination IP Address - Matching value above is "68.153.219.120"
4.) Destination Port - Matching value above is "123". I'd like to exclude the parenthesis in the match.
5.) Access List - Matching value above is"FromInternet" which always follows the word "list" and can be a variable amount of letters/numbers.
Most important is that I want each of these to be Fields that I can leverage in all Splunk apps.
I really appreciate the help that the Splunk Ninja crew will provide to me. So thank you very much in advance!
James E