Redash v5 Quick Start Guide
eBook - ePub

Redash v5 Quick Start Guide

Create and share interactive dashboards using Redash

  1. 224 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Redash v5 Quick Start Guide

Create and share interactive dashboards using Redash

About this book

Learn how to quickly generate business intelligence, insights and create interactive dashboards for digital storytelling through various data sources with Redash

Key Features

  • Learn the best use of visualizations to build powerful interactive dashboards
  • Create and share visualizations and data in your organization
  • Work with different complexities of data from different data sources

Book Description

Data exploration and visualization is vital to Business Intelligence, the backbone of almost every enterprise or organization. Redash is a querying and visualization tool developed to simplify how marketing and business development departments are exposed to data. If you want to learn to create interactive dashboards with Redash, explore different visualizations, and share the insights with your peers, then this is the ideal book for you.

The book starts with essential Business Intelligence concepts that are at the heart of data visualizations. You will learn how to find your way round Redash and its rich array of data visualization options for building interactive dashboards. You will learn how to create data storytelling and share these with peers. You will see how to connect to different data sources to process complex data, and then visualize this data to reveal valuable insights.

By the end of this book, you will be confident with the Redash dashboarding tool to provide insight and communicate data storytelling.

What you will learn

  • Install Redash and troubleshoot installation errors
  • Manage user roles and permissions
  • Fetch data from various data sources
  • Visualize and present data with Redash
  • Create active alerts based on your data
  • Understand Redash administration and customization
  • Export, share and recount stories with Redash visualizations
  • Interact programmatically with Redash through the Redash API

Who this book is for

This book is intended for Data Analysts, BI professionals and Data Developers, but can be useful to anyone who has a basic knowledge of SQL and a creative mind. Familiarity with basic BI concepts will be helpful, but no knowledge of Redash is required.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Information

Installing Redash

Once you've decided to go for a self-hosted Redash, it's time to decide which installation you should perform.
This chapter is intended for people with some knowledge of the Linux operating system. If you choose to install Redash on a machine that already contains production services, take extra care when manually executing operations. You will need root privileges on the machine.
The information you'll find in this chapter has been checked for correctness and is accurate regarding the current version and installation procedure of Redash. For up to date data, please refer to the official Redash website!
  • Setup page: https://redash.io/help/open-source/setup
  • Dev-guide (always useful): https://redash.io/help/open-source/dev-guide/
Although it is technically possible to run Redash on Windows OS, it is highly recommended that you use a Linux machine, especially for production configuration.
Windows users who want to experiment are encouraged to do so in a VM or a container. Win 10/Windows Server 1709 and later users can take advantage of the Linux subsystem for Windows.
From the Windows official website: The Windows subsystem for Linux lets developers run Linux environments, including most command-line tools, utilities, and applications directly on Windows, unmodified, without the overhead of a virtual machine.
More information on how to install your favorite Linux distribution on Windows can be found here: https://docs.microsoft.com/en-us/windows/wsl/about. After you have installed your Linux distro, continue installing as if you had a native Linux machine.
In this chapter, we will cover the following topics:
  • Sizing – choosing the right machine to do the job
  • Installation options and installation walkthrough
  • Explaining the main setup script
  • Troubleshooting
  • Configuration and setup
  • Permissions in Redash

Sizing – choosing the right machine to do the job

Sizing is based on the number of concurrent users and the number of concurrent queries that you have. For <10 concurrent users and <100 active queries, a tiny machine that has a dual core, 2 GB memory should be enough.
On the other hand, if you have 50-100 concurrent users and 1,000 active queries, you will need at least 16-32 GB RAM and a quad-core CPU.
In addition to the Redash app, you will also need Postgres, Redis, and Celery.
  • Redis - Memory intensive
  • Postgres - CPU and memory
  • Celery - CPU and memory (the more workers you have, the more CPU you need. If workers won't keep up and build up a queue, it starts to consume memory)
If you're hosted in the cloud, you can always start with a smaller machine and expand if needed. The same goes for deploying Redash inside a VM in your own data center.
As a good starting point, you can use the following instance types on GCE/AWS:
  • On AWS: t2.medium (2 vCPU, 4 GB RAM)
  • On GCE: n1-standard-1/ n1-standard-2 (1/2 vCPU and 4/8 GB RAM accordingly)
For more intensive usage:
  • On AWS: m4.2xlarge/m5.2xlarge (both with 8vCPU, 32 GB RAM)
  • On GCE: n1-standard-8 (8vCPU, 32 RAM)

Installation options and installation walkthrough

In this section, we will cover the options you have when installing Redash. If your machine resides in the cloud, you will be able to choose an existing image of Redash with all the necessary components already predefined.
In case you prefer to have more control over the installation, you can run the setup.sh script or manually run Docker installation.

Installation options

There are various installation options for Redash, and they are as follows:
For the Cloud (AWS/GCE):
  • Using a predefined image
  • Manually using a Setup script
For your own datacenter (VM or Physical Machine):
  • Docker
  • Manually using a Setup script
    In all of the aforementioned options, you can provide your own Postgres/Redis, in case you already have them installed.
As we already seen in the Redash architecture chart from the previous chapter, Redash needs Postgres (version 9.3 or newer) and Redis (version 2.8 or newer) to operate.
Both Postgres and Redis can be installed separately (if you already have them installed, then you can configure Redash to use them using environment variables).
Redash releases are located here: https://github.com/getredash/redash/releases.

AWS-predefined image

This is a very easy type of installation, since everything is packed into a convenient image. To pick a specific image, you can...

Table of contents

  1. Title Page
  2. Copyright and Credits
  3. Packt Upsell
  4. Foreword
  5. Contributors
  6. Preface
  7. Introducing Redash
  8. Installing Redash
  9. Creating and Visualizing your First Query
  10. Connecting to Data Sources
  11. Writing and Executing Queries
  12. Creating Visualizations
  13. Dashboards and Practical Tips
  14. Customizing Redash
  15. Other Books You May Enjoy

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Redash v5 Quick Start Guide by Alexander Leibzon, Yael Leibzon in PDF and/or ePUB format, as well as other popular books in Computer Science & Data Modelling & Design. We have over one million books available in our catalogue for you to explore.