Skip to content

Instantly share code, notes, and snippets.

@lockwooddev
Created May 23, 2022 14:44
Show Gist options
  • Save lockwooddev/a6bd2593d898f86252fe3aa8776fd4fe to your computer and use it in GitHub Desktop.
Save lockwooddev/a6bd2593d898f86252fe3aa8776fd4fe to your computer and use it in GitHub Desktop.

Revisions

  1. lockwooddev created this gist May 23, 2022.
    17 changes: 17 additions & 0 deletions ingest-pipeline.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    {
    "description": "forward docs to data stream",
    "processors": [
    {
    "set": {
    "field": "_index",
    "value": "metrics"
    }
    },
    {
    "set": {
    "field": "@timestamp",
    "value": "{{_ingest.timestamp}}"
    }
    }
    ]
    }