Splunk
Connect Splunk to the Pagerly SRE Agent to query logs and metrics.
What the Agent Can Do
Run search queries using SPL (Search Processing Language)
Search logs by index, sourcetype, and time range
Get search results from completed jobs
Setup Instructions
Log into your Splunk instance
Go to Settings > Tokens (under Data Inputs)
Click New Token, give it a name (e.g.,
Pagerly)Set allowed indexes as needed
Copy the token and your Splunk URL
Required Credentials
Field
Description
Example
Splunk URL
Your Splunk REST API URL (usually port 8089)
https://mysplunk.example.com:8089
Auth Token
Splunk authentication token
your-splunk-token
Context Prompt Tips
"Our logs are in the main index. Use sourcetype=access_combined for web logs. Error events have level=ERROR."
Docs
Last updated