# Dissector mapping, pattern not found in Logstash

**URL:** <https://discuss.elastic.co/t/dissector-mapping-pattern-not-found-in-logstash/261210>\
**Category:** Logstash\
**Created:** [January 15, 2021, 5:50am UTC](https://discuss.elastic.co/t/dissector-mapping-pattern-not-found-in-logstash/261210 "2021-01-15T05:50:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sharma3007](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sharma3007/32/43414_2.png) [@Sharma3007](https://discuss.elastic.co/u/Sharma3007)\
**Post date:** [January 15, 2021, 5:50am UTC](https://discuss.elastic.co/t/dissector-mapping-pattern-not-found-in-logstash/261210/1 "2021-01-15T05:50:25Z")

</div>

Hi Team,

After a long time I am getting below error in my logstash config.

["beats\_input\_codec\_plain\_applied", "\_dissectfailure"], "input"=\>{"type"=\>"log"}}}  
[2021-01-15T04:02:07,055][WARN][org.logstash.dissect.Dissector][main][a13e39ceae461b00fbc60afacbad1eb76827033d9d2d6e00f6435027b6e06994] Dissector mapping, pattern not found {"field"=\>"message", "pattern"=\>"%{DATETIME}|%{LOGLEVEL}|%{LOGSOURCE}|%{Id}|%{Name}|%{JobId}|%{Type}|%{RequestType}|%{LOGMESSAGE}"

Earlier it works fine for me without %{RequestType} field, After added |%{RequestType} fields, My logstash doesn't work & gives me an error abobe.

filter using in logstash.config below:

dissect {mapping =\> {"message"=\>'%{DATETIME}| %{LOGLEVEL} |%{LOGSOURCE} |%{Id} %{Name} |%{JobId} |%{Type}  
%{RequestType} |%{LOGMESSAGE}' } }

Also tried with below tag : 'config.support\_escapes:' true, but still not work. followed the below link, but it doesn't help me to resolve my issue.

> [@Dissector mapping, pattern not found](https://discuss.elastic.co/t/dissector-mapping-pattern-not-found/186509/2):
>
> Correct! Try dissect { mapping =\> { "message" =\> '%{dateTime} %{+dateTime} %{} Host:"%{host}" Zone:"%{zone}" "%{adapter}" "%{process}" %{process\_id} %{header} %{?content}' } } That is, use single quotes around the pattern so that you do not have to escape the double quotes, and use a literal newline in the pattern string.

---

<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 15, 2021, 3:32pm UTC](https://discuss.elastic.co/t/dissector-mapping-pattern-not-found-in-logstash/261210/3 "2021-02-15T15:32:07Z")

</div>

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