Create a File object for accessing Splunk queries.
This should never be called directly. Instead, call the subclasses of this class contained in this module (CSVFiles or JSONFiles).
Parameters: |
|
---|---|
Return type: | Files |
Represents a source storing Splunk queries in CSV format.
Represents a source storing Splunk queries.
Return a generator that yields parsetrees from the current source.
Parameters: | self (File) – The current object |
---|---|
Return type: | generator |
Return a generator that yields queries from the current source.
Parameters: | self (File) – The current object |
---|---|
Return type: | generator |
Return a generator that yields sessions from the current source.
Parameters: | self (File) – The current object |
---|---|
Return type: | generator |
Return a generator that yields users from the current source.
Parameters: | self (File) – The current object |
---|---|
Return type: | generator |
Return a generator that yields users from the current source. Returns the queries along with the users.
Called by get_users in this module.
Parameters: | self (File) – The current object |
---|---|
Return type: | generator |
Return a generator that yields users from the current source. Returns the sessions and queries along with the users.
Parameters: | self (File) – The current object |
---|---|
Return type: | generator |
Label noninteractive queries as such and place them into separate list.
TODO: Move this elsewhere.
Parameters: |
|
---|---|
Return type: | generator |