Hi Frank, I just found a quick-fix with inline-code enhancements in file but appreciate it using a configfile as mentioned. /opt/splunk/etc/apps/TA_oui-lookup/bin/get-oui-table.py proxy_host = 'localhost:1234' # host and port of your proxy OUI_URL = "https://standards-oui.ieee.org" req = urllib.request.Request(OUI_URL) req.set_proxy(proxy_host, 'http') req.add_header("User-agent", USER_AGENT) Enjoy your vacation! Lothar from Germany
... View more
Thanks for your feedback. Why does AoB then only provide seconds for the interval option and errors when trying to configure cron-formatted string? Anybody able to put some light on this? Lothar
... View more
Thanks for your hints; actually we do not use python-scripts (only Rest-Call). As the Rest-API itself provides ability to define timerange to report on we simple need a defined schedule to perform the call. Interval in seconds is not that best vehicle as by restarting splunk count starts at timepoint of restart. To undstand you correct, cron-timing is not available/possible with AoB? Or can I simply edit inputs.conf? Lothar
... View more
Hi all, I'm trying to create a new input for our created RestAPI-Call. As this call should only be executed once in a month (ticket-data) I struggle with the only available Interval-Option which is seconds and not crontab-format. I further discovered that when setting interval in seconds having splunk restarted the counter of seconds starts from that point in time somehow that messes with a predicted input interval. Question: Is it possible to use cron-entry in underlaying input.conf file in created AoB-App? Thanks for any feedback Lothar
... View more