# 💠 JSON format for Server log connector

**URL:** <https://discuss.elastic.co/t/json-format-for-server-log-connector/315178>\
**Category:** Elastic Observability\
**Created:** [September 26, 2022, 2:34pm UTC](https://discuss.elastic.co/t/json-format-for-server-log-connector/315178 "2022-09-26T14:34:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Its\_Anton](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/its_anton/32/111286_2.png) [@Its\_Anton](https://discuss.elastic.co/u/Its_Anton)\
**Post date:** [September 26, 2022, 2:34pm UTC](https://discuss.elastic.co/t/json-format-for-server-log-connector/315178/1 "2022-09-26T14:34:06Z")

</div>

Hi!

I have switched all logs from Kibana to JSON format and that work awesome!  
But when I use the Server log connector in my alerting rules, it adds annoying ''Server log: " text that breaks the JSON being logged:

 ![conn-1](https://us1.discourse-cdn.com/elastic/original/3X/e/f/ef55a27b1cd49fb8330f7cca26b8937aa52340b5.png)  
 ![conn3](https://us1.discourse-cdn.com/elastic/original/3X/0/c/0cd40534cf892d004a306cf902c6d2e37ee40007.jpeg)

I have this action in the alerts rule:

 ![conn-2](https://us1.discourse-cdn.com/elastic/original/3X/c/7/c73340f287a9218778c2e5e9e59bb86a91fcd203.png)

Is there a way to make the Server log connector to write JSON? Or is there a way to remove "Server log: " text that I could a least parse it by the filebeat, like I currently do with all logs?

Thanks!

---

<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 4, 2022, 8:37am UTC](https://discuss.elastic.co/t/json-format-for-server-log-connector/315178/2 "2022-11-04T08:37:09Z")

</div>


