# Logstash escaping characters, want to disable

**URL:** <https://discuss.elastic.co/t/logstash-escaping-characters-want-to-disable/318984>\
**Category:** Logstash\
**Created:** [November 15, 2022, 5:03pm UTC](https://discuss.elastic.co/t/logstash-escaping-characters-want-to-disable/318984 "2022-11-15T17:03:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Johanna12221](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@Johanna12221](https://discuss.elastic.co/u/Johanna12221)\
**Post date:** [November 16, 2022, 3:33pm UTC](https://discuss.elastic.co/t/logstash-escaping-characters-want-to-disable/318984/2 "2022-11-16T15:33:17Z")

</div>

One thought I had was that there might be different types of the field, which is was ("path" was just a text without any analyzer or anything).  
But I recreated the index and reindexed the documents with the same settings as the index created by FSCrawler has, but it's still encoded every " as \" and every \ as \\

```auto
        "path": {
          "type": "keyword",
          "fields": {
            "fulltext": {
              "type": "text"
            },
            "tree": {
              "type": "text",
              "analyzer": "fscrawler_path",
              "fielddata": true
            }
          }
        },

            "virtual": {
              "type": "keyword",
              "fields": {
                "fulltext": {
                  "type": "text"
                },
                "tree": {
                  "type": "text",
                  "analyzer": "fscrawler_path",
                  "fielddata": true
                }
              }
            }

```

\*virtual is from FSCrawler and "path" is from Logstash/JDBC/SQL Server

---

_[View the full topic](https://discuss.elastic.co/t/logstash-escaping-characters-want-to-disable/318984)._
