Skip to content

Commit

Permalink
demo experience
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Faircloth committed Jul 1, 2019
1 parent 0c9b9f9 commit ed42457
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 2 deletions.
42 changes: 41 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,42 @@
# splunk-connect-for-syslog
Splunk Connect for Syslog

Splunk Connect for Syslog is an open source packaged solution for
getting data into Splunk using syslog-ng (OSE) and the Splunk
HTTP event Collector.

# Use the demo

The Splunk Connect for syslog demo uses docker and docker compose
to configure a instance of Splunk along with syslog-ng and a test
harness to simulate a mix of events. Ensure git, docker and docker-compose
are pre-installed and working prior to continuing.


- Clone the repository and cd into directory

```bash
git clone git@github.com:splunk/splunk-connect-for-syslog.git
cd splunk-connect-for-syslog
```

- Create a working .env file * Note for demo purposes this file does not need to be modified

```bash
cp .env.template .env
```

- Start the demo environment

```bash
./demo-with-compose.sh
```

- Login to splunk by browsing to http://127.0.0.1:8000 user name admin password "Changed@11"

- Search the main index to see indexed events

```spl
index = main
```


17 changes: 17 additions & 0 deletions demo-with-compose.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env bash

mkdir test-results
docker volume create sc4s-tests

docker container create --name dummy \
-v sc4s-tests:/work/tests \
registry.access.redhat.com/ubi7/ubi
docker cp tests/ dummy:/work/tests/
docker rm dummy

docker-compose pull
docker-compose up

EXIT=$0


2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
- SPLUNK_PASSWORD

sc4s:
# image: rfaircloth/scs:latest
image: rfaircloth/scs:latest
build:
context: ./package
args:
Expand Down

0 comments on commit ed42457

Please sign in to comment.