Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 930 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 930 Bytes

Splunk_TA_Example

This is an example TA for Splunk that demonstrates how to use the modular input framework to collect data from an API and send it to Splunk.

Frameworks and tools used

API

The API is a simple Flask app that returns a list of events.

Build and package TA

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements-dev.txt
ucc-gen build
ucc-gen package --path output/Splunk_TA_Example

Build and run Splunk and server

./scripts/run_locally.sh

Notable PRs

  • Custom REST handlers - splunk#4
  • Add KVStore checkpoint for modular input - splunk#5
  • Delete KVStore checkpoint when input is deleted - splunk#6