# Dashboard: Terminal Window which shows i.e. the output of an logfile

**URL:** <https://discourse.nodered.org/t/dashboard-terminal-window-which-shows-i-e-the-output-of-an-logfile/80049>\
**Category:** Dashboard\
**Created:** [25 July 2023 07:13 UTC](https://discourse.nodered.org/t/dashboard-terminal-window-which-shows-i-e-the-output-of-an-logfile/80049 "2023-07-25T07:13:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DL4ZAQ](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dl4zaq/32/81515_2.png) [@DL4ZAQ](https://discourse.nodered.org/u/DL4ZAQ)\
**Post date:** [25 July 2023 07:13 UTC](https://discourse.nodered.org/t/dashboard-terminal-window-which-shows-i-e-the-output-of-an-logfile/80049/1 "2023-07-25T07:13:28Z")

</div>

My flow looks like this:  
Button: Show Log  
Exec: /user/bin/sudo tail -f /home/xxxx.log

Returns a pid: 22392

I would like to have a window on the dashboard showing continuously the "output" of the logfile.

Additional ask:  
My additional flow looks like this:  
Button: Open Alsamixer  
Exec: /user/bin/sudo alsamixer

Should open a terminal window inside the dashboard with the alsamixer and it would be great to allow changes...as on the cmd line console.

Is it possible to embed a browser window with the url: [https://XXXXXXXXX.com](https://XXXXXXXXX.com) ? in the Dashboard?

Many thanks for your hints!

Pete

---

<div class="post-metadata">

**Author:** ![omrid](https://avatars.discourse-cdn.com/v4/letter/o/77aa72/32.png) [@omrid](https://discourse.nodered.org/u/omrid)\
**Post date:** [25 July 2023 11:35 UTC](https://discourse.nodered.org/t/dashboard-terminal-window-which-shows-i-e-the-output-of-an-logfile/80049/2 "2023-07-25T11:35:03Z")

</div>

For your 1st question, you can use a dashboard template node, and feed it with msg.payloads. However:

- You will need to replace newlines with HTML   
,
- The node always shows only the last received payload. To show history you will need to buffer multiple messages back

As for the 2nd question, you can use an iFrame node (part of the dashboard) and send it the target URL. The node includes some how-to examples.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [24 August 2023 11:35 UTC](https://discourse.nodered.org/t/dashboard-terminal-window-which-shows-i-e-the-output-of-an-logfile/80049/3 "2023-08-24T11:35:46Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
