# \[Filebeat\] How to read "special text + json string" to es?

**URL:** <https://discuss.elastic.co/t/filebeat-how-to-read-special-text-json-string-to-es/352251>\
**Category:** Elasticsearch\
**Created:** [February 1, 2024, 6:21am UTC](https://discuss.elastic.co/t/filebeat-how-to-read-special-text-json-string-to-es/352251 "2024-02-01T06:21:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![uiosun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/uiosun/32/131306_2.png) [@uiosun](https://discuss.elastic.co/u/uiosun)\
**Post date:** [February 1, 2024, 6:21am UTC](https://discuss.elastic.co/t/filebeat-how-to-read-special-text-json-string-to-es/352251/1 "2024-02-01T06:21:40Z")

</div>

I have the struct in log files, like there (JSON has near 60 column......):

```auto
[2024-01-29 11:10:35] standard.INFO: {"start_time": "1706497834.091", "remote_addr": "www.demo.com", "remote_user": "a_user"}
[2024-01-29 11:10:35] standard.INFO: {"start_time": "1706497834.091", "remote_addr": "www.demo.com", "remote_user": "a_user"}

```

So you can see, this is "Special + JSON" single line log. now, I write a lang Regular expression.

Have any simple way, can send the log to es server?

---

<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:** [February 29, 2024, 6:22am UTC](https://discuss.elastic.co/t/filebeat-how-to-read-special-text-json-string-to-es/352251/2 "2024-02-29T06:22:30Z")

</div>

Closed on February 29, 2024, 6:22am UTC

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