# Object Array display nmap open/closed ports

**URL:** <https://discuss.elastic.co/t/object-array-display-nmap-open-closed-ports/44681>\
**Category:** Kibana\
**Created:** [March 17, 2016, 9:13am UTC](https://discuss.elastic.co/t/object-array-display-nmap-open-closed-ports/44681 "2016-03-17T09:13:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anish2good](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@anish2good](https://discuss.elastic.co/u/anish2good)\
**Post date:** [March 17, 2016, 9:13am UTC](https://discuss.elastic.co/t/object-array-display-nmap-open-closed-ports/44681/1 "2016-03-17T09:13:04Z")

</div>

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

 ![](https://us1.discourse-cdn.com/elastic/original/2X/a/a9162df65982372fd33d8445c9e47edf4f47378b.png)

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"  
}  
}

---

<div class="post-metadata">

**Author:** ![Court](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/court/32/6640_2.png) [@Court](https://discuss.elastic.co/u/Court)\
**Post date:** [March 17, 2016, 3:16pm UTC](https://discuss.elastic.co/t/object-array-display-nmap-open-closed-ports/44681/2 "2016-03-17T15:16:07Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![anish2good](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@anish2good](https://discuss.elastic.co/u/anish2good)\
**Post date:** [March 17, 2016, 4:36pm UTC](https://discuss.elastic.co/t/object-array-display-nmap-open-closed-ports/44681/3 "2016-03-17T16:36:37Z")

</div>

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

 ![](https://us1.discourse-cdn.com/elastic/original/2X/f/f5de20a1e0826ef6213958f81d9c122f1622f4ae.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:58pm UTC](https://discuss.elastic.co/t/object-array-display-nmap-open-closed-ports/44681/4 "2017-07-06T13:58:48Z")

</div>

Closed on July 6, 2017, 1:58pm UTC


