Troubleshoot the Splunk Integration
No Data in the ms_teams Index
Section titled “No Data in the ms_teams Index”Symptom: No events appear in index=ms_teams.
Checks:
- Run
./ms-teams-agent.bin --config ./conf/config.yaml --ignore_stateand confirm export succeeds. - Verify the HEC token is valid and enabled in Splunk (Settings → Data Inputs → HTTP Event Collector).
- Confirm the HEC URL is correct — it must end with
/services/collector. - Check that the
ms_teamsindex exists and the HEC token is configured to write to it. - Check collector logs for export errors (
tail -f logs/pheniAgent_<tenant_id>.log).
HEC Authentication Errors
Section titled “HEC Authentication Errors”Symptom: Collector logs show 401 Unauthorized or 403 Forbidden on Splunk export.
Checks:
- Verify the HEC token is copied correctly (no trailing space).
- Confirm the token is enabled in Splunk.
- Verify the token has write access to the
ms_teamsindex.
TLS / SSL Errors
Section titled “TLS / SSL Errors”Symptom: Collector logs show certificate or TLS handshake errors.
Checks:
- If you are using a self-signed certificate on Splunk, either:
- Install the CA certificate on the collector host, or
- Set
splunk_ssl_check: false(testing only — not recommended for production).
- Verify the Splunk HEC endpoint URL uses the correct hostname matching the certificate.
Dashboards Show No Data
Section titled “Dashboards Show No Data”Symptom: Splunk app dashboards are empty despite events being in the index.
Checks:
- Confirm field extractions are working: search
index=ms_teams | head 1 | table *and verify expected fields. - Check time parsing — ensure
startDateTimeis parsed correctly. - Verify the dashboard time range covers the data collection window.
Site Mapping Not Working
Section titled “Site Mapping Not Working”Symptom: Sites/locations dashboard shows “No Mapped Calls” or blank results.
Checks:
- Confirm the subnet-to-site lookup table (
SubnetToSite) is imported in Splunk. - Verify
sites.csvis configured in the Configuration.