Skip to content

Commit

Permalink
improve readme (#1714)
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 authored Mar 7, 2024
1 parent cc43d5c commit 752a30d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/howto/sample_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ELASTIC_PACKAGE_ELASTICSEARCH_HOST=http://localhost:9200
ELASTIC_PACKAGE_ELASTICSEARCH_USERNAME=elastic
ELASTIC_PACKAGE_ELASTICSEARCH_PASSWORD=changeme
ELASTIC_PACKAGE_KIBANA_HOST=http://localhost:5601
#ELASTIC_PACKAGE_CA_CERT
ELASTIC_PACKAGE_CA_CERT=
```

The same can be use to connect to your Elastic Cloud cluster. Unfortunately elastic-package currently does not support an API key to be used.
Expand Down Expand Up @@ -55,11 +55,11 @@ elastic-package benchmark stream -v
When running Kibana from source with `--no-base-path`, you can run the following command:

```
ELASTIC_PACKAGE_ELASTICSEARCH_HOST=http://localhost:9200 ELASTIC_PACKAGE_ELASTICSEARCH_USERNAME=elastic ELASTIC_PACKAGE_ELASTICSEARCH_PASSWORD=changeme ELASTIC_PACKAGE_KIBANA_HOST=http://localhost:5601 elastic-package benchmark stream -v
ELASTIC_PACKAGE_ELASTICSEARCH_HOST=http://localhost:9200 ELASTIC_PACKAGE_ELASTICSEARCH_USERNAME=elastic ELASTIC_PACKAGE_ELASTICSEARCH_PASSWORD=changeme ELASTIC_PACKAGE_KIBANA_HOST=http://localhost:5601 ELASTIC_PACKAGE_CA_CERT= elastic-package benchmark stream -v
```


The above command will backfill the last 15 minutes in your Elastic Stack with nginx metrics and logs and install the nginx integration. You can go to [https://localhost:5601/app/observability-log-explorer/](https://localhost:5601/app/observability-log-explorer/) and filter down on `Nginx -> Error Logs` to see the error logs that are ingested.
The above command will backfill the last 15 minutes in your Elastic Stack with nginx metrics and logs and install the nginx integration. You can go to [http://localhost:5601/app/observability-log-explorer/](http://localhost:5601/app/observability-log-explorer/) and filter down on `Nginx -> Error Logs` to see the error logs that are ingested.



Expand Down

0 comments on commit 752a30d

Please sign in to comment.