How splunk/scs-getting-started-app works
Transit Dashboard App is a React application that authenticates a user with Splunk Cloud Services and displays transit status by stop. The documented data path prepares sample transit events through a passthrough pipeline for indexing and search; the dashboard uses a definition and cloud data-source context to present results. The graph includes documented ingestion stages even though their service-side implementation is outside this repository. Source excerpts establish app wiring; README statements support the broader pipeline, with unsampled service internals left external.
Main entry points: App.jsx App and auth gate · Dashboard.jsx Transit dashboard · auth.js Auth client · index.jsx React entry
Components 15
Dashboard app
- React entry
transit_dashboard_app/src/index.jsx - App and auth gate
transit_dashboard_app/src/App.jsx - Auth client
transit_dashboard_app/src/auth.js - App configuration
transit_dashboard_app/src/config/config.json - Transit dashboard
transit_dashboard_app/src/Dashboard.jsx - Dashboard definition
transit_dashboard_app/src/definition.json
Transit data
- Agency coverage data
data/agencies-with-coverage.json - Arrival/departure data
data/arrivals-and-departures.json - Passthrough pipeline
data/passthrough.spl
Splunk platform
- Splunk Firehose
- Data Stream Processor
- Main index
- Splunk Cloud APIs
UI presentation
- Shared styles
transit_dashboard_app/src/styles.js
Other components
- Transit user
Connections 17
- Transit user → React entry: opens app
transit_dashboard_app/src/index.jsx - React entry → App and auth gate: renders
transit_dashboard_app/src/index.jsx - App and auth gate → App configuration: reads settings
transit_dashboard_app/src/App.jsx - App and auth gate → Auth client: checks login
transit_dashboard_app/src/App.jsx - Auth client → Splunk Cloud APIs: authenticates
transit_dashboard_app/src/auth.js - App and auth gate → Transit dashboard: renders when logged in
transit_dashboard_app/src/App.jsx - App and auth gate → Shared styles: renders states
transit_dashboard_app/src/App.jsx - Transit dashboard → Auth client: passes auth client
transit_dashboard_app/src/Dashboard.jsx - Transit dashboard → App configuration: reads data context
transit_dashboard_app/src/Dashboard.jsx - Transit dashboard → Dashboard definition: loads definition
transit_dashboard_app/src/Dashboard.jsx - Transit dashboard → Splunk Cloud APIs: queries transit data
README.md - Agency coverage data → Splunk Firehose: sample input
README.md - Arrival/departure data → Splunk Firehose: sample input
README.md - Splunk Firehose → Data Stream Processor: streams events
README.md - Data Stream Processor → Passthrough pipeline: processes with
README.md - Passthrough pipeline → Main index: writes events
README.md - Main index → Splunk Cloud APIs: serves searches
README.md