> ## 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.

<img src="https://mintcdn.com/bytebeamio/YngavNvE_o5FlNvW/assets/xbZiLBBLvlrpqzBfRPXfS_linuxdocslogs11.png?fit=max&auto=format&n=YngavNvE_o5FlNvW&q=85&s=46dcfd6db99a93c31ed6a24b19a1563b" alt="" width="949" height="780" data-path="assets/xbZiLBBLvlrpqzBfRPXfS_linuxdocslogs11.png" />

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

# Create logs dashboard

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

<img src="https://mintcdn.com/bytebeamio/K35qLcH5nuNVBNLm/assets/HeMZUtDY4LNscO6g5x9GB_linuxdocslogswhite11.png?fit=max&auto=format&n=K35qLcH5nuNVBNLm&q=85&s=214ab3005acdd4318cb0ac8136172be5" alt="" width="1802" height="186" data-path="assets/HeMZUtDY4LNscO6g5x9GB_linuxdocslogswhite11.png" />

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

<img src="https://mintcdn.com/bytebeamio/JPoxf8o86wAdqU39/assets/niU7r9Asl61jM089Wk-lK_linuxdocslogswhite12.png?fit=max&auto=format&n=JPoxf8o86wAdqU39&q=85&s=d98f8c11f43a0c4f98167ed978f18e8c" alt="" width="787" height="410" data-path="assets/niU7r9Asl61jM089Wk-lK_linuxdocslogswhite12.png" />

The created dashboard should be visible now.

<img src="https://mintcdn.com/bytebeamio/JPoxf8o86wAdqU39/assets/l92yeiGitD50gn4w61Mtt_linuxdocslogs12.png?fit=max&auto=format&n=JPoxf8o86wAdqU39&q=85&s=266819893979e9568e79f75f100808bf" alt="" width="1667" height="244" data-path="assets/l92yeiGitD50gn4w61Mtt_linuxdocslogs12.png" />

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

<img src="https://mintcdn.com/bytebeamio/FMXgxOtBRa9JcG8R/assets/SGFeCzRifwe9uJHmFu6-O_linuxdocslogs13.png?fit=max&auto=format&n=FMXgxOtBRa9JcG8R&q=85&s=df82a2f9911b04870d8d444fdb249bb4" alt="" width="1635" height="322" data-path="assets/SGFeCzRifwe9uJHmFu6-O_linuxdocslogs13.png" />

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

<img src="https://mintcdn.com/bytebeamio/cbGbxWM_WJ5eoYoh/assets/0Q9raxRwkG5kL_hHpc5_a_linuxdocslogswhite14.png?fit=max&auto=format&n=cbGbxWM_WJ5eoYoh&q=85&s=704c8188ef399e6a1e091951019714cc" alt="" width="1732" height="572" data-path="assets/0Q9raxRwkG5kL_hHpc5_a_linuxdocslogswhite14.png" />

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

<img src="https://mintcdn.com/bytebeamio/ZdhGbGJHpHWsN9k0/assets/4OCFJA7-Ny-Tf7R14jcFL_linuxdocslogswhite13.png?fit=max&auto=format&n=ZdhGbGJHpHWsN9k0&q=85&s=e0b5761c516b46cb94cf752fab07b81d" alt="" width="1615" height="627" data-path="assets/4OCFJA7-Ny-Tf7R14jcFL_linuxdocslogswhite13.png" />

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.

<img src="https://mintcdn.com/bytebeamio/K35qLcH5nuNVBNLm/assets/IwmOFMKewtI09CiM6iEIr_onlysshlogs.png?fit=max&auto=format&n=K35qLcH5nuNVBNLm&q=85&s=81658216f4d592358cc9c82503a3ee55" alt="" width="1584" height="767" data-path="assets/IwmOFMKewtI09CiM6iEIr_onlysshlogs.png" />

# 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](/platform-guide/actions/action-settings/creating-an-action-type).

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

<img src="https://mintcdn.com/bytebeamio/K35qLcH5nuNVBNLm/assets/HE66k7i0ZQWWjpPKvNWBC_linuxdocslogs2.png?fit=max&auto=format&n=K35qLcH5nuNVBNLm&q=85&s=34b82d6c03ac5ff4536cd4faa94b0dfb" alt="" width="935" height="481" data-path="assets/HE66k7i0ZQWWjpPKvNWBC_linuxdocslogs2.png" />

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

<img src="https://mintcdn.com/bytebeamio/YngavNvE_o5FlNvW/assets/zGCgdo0kvF3qhWI0jw2vZ_linuxdocslogs4.png?fit=max&auto=format&n=YngavNvE_o5FlNvW&q=85&s=e0c872a619324c97a72521c95da04612" alt="" width="1095" height="647" data-path="assets/zGCgdo0kvF3qhWI0jw2vZ_linuxdocslogs4.png" />

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.

<img src="https://mintcdn.com/bytebeamio/1h3XTf0vWTDRsKc2/assets/EM5VZUHEVnLTiKtp1-4A2_linuxdocslogs6.png?fit=max&auto=format&n=1h3XTf0vWTDRsKc2&q=85&s=238fdce125ec34fbccba14992d3093ae" alt="" width="717" height="810" data-path="assets/EM5VZUHEVnLTiKtp1-4A2_linuxdocslogs6.png" />

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

<img src="https://mintcdn.com/bytebeamio/ZdhGbGJHpHWsN9k0/assets/5LZ1lvtk-MXFGpv9teIH7_linuxdocslogs8.png?fit=max&auto=format&n=ZdhGbGJHpHWsN9k0&q=85&s=300e6adace9b6e2024f65ba219b401a7" alt="" width="619" height="568" data-path="assets/5LZ1lvtk-MXFGpv9teIH7_linuxdocslogs8.png" />

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

<img src="https://mintcdn.com/bytebeamio/qFHdi6YCHCT3kYFV/assets/Zbd99lLg4bMEi__Cewhoj_sshdandsystemdlogs.png?fit=max&auto=format&n=qFHdi6YCHCT3kYFV&q=85&s=4ba9ca1fe97784e0e72c6306f5c23aad" alt="" width="1506" height="724" data-path="assets/Zbd99lLg4bMEi__Cewhoj_sshdandsystemdlogs.png" />
