You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Brett Woodruff
28c8d411ad
|
5 months ago | |
---|---|---|
.. | ||
splunk_instrumentation | 5 months ago | |
README.md | 5 months ago | |
instrumentation.py | 5 months ago | |
makejson.py | 5 months ago | |
on_splunk_start.py | 5 months ago | |
output_telemetry.py | 5 months ago | |
schedule_delete.py | 5 months ago | |
set_deployment_id.py | 5 months ago |
README.md
app/bin/
This is where you put any scripts you want to add to this app.
This is also the only directory from the app that splunk puts on the python module lookup path, so any supporting libraries should live here as well.
instrumentation.py
this is the main entry point to run the instrumentation script. this is called from the mod input with a token for splunkd. But you can run directly with env INST_MODE=DEV and it will use the splunkrc.json for creds
INST_MODE=DEV python instrumentation.py