Object Array display nmap open/closed ports


(Anish) #1

Using Kibana4, nmap plugin
I Have configured the nmap codec and plugin to view the open ports, unfortunately i'm not able plot the graph as because of object array is not supported, How to Workaround this

Here is the discovered data
{
"number": 25,
"reason": "reset",
"protocol": "tcp",
"service": {
"name": "smtp",
"ssl": false,
"protocol": null,
"product": null,
"hostname": null,
"device_type": null,
"fingerprint_method": "table",
"fingerprint": null,
"confidence": 3
},
"state": "closed"
},
{
"number": 80,
"reason": "syn-ack",
"protocol": "tcp",
"service": {
"name": "http",
"ssl": false,
"protocol": null,
"product": null,
"hostname": null,
"device_type": null,
"fingerprint_method": "table",
"fingerprint": null,
"confidence": 3
},
"state": "open"
},
{
"number": 113,
"reason": "reset",
"protocol": "tcp",
"service": {
"name": "auth",
"ssl": false,
"protocol": null,
"product": null,
"hostname": null,
"device_type": null,
"fingerprint_method": "table",
"fingerprint": null,
"confidence": 3
},
"state": "closed"
},
{
"number": 179,
"reason": "reset",
"protocol": "tcp",
"service": {
"name": "bgp",
"ssl": false,
"protocol": null,
"product": null,
"hostname": null,
"device_type": null,
"fingerprint_method": "table",
"fingerprint": null,
"confidence": 3
},
"state": "closed"
},
{
"number": 443,
"reason": "syn-ack",
"protocol": "tcp",
"service": {
"name": "http",
"ssl": true,
"protocol": null,
"product": "Apache httpd",
"hostname": null,
"device_type": null,
"fingerprint_method": "probed",
"fingerprint": null,
"confidence": 10
},
"state": "open"
},
{
"number": 1723,
"reason": "reset",
"protocol": "tcp",
"service": {
"name": "pptp",
"ssl": false,
"protocol": null,
"product": null,
"hostname": null,
"device_type": null,
"fingerprint_method": "table",
"fingerprint": null,
"confidence": 3
},
"state": "closed"
},
{
"number": 2000,
"reason": "reset",
"protocol": "tcp",
"service": {
"name": "cisco-sccp",
"ssl": false,
"protocol": null,
"product": null,
"hostname": null,
"device_type": null,
"fingerprint_method": "table",
"fingerprint": null,
"confidence": 3
},
"state": "closed"
},
{
"number": 6000,
"reason": "reset",
"protocol": "tcp",
"service": {
"name": "X11",
"ssl": false,
"protocol": null,
"product": null,
"hostname": null,
"device_type": null,
"fingerprint_method": "table",
"fingerprint": null,
"confidence": 3
},
"state": "closed"
},
{
"number": 6001,
"reason": "reset",
"protocol": "tcp",
"service": {
"name": "X11:1",
"ssl": false,
"protocol": null,
"product": null,
"hostname": null,
"device_type": null,
"fingerprint_method": "table",
"fingerprint": null,
"confidence": 3
},
"state": "closed"
},
{
"number": 6002,
"reason": "reset",
"protocol": "tcp",
"service": {
"name": "X11:2",
"ssl": false,
"protocol": null,
"product": null,
"hostname": null,
"device_type": null,
"fingerprint_method": "table",
"fingerprint": null,
"confidence": 3
},
"state": "closed"
},
{
"number": 6003,
"reason": "reset",
"protocol": "tcp",
"service": {
"name": "X11:3",
"ssl": false,
"protocol": null,
"product": null,
"hostname": null,
"device_type": null,
"fingerprint_method": "table",
"fingerprint": null,
"confidence": 3
},
"state": "closed"
},
{
"number": 6004,
"reason": "reset",
"protocol": "tcp",
"service": {
"name": "X11:4",
"ssl": false,
"protocol": null,
"product": null,
"hostname": null,
"device_type": null,
"fingerprint_method": "table",
"fingerprint": null,
"confidence": 3
},
"state": "closed"
},
{
"number": 6005,
"reason": "reset",
"protocol": "tcp",
"service": {
"name": "X11:5",
"ssl": false,
"protocol": null,
"product": null,
"hostname": null,
"device_type": null,
"fingerprint_method": "table",
"fingerprint": null,
"confidence": 3
},
"state": "closed"
},
{
"number": 6006,
"reason": "reset",
"protocol": "tcp",
"service": {
"name": "X11:6",
"ssl": false,
"protocol": null,
"product": null,
"hostname": null,
"device_type": null,
"fingerprint_method": "table",
"fingerprint": null,
"confidence": 3
},
"state": "closed"
}
}


(Court Ewing) #2

I'm not sure I understand the issue you're having. Are you getting an error in Kibana when you try to plot the data?


(Anish) #3

Not an Error While Plotting the Graphs on ports.number and ports.state it shows same results on closed and open ports for example , and not able to visualize what ports are open and what ports are closed


(system) #4