-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ryan Faircloth
committed
Jul 1, 2019
1 parent
0c9b9f9
commit ed42457
Showing
3 changed files
with
59 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
| ``` | ||
|
|
||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
|
|
||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters