Created
December 5, 2019 07:53
-
-
Save quoeamaster/346ca76ae02a365edc8885e39f816b1a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| POST _ingest/pipeline/_simulate | |
| { | |
| "pipeline": { | |
| "processors": [ | |
| { | |
| "dissect": { | |
| "field": "message", | |
| "pattern": "%{user_id}:%{action}:%{action_id}:%{action_ts}:%{description}" | |
| } | |
| }, | |
| { | |
| "date": { | |
| "field": "action_ts", | |
| "formats": ["yyyy/MM/dd HH-mm-ss"], | |
| "target_field": "action_ts" | |
| } | |
| }, | |
| { | |
| "remove": { | |
| "field": [ | |
| "message" | |
| ] | |
| } | |
| } | |
| ] | |
| }, | |
| "docs": [ | |
| { | |
| "_source": { | |
| "message": "jaime_10234:filling_procurement_form:12_yuy190:2019/04/18 13-12-09:procurement for ABC company on spare parts" | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment