Splunk · Capability

Splunk Enterprise REST API — Data Inputs

Splunk Enterprise REST API — Data Inputs. 13 operations. Lead operation: Check Indexer Acknowledgment Status. Self-contained Naftiko capability covering one Splunk business surface.

Run with Naftiko SplunkData Inputs

What You Can Do

POST
Checkackstatus — Check Indexer Acknowledgment Status
/v1/services/collector/ack
POST
Sendevent — Send Events via Http Event Collector
/v1/services/collector/event
POST
Sendrawevent — Send Raw Data via Http Event Collector
/v1/services/collector/raw
GET
Listhttpinputtokens — List Http Event Collector Tokens
/v1/services/data/inputs/http
POST
Createhttpinputtoken — Create an Http Event Collector Token
/v1/services/data/inputs/http
GET
Listmonitorinputs — List File and Directory Monitor Inputs
/v1/services/data/inputs/monitor
POST
Createmonitorinput — Create a File or Directory Monitor Input
/v1/services/data/inputs/monitor
GET
Getmonitorinput — Get Monitor Input Details
/v1/services/data/inputs/monitor/{name}
POST
Updatemonitorinput — Update a Monitor Input
/v1/services/data/inputs/monitor/{name}
DELETE
Deletemonitorinput — Delete a Monitor Input
/v1/services/data/inputs/monitor/{name}
GET
Listtcpcookedinputs — List Cooked Tcp Inputs
/v1/services/data/inputs/tcp/cooked
GET
Listtcprawinputs — List Raw Tcp Inputs
/v1/services/data/inputs/tcp/raw
GET
Listudpinputs — List Udp Inputs
/v1/services/data/inputs/udp

MCP Tools

check-indexer-acknowledgment-status

Check Indexer Acknowledgment Status

read-only
send-events-http-event-collector

Send Events via Http Event Collector

send-raw-data-http-event

Send Raw Data via Http Event Collector

list-http-event-collector-tokens

List Http Event Collector Tokens

read-only idempotent
create-http-event-collector-token

Create an Http Event Collector Token

list-file-and-directory-monitor

List File and Directory Monitor Inputs

read-only idempotent
create-file-directory-monitor-input

Create a File or Directory Monitor Input

get-monitor-input-details

Get Monitor Input Details

read-only idempotent
update-monitor-input

Update a Monitor Input

delete-monitor-input

Delete a Monitor Input

idempotent
list-cooked-tcp-inputs

List Cooked Tcp Inputs

read-only idempotent
list-raw-tcp-inputs

List Raw Tcp Inputs

read-only idempotent
list-udp-inputs

List Udp Inputs

read-only idempotent

Capability Spec

enterprise-rest-data-inputs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Splunk Enterprise REST API — Data Inputs
  description: 'Splunk Enterprise REST API — Data Inputs. 13 operations. Lead operation: Check Indexer Acknowledgment Status.
    Self-contained Naftiko capability covering one Splunk business surface.'
  tags:
  - Splunk
  - Data Inputs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SPLUNK_API_KEY: SPLUNK_API_KEY
capability:
  consumes:
  - type: http
    namespace: enterprise-rest-data-inputs
    baseUri: https://{host}:{port}
    description: Splunk Enterprise REST API — Data Inputs business capability. Self-contained, no shared references.
    resources:
    - name: services-collector-ack
      path: /services/collector/ack
      operations:
      - name: checkackstatus
        method: POST
        description: Check Indexer Acknowledgment Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: services-collector-event
      path: /services/collector/event
      operations:
      - name: sendevent
        method: POST
        description: Send Events via Http Event Collector
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: services-collector-raw
      path: /services/collector/raw
      operations:
      - name: sendrawevent
        method: POST
        description: Send Raw Data via Http Event Collector
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: channel
          in: query
          type: string
          description: Channel identifier (GUID) for event ordering. Required if indexer acknowledgment is enabled.
        - name: sourcetype
          in: query
          type: string
          description: Override the sourcetype for the event data
        - name: source
          in: query
          type: string
          description: Override the source for the event data
        - name: host
          in: query
          type: string
          description: Override the host for the event data
        - name: index
          in: query
          type: string
          description: Override the destination index for the event data
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: services-data-inputs-http
      path: /services/data/inputs/http
      operations:
      - name: listhttpinputtokens
        method: GET
        description: List Http Event Collector Tokens
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createhttpinputtoken
        method: POST
        description: Create an Http Event Collector Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: services-data-inputs-monitor
      path: /services/data/inputs/monitor
      operations:
      - name: listmonitorinputs
        method: GET
        description: List File and Directory Monitor Inputs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: search
          in: query
          type: string
          description: Filter inputs by search string
      - name: createmonitorinput
        method: POST
        description: Create a File or Directory Monitor Input
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: services-data-inputs-monitor-name
      path: /services/data/inputs/monitor/{name}
      operations:
      - name: getmonitorinput
        method: GET
        description: Get Monitor Input Details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: The name (path) of the monitor input
          required: true
      - name: updatemonitorinput
        method: POST
        description: Update a Monitor Input
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: The name (path) of the monitor input
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletemonitorinput
        method: DELETE
        description: Delete a Monitor Input
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: The name (path) of the monitor input
          required: true
    - name: services-data-inputs-tcp-cooked
      path: /services/data/inputs/tcp/cooked
      operations:
      - name: listtcpcookedinputs
        method: GET
        description: List Cooked Tcp Inputs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: services-data-inputs-tcp-raw
      path: /services/data/inputs/tcp/raw
      operations:
      - name: listtcprawinputs
        method: GET
        description: List Raw Tcp Inputs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: services-data-inputs-udp
      path: /services/data/inputs/udp
      operations:
      - name: listudpinputs
        method: GET
        description: List Udp Inputs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.SPLUNK_API_KEY}}'
  exposes:
  - type: rest
    namespace: enterprise-rest-data-inputs-rest
    port: 8080
    description: REST adapter for Splunk Enterprise REST API — Data Inputs. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/services/collector/ack
      name: services-collector-ack
      description: REST surface for services-collector-ack.
      operations:
      - method: POST
        name: checkackstatus
        description: Check Indexer Acknowledgment Status
        call: enterprise-rest-data-inputs.checkackstatus
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/services/collector/event
      name: services-collector-event
      description: REST surface for services-collector-event.
      operations:
      - method: POST
        name: sendevent
        description: Send Events via Http Event Collector
        call: enterprise-rest-data-inputs.sendevent
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/services/collector/raw
      name: services-collector-raw
      description: REST surface for services-collector-raw.
      operations:
      - method: POST
        name: sendrawevent
        description: Send Raw Data via Http Event Collector
        call: enterprise-rest-data-inputs.sendrawevent
        with:
          channel: rest.channel
          sourcetype: rest.sourcetype
          source: rest.source
          host: rest.host
          index: rest.index
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/services/data/inputs/http
      name: services-data-inputs-http
      description: REST surface for services-data-inputs-http.
      operations:
      - method: GET
        name: listhttpinputtokens
        description: List Http Event Collector Tokens
        call: enterprise-rest-data-inputs.listhttpinputtokens
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createhttpinputtoken
        description: Create an Http Event Collector Token
        call: enterprise-rest-data-inputs.createhttpinputtoken
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/services/data/inputs/monitor
      name: services-data-inputs-monitor
      description: REST surface for services-data-inputs-monitor.
      operations:
      - method: GET
        name: listmonitorinputs
        description: List File and Directory Monitor Inputs
        call: enterprise-rest-data-inputs.listmonitorinputs
        with:
          search: rest.search
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createmonitorinput
        description: Create a File or Directory Monitor Input
        call: enterprise-rest-data-inputs.createmonitorinput
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/services/data/inputs/monitor/{name}
      name: services-data-inputs-monitor-name
      description: REST surface for services-data-inputs-monitor-name.
      operations:
      - method: GET
        name: getmonitorinput
        description: Get Monitor Input Details
        call: enterprise-rest-data-inputs.getmonitorinput
        with:
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: updatemonitorinput
        description: Update a Monitor Input
        call: enterprise-rest-data-inputs.updatemonitorinput
        with:
          name: rest.name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletemonitorinput
        description: Delete a Monitor Input
        call: enterprise-rest-data-inputs.deletemonitorinput
        with:
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/services/data/inputs/tcp/cooked
      name: services-data-inputs-tcp-cooked
      description: REST surface for services-data-inputs-tcp-cooked.
      operations:
      - method: GET
        name: listtcpcookedinputs
        description: List Cooked Tcp Inputs
        call: enterprise-rest-data-inputs.listtcpcookedinputs
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/services/data/inputs/tcp/raw
      name: services-data-inputs-tcp-raw
      description: REST surface for services-data-inputs-tcp-raw.
      operations:
      - method: GET
        name: listtcprawinputs
        description: List Raw Tcp Inputs
        call: enterprise-rest-data-inputs.listtcprawinputs
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/services/data/inputs/udp
      name: services-data-inputs-udp
      description: REST surface for services-data-inputs-udp.
      operations:
      - method: GET
        name: listudpinputs
        description: List Udp Inputs
        call: enterprise-rest-data-inputs.listudpinputs
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: enterprise-rest-data-inputs-mcp
    port: 9090
    transport: http
    description: MCP adapter for Splunk Enterprise REST API — Data Inputs. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: check-indexer-acknowledgment-status
      description: Check Indexer Acknowledgment Status
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: enterprise-rest-data-inputs.checkackstatus
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: send-events-http-event-collector
      description: Send Events via Http Event Collector
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: enterprise-rest-data-inputs.sendevent
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: send-raw-data-http-event
      description: Send Raw Data via Http Event Collector
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: enterprise-rest-data-inputs.sendrawevent
      with:
        channel: tools.channel
        sourcetype: tools.sourcetype
        source: tools.source
        host: tools.host
        index: tools.index
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-http-event-collector-tokens
      description: List Http Event Collector Tokens
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: enterprise-rest-data-inputs.listhttpinputtokens
      outputParameters:
      - type: object
        mapping: $.
    - name: create-http-event-collector-token
      description: Create an Http Event Collector Token
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: enterprise-rest-data-inputs.createhttpinputtoken
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-file-and-directory-monitor
      description: List File and Directory Monitor Inputs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: enterprise-rest-data-inputs.listmonitorinputs
      with:
        search: tools.search
      outputParameters:
      - type: object
        mapping: $.
    - name: create-file-directory-monitor-input
      description: Create a File or Directory Monitor Input
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: enterprise-rest-data-inputs.createmonitorinput
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-monitor-input-details
      description: Get Monitor Input Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: enterprise-rest-data-inputs.getmonitorinput
      with:
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.
    - name: update-monitor-input
      description: Update a Monitor Input
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: enterprise-rest-data-inputs.updatemonitorinput
      with:
        name: tools.name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-monitor-input
      description: Delete a Monitor Input
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: enterprise-rest-data-inputs.deletemonitorinput
      with:
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.
    - name: list-cooked-tcp-inputs
      description: List Cooked Tcp Inputs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: enterprise-rest-data-inputs.listtcpcookedinputs
      outputParameters:
      - type: object
        mapping: $.
    - name: list-raw-tcp-inputs
      description: List Raw Tcp Inputs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: enterprise-rest-data-inputs.listtcprawinputs
      outputParameters:
      - type: object
        mapping: $.
    - name: list-udp-inputs
      description: List Udp Inputs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: enterprise-rest-data-inputs.listudpinputs
      outputParameters:
      - type: object
        mapping: $.