# Splunk

## Connection Requirements

{% stepper %}
{% step %}

### IP

IP address of the Splunk.
{% endstep %}

{% step %}

### Username

The user name for an account that has read access to the API.
{% endstep %}

{% step %}

### Password

The Password of the provided username.
{% endstep %}

{% step %}

### Index Name

Enter the index name.
{% endstep %}

{% step %}

### Hostname Field

Hostnames given in the index name field.
{% endstep %}

{% step %}

### Port

Port number (optional, default: 8089 ).
{% endstep %}

{% step %}

### Fetch Time

The time range you want to see before the current time (optional, Default=" 24h ").
{% endstep %}

{% step %}

### Extra Args

Add extra args to the standard query.
{% endstep %}

{% step %}

### Query

It is used to write a query other than the standard query.
{% endstep %}

{% step %}

### SSL

Use SSL for connection (optional, default: Encrypted ).
{% endstep %}
{% endstepper %}

{% hint style="info" %}
🔵 **| search**\
For the query to work, the search method must also be written at the beginning of the query. ex: query starts with:
{% endhint %}

{% hint style="info" %}
🔵 **1d**\
If you want to use "" as hours type, you should use " 24h ", If requested from 1 week ago, " 1w " should be written.
{% endhint %}

{% hint style="warning" %}
⚠️ **Attention**\
Please perform a **connection test** to ensure there is a valid connection to the host.\
When the discovery operation is finalized, you will be able to see the details on the **Assets** page.
{% 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/splunk.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.
