Hunk®(Legacy)

Hunk User Manual

Download manual as PDF

Download topic as PDF

Indexes

Create and manage data indexes.


data/vix-indexes

Provides services to create and manage data indexes.

GET data/vix-indexes

Lists the recognized indexes on the server.

Request

See Common GET request parameters.

Response

HTTP status codes

See HTTP status code table.

Example

Lists the virtual indexes on this Hunk instance.


curl -k -u admin:pass https://localhost:8089/services/data/vix-indexes


POST data/vix-indexes

Creates a new index with the given name.

Request

See Common GET request parameters.

Response

HTTP status codes

See HTTP status code table.

Example

The following example creates an index named Shadow.


curl -k -u admin:pass https://localhost:8089/services/data/vix-indexes -d name=Shadow -d vix.provider=Shadow


data/vix-indexes/{name}

DELETE data/vix-indexes/{name}

Removes the index specified by {name} (not just the data contained in it).

Request

See Common GET request parameters.

Response

None

HTTP status codes

See HTTP status code table.

Example

Deletes the index named shadow.

curl -k -u admin:pass --request DELETE https://localhost:8089/services/data/vix-indexes/Shadow

GET data/indexes/{name}

Retrieves information about the named index.

Request

See Common GET request parameters.


Response

None

HTTP status codes

See HTTP status code table.

Example

Lists information about the Shadow index.


curl -k -u admin:pass https://localhost:8089/services/data/vix-indexes/Shadow


POST data/vix-indexes/{name}

Updates the data index specified by {name} with information specified with index attributes.

Request

See Common GET request parameters.

Response

None

HTTP status codes

See HTTP status code table.

Example

The following example updates the maximum size of the index named "Shadow", setting the size at 400000 MB.

This index was created in the example for the POST operation for this endpoint.


curl -k -u admin:pass https://localhost:8089/services/data/vix-indexes/Shadow -d vix.*=Shadow
/data/indexes/shadow
PREVIOUS
Providers
 

This documentation applies to the following versions of Hunk®(Legacy): 6.1, 6.1.1, 6.1.2, 6.1.3, 6.2, 6.2.1, 6.2.2, 6.2.3, 6.2.4, 6.2.5, 6.2.6, 6.2.7, 6.2.8, 6.2.9, 6.2.10, 6.2.11, 6.2.12, 6.2.13, 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.3.4, 6.3.5, 6.3.6, 6.3.7, 6.3.8, 6.3.9, 6.3.10, 6.3.11, 6.3.12, 6.3.13, 6.4.0, 6.4.1, 6.4.2, 6.4.3, 6.4.4, 6.4.5, 6.4.6, 6.4.7, 6.4.8, 6.4.9, 6.4.10, 6.4.11


Was this documentation topic helpful?

Enter your email address, and someone from the documentation team will respond to you:

Please provide your comments here. Ask a question or make a suggestion.

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters