Splunk Enterprise Integration Setup
This guide walks you through integrating Splunk Enterprise with RAD Security to enable querying security data from Splunk for enrichment and correlation within RAD Security. Splunk Enterprise provides powerful search and analysis capabilities for security data. RAD Security integrates with Splunk to pull relevant security events and logs for correlation with runtime security detections.Prerequisites
Before you begin, ensure you have:- Admin access to Splunk Enterprise
- Splunk Enterprise instance (version 8.0 or later recommended)
- Ability to create authentication tokens in Splunk
- Access to RAD Security workspace with integration permissions
Step 1: Enable Token Authentication
Configure authentication tokens to allow RAD Security to query data from Splunk.Log in to Splunk Enterprise
Enable Token Authentication
- Navigate to Settings > Authentication methods
- Enable Token authentication
- Click Save
Step 2: Create Service User (Recommended)
Create a dedicated service user for the RAD Security integration to ensure continuity and proper access control.Navigate to User Management
Create New User
- Click New User
- Enter user details:
- Username (e.g., “rad-security-service”)
- Full name (e.g., “RAD Security Integration”)
- Email address - Use a service email (e.g.,
rad-security@company.com) - Password - Create a secure password
Assign Roles
- user role - Basic search capabilities
- Custom role with read access to relevant indexes (optional, for more granular control)
Save User
Step 3: Create Authentication Token
Navigate to Token Management
Create New Token
- Click New Token
- Enter a Token name (e.g., “RAD Security Query Token”)
- Select the User - Choose the service user created in Step 2
- Set Audience - Leave as default (system) or set to specific audience if required
- Set Expiration time:
- Recommended: 90 days or less for security best practices
- Or set to match your organization’s token rotation policy
Generate Token
- Click Create
- Immediately copy the authentication token that appears
Note API Endpoint URL
https://<splunk-host>:8089Replace <splunk-host> with your Splunk server hostname or IP address.Step 4: Configure in RAD Security
Navigate to your RAD Security workspace and configure the Splunk Enterprise integration with the following parameters:Required Parameters
Verify Integration
After completing the setup, verify your integration is working:Check Connection Status
- Navigate to Data Sources > Integrations > SIEM in RAD Security
- Locate your Splunk Enterprise integration
- Verify the connection status shows as Connected
What Data Can Be Queried
RAD Security can query the following data types from Splunk:Security Events
Security Events
- Firewall logs
- IDS/IPS alerts
- Web application firewall (WAF) events
- Network traffic logs
- VPN connection logs
Authentication & Access
Authentication & Access
- Login attempts (successful and failed)
- Authentication events from Active Directory, LDAP, etc.
- Privilege escalation events
- Account creation/modification/deletion
- Session management events
Endpoint Data
Endpoint Data
- EDR/antivirus alerts
- Process execution logs
- File system changes
- Registry modifications (Windows)
- System performance metrics
Cloud & Infrastructure
Cloud & Infrastructure
- Cloud service logs (AWS CloudTrail, Azure Activity, GCP Audit)
- Container runtime events
- Kubernetes audit logs
- Infrastructure changes
- API access logs
Application Logs
Application Logs
- Application errors and exceptions
- API request/response logs
- Database query logs
- Custom application events
- Performance metrics
Threat Intelligence
Threat Intelligence
- Indicator of Compromise (IoC) matches
- Threat feeds integrated in Splunk
- Malware detections
- Command and control (C2) communications
- Suspicious domain lookups
Use Cases
Security Event Enrichment
Cross-Platform Correlation
Threat Investigation
Historical Analysis
IoC Validation
Compliance Evidence
Troubleshooting
Authentication Failed
Authentication Failed
- Token authentication not enabled in Splunk
- Authentication token is incorrect or expired
- Token was revoked
- Service user account was disabled
- Verify token authentication is enabled: Settings > Authentication methods
- Check token expiration date in Settings > Tokens
- Ensure token is copied correctly (no extra spaces)
- Verify the service user account is still active
- Generate a new token if the old one was revoked or expired
- Test authentication with curl:
Connection Failed
Connection Failed
- Incorrect API endpoint URL or port
- Firewall blocking port 8089
- Splunk management port not accessible
- SSL certificate issues
- Verify API URL format:
https://<host>:8089 - Ensure firewall rules allow port 8089 from RAD Security
- Check Splunk is listening on port 8089:
netstat -an | grep 8089 - Test connectivity:
telnet <host> 8089 - Verify SSL certificate is valid
- Whitelist RAD Security IP addresses if needed
Insufficient Permissions
Insufficient Permissions
- Service user lacks search role
- No read access to required indexes
- Custom role missing necessary capabilities
- Index-level permissions not configured
- Verify service user has at minimum the user role
- Check index permissions: Settings > Access controls > Roles
- Ensure user can search the indexes you need:
| eventcount summarize=false index=* - Test search directly in Splunk UI as the service user
- Grant additional capabilities if needed (list_inputs, search, etc.)
Query Errors
Query Errors
- Using Splunk Cloud free trial (query API not available)
- Invalid SPL (Search Processing Language) query
- Query timeout
- Search quota exceeded
- Verify you’re using Splunk Enterprise (query API not available in Cloud free trials)
- Test queries directly in Splunk UI before using in RAD Security
- Simplify complex queries or add time range restrictions
- Check search job limits: Settings > Server settings > Search
- Review Splunk search logs:
index=_internal source=*splunkd.log* search
No Results Returned
No Results Returned
- User doesn’t have access to the queried indexes
- Time range doesn’t include relevant data
- Query syntax is incorrect
- Index doesn’t exist or is empty
- Verify the service user can access the target indexes
- Check if data exists in the time range: Use Splunk UI to verify
- Test with a simple query:
index=_internal | head 10 - Ensure the index name is spelled correctly
- Check for typos in field names or values
Token Expired
Token Expired
- Token reached configured expiration time
- Token was manually revoked
- Service user password changed (doesn’t affect tokens but might be related)
- Check token status in Settings > Tokens
- Create a new token following Step 3
- Update the token in RAD Security integration settings
- Consider setting longer expiration or implementing token rotation workflow
- Document token expiration dates for proactive rotation
SSL/TLS Certificate Errors
SSL/TLS Certificate Errors
- Self-signed certificate not trusted
- Certificate validation failed
- Certificate expired or hostname mismatch
- For testing: You may need to configure RAD Security to accept self-signed certificates
- For production: Use valid SSL certificates from a trusted CA
- Verify certificate expiration:
openssl s_client -connect <host>:8089 - Check hostname matches certificate CN or SAN
- Import self-signed certificate to trusted store if needed
Rate Limiting or Quota Exceeded
Rate Limiting or Quota Exceeded
- Too many concurrent searches
- Search quota limits reached
- API rate limiting enabled
- Check search concurrency limits: Settings > Server settings > Search
- Review search quota usage for the service user
- Reduce query frequency in RAD Security if possible
- Increase search quotas for the service user if necessary
- Schedule heavy queries during off-peak hours
Security Best Practices
Use Service Accounts
Rotate Tokens Regularly
Least Privilege Access
Enable SSL/TLS
Monitor Token Usage
Restrict Network Access
Secure Token Storage
Audit Search Activity
Index-Level Permissions
Document Token Expiration
Token Rotation
To rotate your Splunk authentication token:Create New Token
- Log in to Splunk Enterprise as admin
- Navigate to Settings > Tokens
- Create a new authentication token for the same service user
- Use a different label to distinguish it from the old token
Update RAD Security Integration
Verify Connectivity
Revoke Old Token