> ## 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. Detailed screrenshots are attached below.

Using Bytebeam cloud, it is possible to view the logs of the device. Uplink is capable of collecting logcat logs and pushing them to cloud, which can then be visualized using the logs panel. You should create a stream called `logs` with this schema in your project:

<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]
# logcat tags you want to upload
tags = [
    "AndroidContext",
    "io.bytebeam.android_web_wrapper.BluetoothService.R1",
    "io.bytebeam.android_web_wrapper.interfaces.WifiInterface",
    "BluetoothGatt"
]
# 0 will collect all logs (VERBOSE) 
# 6 will collect only logs with priority "Fatal"
min_level = 6
stream_size = 32
```

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" />
