Naturally, I named the file splunklib.py - due to fighting attempting to have splunklib module work. I probably had my path incorrect.Īnyhow, if you run into this error, the solution for me was to clone the github repo and placed my files in there. Googling this shows the solution is just to install the SDK and follow the documentation. ModuleNotFoundError: No module named 'splunklib' For my Linux enviornment this would not work. If you go to the documentation page here for installation steps, it will suggest using pip or setup.py. So how can we connect to Splunk? Installing the Python SDK You can use the Splunk Enterprise SDK for Python to perform a variety of actions in Splunk Enterprise, including searching data, developing custom UIs, and managing configurations for your instance. This also leads to the Splunk Enterprise SDK for Python
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |