Clarify usage of netcat commands

Closes #452
This commit is contained in:
Antoine Cotten 2019-12-05 18:45:37 +01:00
parent 7591ea2f19
commit 8f55c5a9d8
No known key found for this signature in database
GPG Key ID: 94637E68D4A79DD0
1 changed files with 8 additions and 1 deletions

View File

@ -181,8 +181,15 @@ Give Kibana about a minute to initialize, then access the Kibana web UI by hitti
Now that the stack is running, you can go ahead and inject some log entries. The shipped Logstash configuration allows Now that the stack is running, you can go ahead and inject some log entries. The shipped Logstash configuration allows
you to send content via TCP: you to send content via TCP:
```console ```console
$ nc localhost 5000 < /path/to/logfile.log # Using BSD netcat (Debian, Ubuntu, MacOS system, ...)
$ cat /path/to/logfile.log | nc -q0 localhost 5000
```
```console
# Using GNU netcat (CentOS, Fedora, MacOS Homebrew, ...)
$ cat /path/to/logfile.log | nc -c localhost 5000
``` ```
You can also load the sample data provided by your Kibana installation. You can also load the sample data provided by your Kibana installation.