provides Fastly Pre-Built Commands and Reports for Splunk
- Adds the
fastlyacl
search command to Splunk. This adds ACLs to a Edge dictionary called [fastly_acl_block] to the selected service. To read more on Edge dictionary please visit https://docs.fastly.com/guides/edge-dictionaries/about-edge-dictionaries. Note that an ACL can only hold 1000 entries at a time keep in mind of this when using this command.
more to come
- Grab a Fastly API Key from your Fastly admin
- need to have
jq
install in the Splunk searcheadsetup.sh
will run from - assumes local python has
re
andjson
package available by the system
git clone https://github.com/d1vious/fastly_splunk.git $SPLUNK_HOME/etc/apps/fastly
cd $SPLUNK_HOME/etc/apps/fastly
and runsudo ./setup.sh <FastLY API Key> <service ID>
for each serviceID to prepare for accepting ACL- Configure Fastly Splunk App and Fastly API Key
- Start blocking