adding completed prototype for slack bot
This commit is contained in:
1
splunk/.gitignore
vendored
Normal file
1
splunk/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
splunk-sdk-python/
|
||||
14
splunk/dashboardScreenshot/dashboardScreenshot.py
Executable file
14
splunk/dashboardScreenshot/dashboardScreenshot.py
Executable file
@@ -0,0 +1,14 @@
|
||||
import splunklib.searchcommands as searchcommands
|
||||
import sys
|
||||
|
||||
|
||||
class dashboardScreenshot(searchcommands.GeneratingCommand):
|
||||
"""docstring for dashboardScreenshot"""
|
||||
def __init__(self):
|
||||
print('init')
|
||||
super(dashboardScreenshot, self).__init__()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
var = dashboardScreenshot()
|
||||
print(sys.argv)
|
||||
Reference in New Issue
Block a user