Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse dst, src and rename proto to protocol #355

Merged
merged 2 commits into from
Oct 5, 2021
Merged

Conversation

jsirianni
Copy link
Member

  • parse dst into ip, port, interface
  • parse src into ip, port, interface
  • rename proto to protocol
{
  "timestamp": "2021-09-13T18:16:13Z",
  "severity": 30,
  "severity_text": "134",
  "labels": {
    "log_type": "sonicwall",
    "net.host.ip": "::",
    "net.host.port": "5555",
    "net.peer.ip": "::1",
    "net.peer.port": "36748",
    "net.transport": "IP.UDP",
    "plugin_id": "sonicwall"
  },
  "record": {
    "c": "262144",
    "dst_interface": "X1",
    "dst_ip": "142.250.64.68",
    "dst_port": "443",
    "fw": "142.166.177.10",
    "gcat": "6",
    "id": "LVM_Sonicwall",
    "m": "98",
    "message": "Connection Opened",
    "n": "53798",
    "natDst": "142.250.64.68:443",
    "natSrc": "142.166.177.10:51879",
    "pri": "6",
    "priority": "134",
    "protocol": "tcp/https",
    "sent": "60",
    "sn": "18B1693B2C90",
    "src_interface": "X0",
    "src_ip": "192.168.11.53",
    "src_port": "36510"
  }
}

@jsirianni jsirianni requested a review from schmikei October 5, 2021 18:39
@jsirianni jsirianni merged commit 24a2ab6 into master Oct 5, 2021
@jsirianni jsirianni deleted the sonicwall-parsing branch October 5, 2021 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants