Skip to content

Text to Table of AWS 'Dashboard' / Table

0

Hi,

Has anyone 'successfully' tried copying the AWS console 'table' into a text table format of some sort? For example, from the RDS dashboard, if I select what's on display and try to copy and paste it to notepad, it will paste itself as several lines instead of a columnar output.

I want it to show as something like below instead? Doesn't need to have all the 'formatting' like below but at least in a 'columnar' output of some sort.

| DB Identifier                      | Status     | Role               | Engine            | Engine Version 
|------------------------------------|------------|--------------------|-------------------|----------------
| abct1-auroraprovisioned            | Available  | Regional cluster   | Aurora PostgreSQL | 12.17          
| abct1-auroraprovisioned-db01       | Available  | Writer instance    | Aurora PostgreSQL | 12.17          

I know aws CLI has the text output option but I don't want to use aws CLI since the output I want is right there in front of me in the console already. This is not just for the RDS dashboard but literally most of the AWS 'tables' , i.e. all that is enclosed in a box in the AWS console, like the recent events data etc. I want to copy-and-paste as text 'coz I am writing the documentation as a text document.

I've found a Text-to-Table-Bot but it has a limit of some sort when you will have to start paying at some stage :-) Just want to know if there is another one that I can use besides this bot. The bot does the Text-to-Table reasonably well except for some spacing alignment that are not even in some way.

I might post this same question on a Unix forum if no one replies here.

asked 2 years ago168 views

1 Answer
0

Unfortunately, the AWS Management Console does not have a built-in feature to directly copy table data in a formatted columnar output as you described. The console is primarily designed for web-based viewing and interaction, rather than for exporting data in specific formats.

However, there are a few workarounds you might consider:

  1. Browser extensions: There are browser extensions available that can help convert HTML tables to various formats, including plain text tables. These might work with some AWS console tables, though compatibility may vary.

  2. Spreadsheet method: You could copy the table data from the AWS console and paste it into a spreadsheet application like Microsoft Excel or Google Sheets. From there, you can format it as desired and then copy it back out as a text table.

  3. Screenshot and OCR: For small amounts of data, you could take a screenshot of the table and use an OCR (Optical Character Recognition) tool to convert it to text, which you could then format manually.

  4. Custom scripting: If you're comfortable with programming, you could potentially create a script using a tool like Selenium to automate the process of extracting table data from the AWS console and formatting it as desired.

While these methods aren't as convenient as a direct copy-paste solution, they might help you achieve the columnar output you're looking for without relying on the AWS CLI or third-party bots with usage limits.

It's worth noting that while the AWS Management Console supports Markdown formatting in certain fields of specific services (like Amazon CloudWatch), this feature is not universally available across all console tables and doesn't provide a way to export existing tables in Markdown format.

If you frequently need to extract and format data from AWS console tables, you might want to reconsider using the AWS CLI despite your preference not to, as it often provides the most straightforward way to get structured data output from AWS services.
Sources
Using Markdown in the Console - AWS Management Console
What is the AWS Management Console? - AWS Management Console

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.