Comments (7)
This is True. We don't have the standalone hec support now. This can be an easy fix.
from docker-splunk.
Just had another request for this feature through email, we'll get it added.
from docker-splunk.
My defaults/defaults.yaml
---
retry_num: 50
splunk:
app_paths:
default: /opt/splunk/etc/apps
httpinput: /opt/splunk/etc/apps/splunk_httpinput
idxc: /opt/splunk/etc/master-apps
shc: /opt/splunk/etc/shcluster/apps
exec: /opt/splunk/bin/splunk
group: splunk
hec_disabled: 0
hec_enableSSL: 1
hec_port: 8088
hec_token: 9705367d-c294-4c84-b683-327279a23a19
home: /opt/splunk
http_port: 8000
idxc:
enable: false
label: idxc_label
replication_factor: 3
replication_port: 4001
search_factor: 3
secret: lcC+1uges+rIrlEIGDDd0MidOC7MvytL
opt: /opt
password: Pc4D4CC4L58S5kQ8tH0MMnpwFjIdP1i/
pid: /opt/splunk/var/run/splunk/splunkd.pid
s2s_port: 9997
shc:
enable: false
label: shc_label
replication_factor: 3
replication_port: 4001
secret: mwV+hNdrayEA3dYiyZOfZsFGjV2Acnwx
svc_port: 8089
user: splunk
And docker-compose.yml
version: "3.7"
services:
splunk:
environment:
- SPLUNK_ENABLE_LISTEN=9997
- SPLUNK_START_ARGS=--accept-license --no-prompt --answer-yes
- SPLUNK_USERNAME=admin
- SPLUNK_PASSWORD=password
- SPLUNK_HEC_TOKEN=57969BB7-DFE9-47A3-8EA3-4A566027487C
hostname: splunk
image: splunk/splunk:7.2.0
ports:
- "10000:8000"
- "9088:8088"
- "10997:9997"
restart: always
volumes:
- ./defaults:/tmp/defaults
from docker-splunk.
This was fixed as part of this PR: splunk/splunk-ansible#9. It should be available when we push a new image. Going to close this for now.
from docker-splunk.
@nwang92 Fixed this in the splunk-ansible branch -- https://github.com/splunk/splunk-ansible/blob/master/roles/splunk_standalone/tasks/main.yml. Just verified that his fix works for this issue. Although I did it through the /tmp/defaults/default.yml folder and not through the args passed in on the docker-compose file.
from docker-splunk.
@nwang92 - waiting on this feature too - when will it be released?
from docker-splunk.
see #44
from docker-splunk.
Related Issues (20)
- Failed to install the app 'Splunk add on for linux'
- Splunk 9.1.3 has a regression on the `SPLUNKD_SSL_ENABLE` variable HOT 3
- create-default does not work because the six module is not found. HOT 1
- Clients can't connect to splunk ds 9.2 and 9.2.0.1 HOT 1
- Index creation using default.yml is no longer working in splunk images > 9.0.7.
- libcrypto.so error on initial password hashing HOT 10
- Splunk 9.1.3 Startup Errors HOT 1
- Please include eu-stack utility into the docker image to allow performance troubleshooting within an indexer cluster
- Can't start latest/9.0.9 version HOT 2
- Python 3.7 EOL
- Launching a Forwarder licensed heavy container fails in 9.0.9, 9.1.4, and 9.2.1
- Can't download files from github inside of docker container
- Best Practices for Docker files
- UF Crashes on Container Restart (9.2 and 9.1) HOT 1
- 9.2.1 as splunk_deployment_server doesn't start HOT 2
- 9.2.1/9.1.4 hec token not created when providing env var SPLUNK_HEC_TOKEN HOT 2
- Add support for Java 17
- Installing JDK 11 inside Splunk container
- Splunk UF - Warning: Attempting to revert the SPLUNK_HOME ownership causes troubles with Ansible play
- Splunkbase app not installed when using SPLUNK_APPS_URL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-splunk.