Skip to content

Splunk threat intel feed

Index ThreatCluster indicators with a scripted input, or match your logs against a CSV lookup.

What you need

Key neededAny plan. A free key gets a 10-indicator sample per pull; the full feed is Starter and up.
CostEach pull costs 3 credits. Hourly polling is 72 credits a day, inside the free 100.
RoutesA scripted input that indexes JSON, or a CSV lookup
RestartEnabling a scripted input needs a Splunk restart

Prerequisites

Both routesAn API key from Settings → API, sent in an X-API-Key header to https://threatcluster.io/api/public/v1
Scripted inputFilesystem access to Splunk Enterprise or a deployable app. The script lives in $SPLUNK_HOME/etc/apps/<app>/bin/.
CSV lookupA role with the upload_lookup_files capability, if you upload through Splunk Web

Setup: scripted input

1Write the script

$SPLUNK_HOME/etc/apps/<app>/bin/threatcluster_feed.sh

#!/bin/sh
curl -s -H "X-API-Key: YOUR_KEY" \
  "https://threatcluster.io/api/public/v1/iocs/feed?format=json&hours=1"

Make it executable with chmod +x. hours=1 matches the hourly interval; hours=24 would index each indicator about 24 times.

2Add the input

$SPLUNK_HOME/etc/apps/<app>/local/inputs.conf (interval in seconds)

[script://$SPLUNK_HOME/etc/apps/<app>/bin/threatcluster_feed.sh]
disabled = false
interval = 3600
index = threat_intel
sourcetype = threatcluster:iocs

3Restart Splunk

Splunk Web can also manage scripted inputs, but the page differs by version. The config file route is stable.

4Search the events

Each event is one JSON response; spath pulls out the IOC array.

index=threat_intel sourcetype=threatcluster:iocs
| spath path=iocs{} output=ioc
| mvexpand ioc
| spath input=ioc

Setup: CSV lookup blocklist

1Pull the feed as CSV

curl -s -H "X-API-Key: YOUR_KEY" \
  "https://threatcluster.io/api/public/v1/iocs/feed?format=csv" \
  -o threatcluster_iocs.csv

The columns are type,value,confidence,reason.

2Load it into Splunk

Once: Settings > Lookups > Lookup table files > Add new, then create a lookup definition from it. To keep it fresh, run the curl from cron into your app's lookups directory.

3Match your logs

Proxy traffic to known bad domains

index=proxy
  [ | inputlookup threatcluster_iocs.csv
    | search type=domain
    | rename value AS dest_host
    | fields dest_host ]

Worked example

GET https://threatcluster.io/api/public/v1/iocs/feed?format=csv
X-API-Key: YOUR_KEY

type,value,confidence,reason
domain,acrobatreaderonline.com,high,Used as a malicious site impersonating Adobe Acrobat Reader.
domain,bookcheckarrival-gueststayhotel.com,high,Indicates attacker-controlled phishing domain targeting hotel reservations.
domain,browser-app.com,high,Domain used in a malicious browser extension campaign
domain,case-apple.com,high,Used in phishing scams impersonating Apple
domain,ccleanerwind.top,high,Identified as attacker-controlled domain for malware distribution

A real response from the CSV endpoint, trimmed.

Every feed parameter is on the formats page. format=txt gives a plain one-per-line blocklist.

Costs and limits

Each pull3 credits for /iocs/feed or /iocs/export. Empty pulls are refunded.
Hourly input24 pulls a day, 72 credits
Free key100 credits a day, 30 requests a minute, 7 days of lookback (hours above 168 is clamped)
Free feedThe 10 newest high-confidence indicators from the last 7 days per pull
Full feedStarter and up, see pricing

Endpoint reference: API reference and the OpenAPI document.

Vendor documentation

Where a menu name or version here differs from theirs, theirs is current.

FAQ

Scripted input or CSV lookup: which should I use?

Use the scripted input to keep a history of indicators as events. Use the CSV lookup when you only want the current list to match logs against with inputlookup.

Does a free key work with Splunk?

Yes, but each pull returns the 10 newest high-confidence indicators from the last 7 days. The full feed is Starter and up.

Why does nothing arrive after I add the input?

Scripted inputs need a Splunk restart, and the script must be executable and live in the app's bin directory.

What does hourly polling cost?

24 pulls at 3 credits, 72 credits a day. Pulls that return nothing are refunded.