Hello,
I am following the python SDK examples to pull data from a job. Here is my search code:
...
searchquery_normal = "search block | head 20"
job = service.jobs.create(searchquery_normal)
...
for result in results.ResultsReader(job.results()):
print result["_raw"]
When I get the results back I am only getting a portion of the text in the raw field. In the GUI I get the full log text, in the SDK the text truncates after the work "block". Is this normal Splunk behavior? How do I get the full line of text?
Nevermind,
I found the answer here:
http://answers.splunk.com/answers/79993/python-sdk-_raw-value-part-missing