# How to show the JSON spring boot logs as a seperate fields out of the messages in the table format

**URL:** <https://discuss.elastic.co/t/how-to-show-the-json-spring-boot-logs-as-a-seperate-fields-out-of-the-messages-in-the-table-format/253424>\
**Category:** Kibana\
**Created:** [October 27, 2020, 11:11am UTC](https://discuss.elastic.co/t/how-to-show-the-json-spring-boot-logs-as-a-seperate-fields-out-of-the-messages-in-the-table-format/253424 "2020-10-27T11:11:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aathithiyan](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@Aathithiyan](https://discuss.elastic.co/u/Aathithiyan)\
**Post date:** [October 27, 2020, 11:11am UTC](https://discuss.elastic.co/t/how-to-show-the-json-spring-boot-logs-as-a-seperate-fields-out-of-the-messages-in-the-table-format/253424/1 "2020-10-27T11:11:24Z")

</div>

Hi,  
I have a task that i need to view the spring boot JSON logs in the table format. It should not dump into the message field of kibana. It has to view as a seperate field in the table format.

Eg: EmployeeId 123  
EmployeeName aathi  
EmployeeAddress banglore.  
I have used the Json processor to split the json log as a seperate variable to view it in a table format but i am not able to view the json logs in the table format.

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [October 31, 2020, 1:59pm UTC](https://discuss.elastic.co/t/how-to-show-the-json-spring-boot-logs-as-a-seperate-fields-out-of-the-messages-in-the-table-format/253424/2 "2020-10-31T13:59:15Z")

</div>

How are your logs indexed in Elasticsearch? Do you have fields for `EmployeeId`, `EmployeeName`, `EmployeeAddress`?

How are you viewing your logs?

If you are viewing your logs in `Logs` application, click `settings` and then configure `Log columns`

 ![Screen Shot 2020-10-31 at 7.57.06 AM](https://us1.discourse-cdn.com/elastic/original/3X/b/f/bfb7fe559dca9f2ddb44790e9fc549538e0e7916.png)

If you are viewing your logs in `Discover` application, hover over a field on the left and then click the plus icon to add a column

 ![Screen Shot 2020-10-31 at 7.58.39 AM](https://us1.discourse-cdn.com/elastic/original/3X/9/6/9656992bc324bcd438d5f106f438d1149f11fa83.png)

---

<div class="post-metadata">

**Author:** ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)\
**Post date:** [October 31, 2020, 2:02pm UTC](https://discuss.elastic.co/t/how-to-show-the-json-spring-boot-logs-as-a-seperate-fields-out-of-the-messages-in-the-table-format/253424/3 "2020-10-31T14:02:43Z")

</div>

I would suggest to this [dependency](https://github.com/elastic/ecs-logging-java) to format your spring boot logs into ECS directly and ship them with filebeat into elasticsearch.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 28, 2020, 2:02pm UTC](https://discuss.elastic.co/t/how-to-show-the-json-spring-boot-logs-as-a-seperate-fields-out-of-the-messages-in-the-table-format/253424/4 "2020-11-28T14:02:44Z")

</div>

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