I am developing a Splunk add-on, I want that it to work on Linux as well as on a Windows machine.
In inputs.conf I am providing script path
[script://./bin/myscript.py]
disabled = 0
which is working in Linux but not in Windows.
If I change script
[script://.\bin\myscript.py]
disabled = 0
then it is working in Windows but not in Linux.
Is there any way to use same path for Windows and Linux?
thanks,
yusuf
Try this:
[script://.[\\/]bin[\\/]myscript.py]
disabled = 0
did not work