> ## Documentation Index
> Fetch the complete documentation index at: https://bytebeam.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Push application logs

> Learn how to effectively view journalctl logs on Bytebeam cloud with this comprehensive document. Discover the step-by-step instructions on setting up streams and dashboards, adding logging to devices, and configuring logging from the cloud.

Using Bytebeam cloud, it is possible to view the logs of the device. This guide assumes your device is running using **systemd** and logs are being pushed to **journald**. This guide will show you how to view **journald** logs on the cloud. Create a stream called "**logs**", with the following parameters.

![](https://mintcdn.com/bytebeamio/YngavNvE_o5FlNvW/assets/xbZiLBBLvlrpqzBfRPXfS_linuxdocslogs11.png?fit=max\&auto=format\&n=YngavNvE_o5FlNvW\&q=85\&s=46dcfd6db99a93c31ed6a24b19a1563b)

Now, we need to create a "**logs**" dashboard.

# Create logs dashboard

Go to the "**Dashboards**" section of Bytebeam Cloud and select  "**Create Dashboard**"

![](https://mintcdn.com/bytebeamio/K35qLcH5nuNVBNLm/assets/HeMZUtDY4LNscO6g5x9GB_linuxdocslogswhite11.png?fit=max\&auto=format\&n=K35qLcH5nuNVBNLm\&q=85\&s=214ab3005acdd4318cb0ac8136172be5)

Give the title "**logs**" and select the Dashboard type as "**Device Dashboard**". Click on submit.

![](https://mintcdn.com/bytebeamio/JPoxf8o86wAdqU39/assets/niU7r9Asl61jM089Wk-lK_linuxdocslogswhite12.png?fit=max\&auto=format\&n=JPoxf8o86wAdqU39\&q=85\&s=d98f8c11f43a0c4f98167ed978f18e8c)

The created dashboard should be visible now.

![](https://mintcdn.com/bytebeamio/JPoxf8o86wAdqU39/assets/l92yeiGitD50gn4w61Mtt_linuxdocslogs12.png?fit=max\&auto=format\&n=JPoxf8o86wAdqU39\&q=85\&s=266819893979e9568e79f75f100808bf)

Click on the "**logs**" dashboard and select the device for which you want to see the logs.

![](https://mintcdn.com/bytebeamio/FMXgxOtBRa9JcG8R/assets/SGFeCzRifwe9uJHmFu6-O_linuxdocslogs13.png?fit=max\&auto=format\&n=FMXgxOtBRa9JcG8R\&q=85\&s=df82a2f9911b04870d8d444fdb249bb4)

Create a New Panel. Select the "Logs" panel.

![](https://mintcdn.com/bytebeamio/cbGbxWM_WJ5eoYoh/assets/0Q9raxRwkG5kL_hHpc5_a_linuxdocslogswhite14.png?fit=max\&auto=format\&n=cbGbxWM_WJ5eoYoh\&q=85\&s=704c8188ef399e6a1e091951019714cc)

Give the appropriate title and select the "**Logs**" option from the "**Table**" drop-down menu. Click on submit.

![](https://mintcdn.com/bytebeamio/ZdhGbGJHpHWsN9k0/assets/4OCFJA7-Ny-Tf7R14jcFL_linuxdocslogswhite13.png?fit=max\&auto=format\&n=ZdhGbGJHpHWsN9k0\&q=85\&s=e0b5761c516b46cb94cf752fab07b81d)

To enable the logging feature on the device, the following lines are to be added to the config.toml file.

```none theme={null}
[logging]
tags=["sshd", "systemd"]
stream_size=1
min_level=7
```

Restart uplink.

The logs should be visible on the cloud now.

![](https://mintcdn.com/bytebeamio/K35qLcH5nuNVBNLm/assets/IwmOFMKewtI09CiM6iEIr_onlysshlogs.png?fit=max\&auto=format\&n=K35qLcH5nuNVBNLm\&q=85\&s=81658216f4d592358cc9c82503a3ee55)

# Update log config from the cloud

With the help of **config.toml** file, we can filter the logs related to a particular process. In this example, we see logs related to ssh. It is possible to change the logging configuration, from the cloud as well. To do that, we need to create a new Action type called "**journalctl\_config**". Follow the guide on [Creating new Action Types](https://bytebeam.io/docs/platform-guide/actions/action-settings/creating-an-action-type.md).

"**journalctl\_config**" is internally handled by uplink itself. It manages **log level** and **tags**  Click on Submit.

![](https://mintcdn.com/bytebeamio/K35qLcH5nuNVBNLm/assets/HE66k7i0ZQWWjpPKvNWBC_linuxdocslogs2.png?fit=max\&auto=format\&n=K35qLcH5nuNVBNLm\&q=85\&s=34b82d6c03ac5ff4536cd4faa94b0dfb)

On the Device Management section, the "**journalctl config**" action should be visible.

![](https://mintcdn.com/bytebeamio/YngavNvE_o5FlNvW/assets/zGCgdo0kvF3qhWI0jw2vZ_linuxdocslogs4.png?fit=max\&auto=format\&n=YngavNvE_o5FlNvW\&q=85\&s=e0c872a619324c97a72521c95da04612)

Select the device and click on "**Journalctl Config**". You will be prompted to create a JSON file. To see systemd logs also, use the following JSON. We can also choose the desired log level.

![](https://mintcdn.com/bytebeamio/1h3XTf0vWTDRsKc2/assets/EM5VZUHEVnLTiKtp1-4A2_linuxdocslogs6.png?fit=max\&auto=format\&n=1h3XTf0vWTDRsKc2\&q=85\&s=238fdce125ec34fbccba14992d3093ae)

Click on yes. This will trigger "**Journalctl Config**" action. To view the logs, select the device and click on "**Device Dashboards**"

![](https://mintcdn.com/bytebeamio/ZdhGbGJHpHWsN9k0/assets/5LZ1lvtk-MXFGpv9teIH7_linuxdocslogs8.png?fit=max\&auto=format\&n=ZdhGbGJHpHWsN9k0\&q=85\&s=300e6adace9b6e2024f65ba219b401a7)

Select "logs" Dashboard. Now, you should be able to see the logs of **sshd** and **systemd** as well.

![](https://mintcdn.com/bytebeamio/qFHdi6YCHCT3kYFV/assets/Zbd99lLg4bMEi__Cewhoj_sshdandsystemdlogs.png?fit=max\&auto=format\&n=qFHdi6YCHCT3kYFV\&q=85\&s=4ba9ca1fe97784e0e72c6306f5c23aad)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.