Redash: SQL-First Dashboards for Developers
Redash is an open-source analytics platform for teams that are comfortable writing SQL. It connects to a wide range of data sources, provides a browser-based SQL editor, turns query results into charts and tables, and assembles those visualizations into shareable dashboards. The workflow is direct: write a query, create a visualization, add it to a dashboard, share the URL.
Core features
Query editor with schema browser. The editor includes autocomplete and a schema browser that lists tables and columns. Clicking a column name inserts it into the query, reducing typos and speeding up exploration.
Query parameterization. Adding {{ variable_name }} to a query generates an input widget on the dashboard. Non-technical users can filter data using date pickers, dropdowns, or text inputs without modifying the SQL.
Visualizations. Query results can be rendered as line charts, bar charts, area charts, pie charts, funnels, maps, and cohort tables. Configuration is done through a visual editor that maps result columns to chart axes.
Scheduling and alerts. Queries can be set to run on a schedule, and alerts can fire when results meet a condition, such as a metric dropping below a threshold. Alert destinations include Slack, email, and webhooks.
REST API. All dashboard and query operations are available through a REST API, enabling programmatic query refresh, data export, and embedding visualizations in internal applications.
Self-hostable. Redash is free and runs on your own infrastructure via Docker. This eliminates vendor lock-in and keeps data entirely within your environment.
Connecting a data source
In a fresh Redash instance, navigate to Connect a Data Source from the welcome screen. Select the database type from the list (PostgreSQL, MySQL, BigQuery, MongoDB, and others). Fill in the connection details: a display name, host, port, username, password, and database name.
For PostgreSQL running in a separate Docker container on the same host, use host.docker.internal as the host. Click Test Connection to verify, then Create to save.
Writing a parameterized query
From the top menu, click Create > New Query. The schema browser on the left shows all tables and columns in the connected database.
The following query counts total events and purchase events per day, with a date parameter to control the start of the range:
Typing {{ start_date }} immediately creates a parameter widget below the editor. Clicking the gear icon on that widget opens type configuration. Changing the type from "Text" to "Date" replaces the plain text field with a calendar picker, which prevents invalid inputs.
Click Execute after selecting a date. Results appear in a table below the editor.
Creating a visualization
Above the results table, click + New Visualization. In the visualization editor, select a chart type. For time-series data, Area works well. Map the result columns to axes: day on the X axis, total_events and purchases on the Y axis. Under the Series tab, customize colors per metric. Under General, selecting "Stack" creates a stacked area chart.
Give the visualization a name and click Save.
Building a dashboard
Navigate to Create > New Dashboard and give it a title. Click Add Widget, search for the query, select the visualization, and click Add to Dashboard. Widgets can be repositioned by dragging and resized by dragging the bottom-right corner. Additional widgets from other queries can be added the same way.
The Refresh Schedule control in the top-right corner of the dashboard sets automatic re-execution intervals: every minute, hour, day, or week. Once set, stakeholders always see current data without manual intervention.
To share, copy the dashboard URL and distribute it to teammates. Anyone with the URL can view the dashboard and interact with parameters.
Comparison with other BI tools
Redash vs. Metabase. Metabase targets non-technical users with a no-code question builder. For developers who think in SQL, Redash's direct editor is faster and less restrictive for complex queries.
Redash vs. Apache Superset. Superset offers more visualization types and better performance at scale, but requires more setup and has a steeper learning curve. Redash is easier to get running and focused on SQL use cases.
Redash vs. Tableau and Power BI. Both commercial tools offer polished UIs and deep enterprise support at significant licensing cost. Redash provides the core functionality most development teams need for free, without per-seat pricing.
Tradeoffs
Redash's visualizations cover the common cases but lack the customization depth of dedicated visualization platforms. If pixel-perfect, highly branded dashboards for external clients are required, other tools will serve better.
Self-hosting transfers maintenance responsibility: updates, scaling, and backups fall to your team. There is a managed cloud offering, but the free tier is self-hosted only.
Redash does not have a no-code data explorer. Teams with primarily non-technical users who need a point-and-click interface would be better served by Metabase.
Final thoughts
Redash fits well for development teams that already write SQL and want to share insights without exporting CSVs or building custom reporting pages. The SQL editor and parameterization cover most internal analytics use cases, and the self-hosted Docker setup keeps the cost and data ownership straightforward.
For pipeline monitoring, internal KPI dashboards, or exposing database queries to non-technical colleagues through a filtered UI, it reduces a multi-step manual process to a one-time setup.
Documentation and Docker setup instructions are available at redash.io/help.