Skip to content

Update NFS protocol to use ECS fields#10153

Merged
andrewkroh merged 2 commits intoelastic:masterfrom
andrewkroh:feature/pb/nfs-ecs
Jan 18, 2019
Merged

Update NFS protocol to use ECS fields#10153
andrewkroh merged 2 commits intoelastic:masterfrom
andrewkroh:feature/pb/nfs-ecs

Conversation

@andrewkroh
Copy link
Copy Markdown
Member

That dashboard was updated too.

Here's a summary of what fields changed.

Part of #7968

Changed

  • rpc.call_size -> source.bytes
  • rpc.reply_size -> destination.bytes
  • rpc.time -> event.duration (unit are now nanoseconds)

Added

  • destination
  • event.dataset = nfs
  • event.end
  • event.start
  • network.bytes
  • network.community_id
  • network.protocol = nfsv4 or nfsv3
  • network.transport = tcp
  • network.type
  • source
  • source.domain - set to the caller's RPC machine name

Removed

  • rpc.time_str - Kibana should provide a human-readable form for event.duration rather than each event supplying a string.

Unchanged Packetbeat Fields

  • status
  • type = nfs (we might remove this since we have event.dataset)

That dashboard was updated too.

Here's a summary of what fields changed.

Part of elastic#7968

Changed

- rpc.call_size -> source.bytes
- rpc.reply_size -> destination.bytes
- rpc.time -> event.duration (unit are now nanoseconds)

Added

- destination
- event.dataset = nfs
- event.end
- event.start
- network.bytes
- network.community_id
- network.protocol = nfsv4 or nfsv3
- network.transport = tcp
- network.type
- source
- source.domain - set to the caller's RPC machine name

Removed

- rpc.time_str - Kibana should provide a human-readable form for event.duration rather than each event supplying a string.

Unchanged Packetbeat Fields

- status
- type = nfs (we might remove this since we have event.dataset)
Copy link
Copy Markdown
Contributor

@webmat webmat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit on why rpc.time isn't an alias. Since the scale is different, I argue it shouldn't become one later, even when all protocols are migrated.

Otherwise LGTM

alias: false
comment: >
Cannot add alias at this time because the field is used by MongoDB which
has not been updated yet.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also because the scale is different, right? Visually in Kibana it should be fine, but it may lead to surprises if people use this field otherwise, like for thresholds. E.g. rpc.time > 1000. After the move to nanoseconds, this would match pretty much everything ;-)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The two below I agree can be turned into actual aliases later, however.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. The same applies to responsetime and event.duration since they are different units.

@andrewkroh andrewkroh merged commit 74098c6 into elastic:master Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants