-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure client/server and process fields
Changed - client_ip - client.ip (changed to ip type) - client_port - client.port - client_server - client.domain - client_proc - client.process.name - client_cmdline - client.process.args (changed to an array) - direction - network.direction - ip - server.ip (changed to ip type) - port - server.port - server - server.domain - proc - server.process.name - cmdline - server.process.args (change to an array) Added - client.process.executable - client.process.working_directory - client.process.pid - client.process.ppid - client.process.start - server.process.executable - server.process.working_directory - server.process.pid - server.process.ppid - server.process.start The top-level `process` field is populated with the `server.process` or `client.process` (server takes priority). Likewise for flows `process` is populated with the `destination.process` or the `client.process` (destination takes priority).
- Loading branch information
1 parent
66a9525
commit 0081e9f
Showing
55 changed files
with
1,016 additions
and
791 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,64 @@ | ||
{ | ||
"@timestamp": "2016-08-24T16:21:07.817Z", | ||
"beat": { | ||
"hostname": "Medcl.local", | ||
"name": "Medcl.local" | ||
"@timestamp": "2016-06-28T09:16:17.891Z", | ||
"@metadata": { | ||
"beat": "packetbeat", | ||
"type": "doc", | ||
"version": "7.0.0" | ||
}, | ||
"bytes_in": 110, | ||
"server": { | ||
"domain": "host.example.com", | ||
"ip": "127.0.0.1", | ||
"port": 9042 | ||
}, | ||
"bytes_out": 871, | ||
"host": { | ||
"name": "host.example.com" | ||
}, | ||
"bytes_in": 88, | ||
"bytes_out": 215, | ||
"cassandra": { | ||
"request": { | ||
"query": "SELECT * FROM system_schema.tables WHERE keyspace_name = 'mykeyspace' AND table_name = 'users'", | ||
"headers": { | ||
"version": "4", | ||
"flags": "Default", | ||
"length": 79, | ||
"stream": 52, | ||
"op": "QUERY", | ||
"stream": 23, | ||
"version": "4" | ||
}, | ||
"query": "SELECT * FROM system_schema.keyspaces WHERE keyspace_name = 'mykeyspace'" | ||
"length": 101 | ||
} | ||
}, | ||
"response": { | ||
"headers": { | ||
"version": "4", | ||
"flags": "Default", | ||
"length": 206, | ||
"stream": 52, | ||
"op": "RESULT", | ||
"stream": 23, | ||
"version": "4" | ||
"length": 862 | ||
}, | ||
"result": { | ||
"result_type": "rows", | ||
"type": "rows", | ||
"rows": { | ||
"meta": { | ||
"col_count": 3, | ||
"flags": "GlobalTableSpec", | ||
"col_count": 19, | ||
"keyspace": "system_schema", | ||
"table": "keyspaces" | ||
"table": "tables", | ||
"flags": "GlobalTableSpec" | ||
}, | ||
"num_rows": 879461 | ||
} | ||
} | ||
} | ||
}, | ||
"client_ip": "127.0.0.1", | ||
"client_port": 52749, | ||
"client_proc": "", | ||
"client_server": "Medcl.local", | ||
"ip": "127.0.0.1", | ||
"port": 9042, | ||
"proc": "", | ||
"responsetime": 6, | ||
"server": "Medcl.local", | ||
"status": "OK", | ||
"responsetime": 5, | ||
"client": { | ||
"port": 52749, | ||
"domain": "host.example.com", | ||
"ip": "127.0.0.1" | ||
}, | ||
"agent": { | ||
"type": "packetbeat", | ||
"hostname": "host.example.com", | ||
"version": "7.0.0" | ||
}, | ||
"type": "cassandra" | ||
} |
Oops, something went wrong.