Closed RaeldZues closed 1 year ago
Hi @RaeldZues, this is a Splunk limitation. Recursion depth cannot exceed 7. I will look in to converting the app to use iterative method instead of recursion.
Branch pstree_v2 created with an iterative method for this app. You can install the tgz file on an instance of Splunk and run the search using pstree_v2
instead of pstree
. The recursive method can still be called with pstree
for comparison.
@RaeldZues let me know if the iterative method of PSTree mentioned above solves your issue
Pstree 2.0 has been vetted and approved by Splunk for On-Prem and Cloud deployments. By default, it uses an iterative method and should not cause recursion error.
pstree.py - recursion depth exceeded while calling a python object. Line 85. Assumption that this would be limited in a small scale specific search.