Module Expr Str ImportFrom alias Import alias alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Import alias Import alias identifier Import alias identifier TryExcept body Import alias handlers ExceptHandler type NameLoad body Raise Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Num While NameLoad body Assign NameStore Call NameLoad If CompareLtE NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Continue Assign NameStore Call NameLoad BinOpAdd NameLoad Num For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad Assign NameStore NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Dict Str keyword NameLoad If CompareNotEq Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Str keyword Str keyword Str While NameLoad body Expr Call AttributeLoad NameLoad attr If CompareNotIn SubscriptLoad NameLoad Index Str ListLoad Str Str body Break Expr Call AttributeLoad NameLoad attr Num If CompareIsNot SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore Lambda arguments args defaults Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr orelse Assign NameStore Lambda arguments args defaults Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr keyword NameLoad TryFinally body TryExcept body Expr Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Print Str finalbody Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A Follows (aka tails) a realtime search using the job endpoints and prints
   results to stdout. pprint pprint N/A sys os N/A N/A N/A N/A sys path insert 0 N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ .. N/A time N/A splunklib.client client N/A splunklib.results results N/A N/A N/A utils N/A N/A N/A ImportError N/A N/A N/A Exception Add the SDK repository to your PYTHONPATH to run the examples (e.g., export PYTHONPATH=~/splunk-sdk-python. follow N/A N/A job count items N/A N/A N/A offset 0 N/A True N/A N/A total N/A count N/A N/A total offset N/A N/A N/A N/A time sleep 1 N/A N/A N/A job refresh N/A N/A stream N/A items N/A offset 1 N/A event N/A N/A results ResultsReader stream N/A N/A N/A pprint event N/A offset total N/A main N/A N/A N/A N/A N/A usage usage: follow.py <search> N/A opts N/A N/A utils parse N/A N/A sys argv N/A 1 N/A .splunkrc usage usage N/A N/A N/A len N/A opts args 1 N/A N/A N/A N/A utils error Search expression required 2 N/A search N/A N/A opts args N/A 0 N/A service N/A N/A client connect N/A opts kwargs N/A job N/A N/A N/A service jobs create search earliest_time rt latest_time rt search_mode realtime N/A True N/A N/A N/A N/A job refresh N/A N/A N/A job N/A dispatchState N/A QUEUED PARSING N/A N/A N/A N/A N/A time sleep 2 N/A N/A N/A job N/A reportSearch None N/A N/A count N/A N/A N/A N/A N/A int N/A job N/A numPreviews N/A items N/A N/A N/A _ N/A N/A N/A job preview N/A N/A count N/A N/A N/A N/A N/A int N/A job N/A eventCount N/A items N/A N/A N/A offset N/A N/A N/A job events offset offset N/A N/A N/A N/A N/A N/A follow job count items N/A N/A N/A KeyboardInterrupt N/A N/A 
Interrupted. N/A N/A N/A N/A job cancel N/A N/A N/A __name__ __main__ N/A N/A N/A main