# Capturing Logs from PBX using Wireshark

**Wireshark** is a program for capturing and analyzing network traffic. It provides a user-friendly graphical interface for viewing and closely inspecting packets, making it useful for diagnosing and resolving network issues.

1. Download *Wireshark* from [this link](https://www.wireshark.org/). Install it with the default settings.
2. Launch *Wireshark*. Select the network you will use to analyze traffic by left-clicking on it, then press the blue shark icon to start capturing traffic.

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FJU1rLLwK7Vfe5hDYdfUp%2FblueSharkIcon.png?alt=media&#x26;token=43d8681e-6dff-4ae8-bad0-f9e77f620456" alt=""><figcaption></figcaption></figure>

3. Reproduce the issue by making a test call.
4. To stop the capture, click on the red stop icon:

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2F3mBMfifEWfsslAiGn3lX%2FredIcon.png?alt=media&#x26;token=a8101876-f6ea-427d-9147-67d3fae9d1b3" alt=""><figcaption></figcaption></figure>
