<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Truncated _raw field with Python SDK in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Truncated-raw-field-with-Python-SDK/m-p/45300#M562</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am following the python SDK examples to pull data from a job. Here is my search code:&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
...&lt;BR /&gt;
searchquery_normal = "search block | head 20"&lt;BR /&gt;
job = service.jobs.create(searchquery_normal)&lt;BR /&gt;
...&lt;BR /&gt;
for result in results.ResultsReader(job.results()):&lt;BR /&gt;
    print result["_raw"]&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;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?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 14:38:38 GMT</pubDate>
    <dc:creator>bradp123</dc:creator>
    <dc:date>2020-09-28T14:38:38Z</dc:date>
    <item>
      <title>Truncated _raw field with Python SDK</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Truncated-raw-field-with-Python-SDK/m-p/45300#M562</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am following the python SDK examples to pull data from a job. Here is my search code:&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
...&lt;BR /&gt;
searchquery_normal = "search block | head 20"&lt;BR /&gt;
job = service.jobs.create(searchquery_normal)&lt;BR /&gt;
...&lt;BR /&gt;
for result in results.ResultsReader(job.results()):&lt;BR /&gt;
    print result["_raw"]&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;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?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:38:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Truncated-raw-field-with-Python-SDK/m-p/45300#M562</guid>
      <dc:creator>bradp123</dc:creator>
      <dc:date>2020-09-28T14:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Truncated _raw field with Python SDK</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Truncated-raw-field-with-Python-SDK/m-p/45301#M563</link>
      <description>&lt;P&gt;Nevermind,&lt;/P&gt;

&lt;P&gt;I found the answer here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/79993/python-sdk-_raw-value-part-missing"&gt;http://answers.splunk.com/answers/79993/python-sdk-_raw-value-part-missing&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2013 02:11:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Truncated-raw-field-with-Python-SDK/m-p/45301#M563</guid>
      <dc:creator>bradp123</dc:creator>
      <dc:date>2013-08-25T02:11:25Z</dc:date>
    </item>
  </channel>
</rss>

