splunk-sdk-python icon indicating copy to clipboard operation
splunk-sdk-python copied to clipboard

examplename.py is not present in the repository

Open amaljose01 opened this issue 6 years ago • 6 comments

examplename.py file is not present in the git repo based on the below documentation

Run the examples Examples are located in the /splunk-sdk-python/examples directory. To run the examples at the command line, use the Python interpreter and include any arguments that are required by the example:

python examplename.py --username="admin" --password="changeme" If you saved your login credentials in the .splunkrc file, you can omit those arguments:

python examplename.py To get help for an example, use the --help argument with an example:

python examplename.py --help

amaljose01 avatar Oct 18 '20 10:10 amaljose01

Which specific example were you trying to run?

tdhellmann avatar Oct 19 '20 23:10 tdhellmann

I am not running anything specifically, the file examplename.py is not found in the repo provided as per the documentation

amaljose01 avatar Oct 21 '20 07:10 amaljose01

i think its implied that you replace examplename.py with the name of the example you'd like to run. Perhaps this can be made more explicit in the documentation.

ahvigil avatar Oct 23 '20 19:10 ahvigil

Right, there's not a specific example named "examplename.py", you have to replace "examplename" with the specific example in that directory that you want to run.

tdhellmann avatar Oct 23 '20 22:10 tdhellmann

Thanks @tdhellmann and @ahvigil , will do the same, it would be better if we could add an extra line in the documentation for the people trying out this for the first time

amaljose01 avatar Oct 24 '20 07:10 amaljose01

Thanks for the feedback. Readme has been updated. Closing this issue.

ncanumalla-splunk avatar Sep 27 '21 22:09 ncanumalla-splunk