# JSON File

## Connection Requirements

{% stepper %}
{% step %}

### Filename

Filename of JSON File (required).
{% endstep %}

{% step %}

### Hostname Field

Your custom hostname header (required, default: Hostname).

{% hint style="info" %}
🔵 **info.hostname**\
If your hostname field is in the dictionary please specify its location. Example:
{% endhint %}
{% endstep %}

{% step %}

### Last Seen Field

Your custom last seen header.
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
⚠️ **Attention**\
Copy your file to "/opt/octoxlabs/connector/media/json". Be sure the connection is successful and check your file permissions.
{% endhint %}


---

# 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.octoxlabs.com/adapters/adapters/json-file.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.
