Skip to content

Commit

Permalink
Update for ELK 7.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Snk74 authored Jun 25, 2020
1 parent 4f4684f commit 975942f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ List of Elasticsearch templates, used for Stormshield product logs:
* For [Network Security](https://www.stormshield.com/products-services/products/network-security/) logs:

```bash
find . -maxdepth 1 -name 'sns-*.template.json' -execdir bash -c 'file=${0#./}; curl --user elastic:changeme -XPUT http://<your-elasticsearch-server>:9200/_template/${file%.template.json} -H "Content-Type: application/json" -d @${file}' {} \;
find . -maxdepth 1 -name 'sns-*.template.json' -execdir bash -c 'file=${0#./}; curl --user elastic:changeme -XPUT http://<your-elasticsearch-server>:9200/_template/${file%.template.json}?include_type_name=true -H "Content-Type: application/json" -d @${file}' {} \;
```

* For [Data For Cloud Mobility](https://www.stormshield.com/products/cloud-and-mobility/) logs:

```bash
find . -maxdepth 1 -name 'sdmc-*.template.json' -execdir bash -c 'file=${0#./}; curl --user elastic:changeme -XPUT http://<your-elasticsearch-server>:9200/_template/${file%.template.json} -H "Content-Type: application/json" -d @${file}' {} \;
find . -maxdepth 1 -name 'sdmc-*.template.json' -execdir bash -c 'file=${0#./}; curl --user elastic:changeme -XPUT http://<your-elasticsearch-server>:9200/_template/${file%.template.json}?include_type_name=true -H "Content-Type: application/json" -d @${file}' {} \;
```

* For [Data Enterprise](https://www.stormshield.com/products/enterprise) logs:

```bash
curl --user elastic:changeme -XPUT http://<your-elasticsearch-server>:9200/_template/sds -H 'Content-Type: application/json' -d @sds.template.json
curl --user elastic:changeme -XPUT http://<your-elasticsearch-server>:9200/_template/sds?include_type_name=true -H 'Content-Type: application/json' -d @sds.template.json
```

* For [Stormshield Endpoint Security](https://www.stormshield.com/products/stormshield-endpoint-security/) logs:

```bash
find . -maxdepth 1 -name 'ses-*.template.json' -execdir bash -c 'file=${0#./}; curl --user elastic:changeme -XPUT http://<your-elasticsearch-server>:9200/_template/${file%.template.json} -H "Content-Type: application/json" -d @${file}' {} \;
find . -maxdepth 1 -name 'ses-*.template.json' -execdir bash -c 'file=${0#./}; curl --user elastic:changeme -XPUT http://<your-elasticsearch-server>:9200/_template/${file%.template.json}?include_type_name=true -H "Content-Type: application/json" -d @${file}' {} \;
```

0 comments on commit 975942f

Please sign in to comment.