Fix Get Mappings example (#5670)

* Update mappings-api.md

Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>

* Update mappings-api.md

Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>

---------

Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
This commit is contained in:
Naarcha-AWS 2023-11-30 12:33:42 -06:00 committed by GitHub
parent 603da74e79
commit b94f704b73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -109,10 +109,16 @@ POST /_plugins/_security_analytics/mappings
---
## Get Mappings
### Path options
Field | Type | Description
:--- | :--- |:---
`index_name` | String | The name of the index used for log ingestion. Required.
#### Example request
```json
GET /_plugins/_security_analytics/mappings
GET /_plugins/_security_analytics/mappings?index_name=windows
```
#### Example response