# Is there a way to see what data has been sent to amqp in packetbeat?

**URL:** <https://discuss.elastic.co/t/is-there-a-way-to-see-what-data-has-been-sent-to-amqp-in-packetbeat/174104>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [March 27, 2019, 11:22am UTC](https://discuss.elastic.co/t/is-there-a-way-to-see-what-data-has-been-sent-to-amqp-in-packetbeat/174104 "2019-03-27T11:22:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajeshk150](https://avatars.discourse-cdn.com/v4/letter/r/7c8e57/32.png) [@rajeshk150](https://discuss.elastic.co/u/rajeshk150)\
**Post date:** [March 27, 2019, 11:22am UTC](https://discuss.elastic.co/t/is-there-a-way-to-see-what-data-has-been-sent-to-amqp-in-packetbeat/174104/1 "2019-03-27T11:22:58Z")

</div>

We are capturing the amqp traffic in packetbeat. Is there a way to fetch the data present in this packetbeat to verify that it is the amqp message itself.  
Below is the data getting captured.  
{  
"\_index": "packetbeat-6.6.2-2019.03.27",  
"\_type": "doc",  
"\_id": "3CLLvmkBdkK0WkcINOod",  
"\_version": 1,  
"\_score": null,  
"\_source": {  
"last\_time": "2019-03-27T10:55:39.762Z",  
"type": "flow",  
"transport": "tcp",  
"flow\_id": "EQQA////DP//////FP8BAAEQ8xGhXgCEqT4PgNwKdSlFCnX0aJAfmM0",  
"start\_time": "2019-03-27T10:55:09.521Z",  
"@version": "1",  
"@timestamp": "2019-03-27T10:56:20.726Z",  
"final": true,  
"dest": {  
"port": 8080,  
"stats": {  
"net\_bytes\_total": 8248,  
"net\_packets\_total": 21  
},  
"ip": "10.117.41.69",  
"mac": "10:f3:11:a1:5e:00"  
},  
"tags": [  
"beats\_input\_raw\_event"  
],  
"source": {  
"port": 52632,  
"stats": {  
"net\_bytes\_total": 6052,  
"net\_packets\_total": 13  
},  
"ip": "10.117.244.104",  
"mac": "84:a9:3e:0f:80:dc"  
},  
"host": {  
"name": "LP-5CD84712T7",  
"os": {  
"name": "Windows 10 Enterprise",  
"build": "17134.648",  
"version": "10.0",  
"family": "windows",  
"platform": "windows"  
},  
"architecture": "x86\_64",  
"id": "06ce0032-be2e-4181-a5f9-551e7e10cc3e"  
},  
"beat": {  
"name": "LP-5CD84712T7",  
"version": "6.6.2",  
"hostname": "LP-5CD84712T7"  
}  
},  
"fields": {  
"start\_time": [  
"2019-03-27T10:55:09.521Z"  
],  
"@timestamp": [  
"2019-03-27T10:56:20.726Z"  
],  
"last\_time": [  
"2019-03-27T10:55:39.762Z"  
]  
},  
"highlight": {  
"dest.port": [  
"@kibana-highlighted-field@8080@/kibana-highlighted-field@"  
],  
"source.ip": [  
"@kibana-highlighted-field@10.117.244.104@/kibana-highlighted-field@"  
],  
"transport": [  
"@kibana-highlighted-field@tcp@/kibana-highlighted-field@"  
],  
"type": [  
"@kibana-highlighted-field@flow@/kibana-highlighted-field@"  
]  
},  
"sort": [  
1553684180726  
]  
}

---

<div class="post-metadata">

**Author:** ![adrisr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adrisr/32/25423_2.png) [@adrisr](https://discuss.elastic.co/u/adrisr)\
**Post date:** [April 1, 2019, 7:51am UTC](https://discuss.elastic.co/t/is-there-a-way-to-see-what-data-has-been-sent-to-amqp-in-packetbeat/174104/2 "2019-04-01T07:51:28Z")

</div>

Hi,

What you are pasting is [a flow](https://www.elastic.co/guide/en/beats/packetbeat/current/configuration-flows.html) (see `packetbeat.flows` in `packetbeat.yml`).

For monitoring AMQP traffic you need to enable the [amqp transaction protocol](https://www.elastic.co/guide/en/beats/packetbeat/current/packetbeat-amqp-options.html) and configure it with the port that AMQP uses in your network.

---

<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:** [April 29, 2019, 7:51am UTC](https://discuss.elastic.co/t/is-there-a-way-to-see-what-data-has-been-sent-to-amqp-in-packetbeat/174104/3 "2019-04-29T07:51:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
