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.
Splunk User c9aed50649
Add app and local
3 years ago
..
splunk_instrumentation Add app and local 3 years ago
README.md Add app and local 3 years ago
instrumentation.py Add app and local 3 years ago
makejson.py Add app and local 3 years ago
on_splunk_start.py Add app and local 3 years ago
output_telemetry.py Add app and local 3 years ago
schedule_delete.py Add app and local 3 years ago
set_deployment_id.py Add app and local 3 years 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