youtubebeat/vendor/github.com/elastic/beats/packetbeat/protos/nfs
2018-11-18 11:08:38 +01:00
..
_meta Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
config.go Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
nfs.go Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
nfs3.go Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
nfs4.go Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
nfs_status.go Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
README.md Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
request_handler.go Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
rpc.go Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
xdr.go Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
xdr_test.go Add generated youtubebeat files 2018-11-18 11:08:38 +01:00

NFS packetbeat

NFS v3 and v4 protocols parsing for packetbeat.

Can be extended to handle other SunRPC based protocols as well.

Sample output:

{
  "@timestamp": "2016-03-28T06:18:18.431Z",
  "beat": {
    "hostname": "localhost",
    "name": "localhost"
  },
  "count": 1,
  "dst": "127.0.0.1",
  "dst_port": 2049,
  "nfs": {
    "minor_version": 1,
    "opcode": "GETATTR",
    "status": "NFSERR_NOENT",
    "tag": "",
    "version": 4
  },
  "rpc": {
    "auth_flavor": "unix",
    "call_size": 200,
    "cred": {
      "gid": 500,
      "gids": [
        491,
        499,
        500
      ],
      "machinename": "localhost",
      "stamp": 4597002,
      "uid": 500
    },
    "reply_size": 96, 
    "status": "success",
    "time": 25631000,
    "time_str": "25.631ms",
    "xid": "2cf0c876"
  },
  "src": "127.0.0.1",
  "src_port": 975,
  "type": "nfs"
}