# How to create a capture (PCAP file) for a SIM?

1. First, make sure to activate the [Packet capture feature](/hub/captures.md).
2. Once logged in to the [Monogoto hub](https://hub.monogoto.io), go to the "Things" section in the sidebar menu and select a SIM which is active and utilizing data.

<figure><img src="/files/hw2zKTpyMGj8m1UaWNpA" alt=""><figcaption></figcaption></figure>

3. In the Thing details page, click on the “Capture” button. A dropdown menu will appear, allowing you to select the desired capture duration. Once you’ve chosen the time, click the "Capture" button located at the bottom of the dropdown to start the process.

<figure><img src="/files/qthgRYxLAAdPhjaw4Apt" alt=""><figcaption></figcaption></figure>

4. After the capture process has started, you will be redirected to the capture page, where the results will be displayed. If necessary, you can export the captured data to a file by using the export feature provided on the same page.

<figure><img src="/files/6xxcchpZH1ztyn1BhY7b" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
In case you do not see the **Download Capture File** button, please try to do a website refresh.
{% endhint %}

## Running SIM Capture from the Capture Page

To run a SIM capture directly from the capture page:

1. Access the Capture Page:\
   Navigate to the capture page within your Monogoto hub and click on the “Create New Capture” button.
2. Input the SIM’s IP Address:\
   Enter the IP address of the SIM card you want to capture data from in the provided field.
3. Select Capture Duration:\
   From the dropdown menu, select the duration for which you wish to run the capture.

<figure><img src="/files/8JwG35n1pVwJq784Z7lV" alt=""><figcaption></figcaption></figure>

### How to Obtain the SIM’s IP Address?

To retrieve the IP address of a specific SIM:

1. Go to the SIM's Detail Page\
   Navigate to the details page of the specific SIM from the "Things" section.
2. Copy the IP Address\
   On the SIM's detail page, locate the IP address and copy it. You will use this IP address when setting up the capture.

<figure><img src="/files/IunHVQ5iEO59qbIWPkAS" alt=""><figcaption></figcaption></figure>

<br>

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.monogoto.io/hub/faq/how-to-create-a-capture-pcap-file-for-a-sim.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
