Skip to content

Commit

Permalink
docs(readme): update elastic version
Browse files Browse the repository at this point in the history
  • Loading branch information
FantasticFiasco committed Apr 14, 2024
1 parent 20c49e7 commit f07e44c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ If this is the first time the stack is started, you'll have to create a Logstash
```posh
PS> $Headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
PS> $Headers.Add("Content-Type", "application/json")
PS> $Headers.Add("kbn-version", "7.17.0")
PS> $Headers.Add("kbn-version", "8.18.8")
PS> $Auth = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes("elastic:changeme"))
PS> $Headers.Add("Authorization", "Basic {0}" -f $Auth)
PS> Invoke-RestMethod "http://localhost:5601/api/saved_objects/index-pattern" `
Expand Down Expand Up @@ -81,7 +81,7 @@ If this is the first time the stack is started, you'll have to create a Logstash
```bash
$ curl -XPOST -D- 'http://localhost:5601/api/saved_objects/index-pattern' \
-H 'Content-Type: application/json' \
-H 'kbn-version: 7.17.0' \
-H 'kbn-version: 8.18.8' \
-u elastic:changeme \
-d '{"attributes":{"title":"logstash-*","timeFieldName":"@timestamp"}}'
```
Expand Down

0 comments on commit f07e44c

Please sign in to comment.