Skip to content

Commit

Permalink
added delete index es option, new mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Bray committed Aug 19, 2020
1 parent db1917e commit 61c389e
Show file tree
Hide file tree
Showing 5 changed files with 278,688 additions and 262,937 deletions.
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,14 @@ You add your input paths to the directory input and then choose one or more outp
]
}
},
"outputs" : [
{
"parsing" : {
"welm" : {
"enabled" : true,
"mapping_file" : "welm/welm_map.json"
}
},
"outputs" : {
"elasticsearch" : {
"name" : "elastic_nom",
"enabled" : true,
"es_host" : "localhost",
Expand All @@ -58,13 +64,14 @@ You add your input paths to the directory input and then choose one or more outp
"es_scheme" : "http",
"index_template" : "es_stuff/index-template.json",
"ecs_map_file" : "es_stuff/ecs_map.json",
"ecs_mode" : true
"ecs_mode" : true,
"delete_old_indexes" : true
},
{
"standard_out" : {
"name" : "stdout_nom",
"enabled" : false
}
]
}
}

```
Expand Down Expand Up @@ -122,7 +129,8 @@ becomes
"es_scheme" : "http",
"index_template" : "es_stuff/index-template.json",
"ecs_map_file" : "es_stuff/ecs_map.json",
"ecs_mode" : true
"ecs_mode" : true,
"delete_old_indexes" : false
}
```

Expand Down
3 changes: 2 additions & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"es_scheme" : "http",
"index_template" : "es_stuff/index-template.json",
"ecs_map_file" : "es_stuff/ecs_map.json",
"ecs_mode" : true
"ecs_mode" : true,
"delete_old_indexes" : true
},
"standard_out" : {
"name" : "stdout_nom",
Expand Down
Loading

0 comments on commit 61c389e

Please sign in to comment.