Skip to content

Commit

Permalink
Update quickstart_guide.md (#569)
Browse files Browse the repository at this point in the history
Testing rendering of code blocks quickstartguide
  • Loading branch information
nandinivij authored and GitHub committed Jul 21, 2020
1 parent 736d679 commit b7690b8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/gettingstarted/quickstart_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,31 +53,31 @@

* Install podman or docker

```
```bash
sudo yum -y install podman
or
sudo yum install docker-engine -y
```

* Create a local volume that will contain the disk buffer files and other SC4S state files

```
```bash
sudo podman volume create splunk-sc4s-var
or
sudo docker volume create splunk-sc4s-var
```

* Create directories used as a mount point for local overrides and configurations

```
```bash
mkdir /opt/sc4s/local
mkdir /opt/sc4s/archive
mkdir /opt/sc4s/tls
```

* Create the environment file `/opt/sc4s/env_file` and replace the HEC_URL and HEC_TOKEN as appropriate

```
```dotenv
SPLUNK_HEC_URL=<HEC_URL>
SPLUNK_HEC_TOKEN=<HEC_TOKEN>
#Uncomment the following line if using untrusted SSL certificates
Expand All @@ -86,15 +86,15 @@

* Configure SC4S for systemd and start SC4S

```
```bash
sudo systemctl daemon-reload
sudo systemctl enable sc4s
sudo systemctl start sc4s
```

* Check podman/docker logs for errors

```
```bash
sudo podman logs SC4S
or
sudo docker logs SC4S
Expand All @@ -108,6 +108,6 @@

* Send sample data to default udp port 514 of SC4S host

```
```bash
echo “Hello SC4S” > /dev/udp/<SC4S_ip>/514
```

0 comments on commit b7690b8

Please sign in to comment.