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

New use case: DHCP #61

Open
willemdh opened this issue Jul 30, 2018 · 10 comments
Open

New use case: DHCP #61

willemdh opened this issue Jul 30, 2018 · 10 comments

Comments

@willemdh
Copy link
Contributor

Are there any plans yet for a DNS and DHCP object? I'm maintaining the Infoblox grok patterns here:

https://github.com/willemdh/logstash_filter_infoblox

These should also probabaly be migrated to ECS to some day.

@praseodym
Copy link
Contributor

#10 covers DNS query logging, the Infoblox logging contains a bit more through (updates etc.)

@willemdh
Copy link
Contributor Author

Ok, thanks. Renamed this issue a bit. I'll make sure to doublecheck #10 for any DNS related fields (once I get to it).

@willemdh willemdh changed the title DNS and DHCP fields New use case: Infoblox DDI (DNS / DHCP) Jul 31, 2018
@ruflin
Copy link
Contributor

ruflin commented Aug 2, 2018

@willemdh Would be great if you could share some example fields you are looking for. I know there is a template in the logstash filter you linked but having it all here should make things easier.

@andrewkroh
Copy link
Member

Here a sample of the DHCP field data we have in Packetbeat at the moment.

    "dhcpv4": {
      "option": {
        "utc_time_offset_sec": -18000,
        "subnet_mask": "255.255.255.128",
        "ntp_servers": [
          "10.0.0.1",
          "10.0.0.2"
        ],
        "domain_name": "local.domain.com",
        "dns_servers": [
          "10.0.0.1",
          "10.0.0.2"
        ],
        "rebinding_time_sec": 3150,
        "message_type": "ack",
        "server_identifier": "10.0.0.1",
        "ip_address_lease_time_sec": 3600,
        "router": "10.0.7.1",
        "renewal_time_sec": 1800
      },
      "hops": 0,
      "flags": "unicast",
      "client_mac": "30:ee:dd:cc:aa:dd",
      "transaction_id": "0x699926d4",
      "assigned_ip": "10.0.7.17",
      "op_code": "bootreply",
      "hardware_type": "Ethernet",
      "client_ip": "10.0.7.17",
      "seconds": 0
    }

@willemdh
Copy link
Contributor Author

willemdh commented Aug 3, 2018

Ok, I'll edit this issue a bit and let's keep this one for dhcp related fields. We can continue discussion of dns in #10. Dhcp is higher level discussion then Infoblox.

@willemdh willemdh changed the title New use case: Infoblox DDI (DNS / DHCP) New use case: DHCP Aug 3, 2018
@vbohata
Copy link

vbohata commented Aug 17, 2018

Currently I am in phase of naming fields for our DHCP logs. I've decided for following naming:

client.host.name
client.host.ip
client.host.mac
dhcp.client.uid
network.cidr
dhcp.operation.name
dhcp.operation.detail
dhcp.operation.result
dhcp.relay.interface
dhcp.relay.ip
dhcp.via.interface
dhcp.via.ip
dhcp.lease.duration_s
dhcp.lease.offered_duration_s
dhcp.lease.status
dhcp.transaction.id

I am not sure if operation should be prefixed with dhcp, but honestly I think it is highly DHCP related (contains something like ACK;RENEW;no free leases) and no one will need to compare it with another app's logs.

@jeffrysleddens
Copy link

Currently I am in phase of naming fields for our DHCP logs. I've decided for following naming:

client.host.name
client.host.ip
client.host.mac

These are not right according to the ECS 1.0.0 spec. client.host.ip should be client.ip and client.host.mac should be client.mac. There is no hostname field within the client field group, not sure where to place this as it is not a hostname but more a free field device name.

@Aqualie
Copy link

Aqualie commented Nov 25, 2019

Is there any timeline for introducing this featureset ?

@jamiehynds
Copy link
Contributor

@P1llus may be worth looking at some of the suggested DHCP fields here, as we work through the Microsoft DHCP mappings.

@jamiehynds
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants