mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[6.8] [Grok Debugger] Trim trailing whitespace in sample data and grok patterns fields (#36245) (#37142)
This commit is contained in:
parent
866ad9bdfd
commit
3180052e6f
1 changed files with 2 additions and 2 deletions
|
@ -36,12 +36,12 @@ export class GrokDebugger extends React.Component {
|
|||
|
||||
onRawEventChange = (rawEvent) => {
|
||||
this.setState({ rawEvent });
|
||||
this.grokdebuggerRequest.rawEvent = rawEvent;
|
||||
this.grokdebuggerRequest.rawEvent = rawEvent.trimEnd();
|
||||
}
|
||||
|
||||
onPatternChange = (pattern) => {
|
||||
this.setState({ pattern });
|
||||
this.grokdebuggerRequest.pattern = pattern;
|
||||
this.grokdebuggerRequest.pattern = pattern.trimEnd();
|
||||
}
|
||||
|
||||
onCustomPatternsChange = (customPatterns) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue