# "reason": "Unrecognized character escape '\['

**URL:** <https://discuss.elastic.co/t/reason-unrecognized-character-escape/155638>\
**Category:** Kibana\
**Created:** [November 7, 2018, 12:58am UTC](https://discuss.elastic.co/t/reason-unrecognized-character-escape/155638 "2018-11-07T00:58:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aabababba](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aabababba/32/36732_2.png) [@aabababba](https://discuss.elastic.co/u/aabababba)\
**Post date:** [November 7, 2018, 12:58am UTC](https://discuss.elastic.co/t/reason-unrecognized-character-escape/155638/1 "2018-11-07T00:58:39Z")

</div>

![devtool](https://us1.discourse-cdn.com/elastic/original/3X/7/e/7ec45af61b190365ea5cada9c27357c54e665397.jpeg)

anybody help...

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 7, 2018, 1:49am UTC](https://discuss.elastic.co/t/reason-unrecognized-character-escape/155638/2 "2018-11-07T01:49:02Z")

</div>

Please don't post pictures of text, they are difficult to read and some people may not be even able to see them.

Make sure you format any code using the `</>` button, or markdown style back ticks. It helps to make things easy to read which helps us help you 🙂

---

<div class="post-metadata">

**Author:** ![aabababba](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aabababba/32/36732_2.png) [@aabababba](https://discuss.elastic.co/u/aabababba)\
**Post date:** [November 7, 2018, 1:53am UTC](https://discuss.elastic.co/t/reason-unrecognized-character-escape/155638/3 "2018-11-07T01:53:22Z")

</div>

```auto
GET filebeat-*/_search
{
  "query": {
      "bool": {
        "must": [
        {
           "query_string": {
            "analyze_wildcard": true,
             "query": "host:(web-) AND message:(*Exception*) AND NOT message:(\[Exception\])"
                  }
                }
             ]
            }
          }
}

```

```auto
{

&quot;error&quot;: {

&quot;root_cause&quot;: [

{

&quot;type&quot;: &quot;json_parse_exception&quot;,

&quot;reason&quot;: &quot;Unrecognized character escape '[' (code 91)\n at [Source: [org.elasticsearch.transport.netty4.ByteBufStreamInput@6ad6a098](mailto:org.elasticsearch.transport.netty4.ByteBufStreamInput@6ad6a098); line: 8, column: 81]&quot;

}

],

&quot;type&quot;: &quot;json_parse_exception&quot;,

&quot;reason&quot;: &quot;Unrecognized character escape '[' (code 91)\n at [Source: [org.elasticsearch.transport.netty4.ByteBufStreamInput@6ad6a098](mailto:org.elasticsearch.transport.netty4.ByteBufStreamInput@6ad6a098); line: 8, column: 81]&quot;

},

&quot;status&quot;: 500

}

```

like this?

---

<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:** [December 5, 2018, 1:53am UTC](https://discuss.elastic.co/t/reason-unrecognized-character-escape/155638/4 "2018-12-05T01:53:30Z")

</div>

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