<?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 Re: python script return json, and show a table in search. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/python-script-return-json-and-show-a-table-in-search/m-p/420183#M74003</link>
    <description>&lt;P&gt;Ideally splunk likes 100% true JSON which means NO SPACES.  So make sure that your script does NOT output &lt;CODE&gt;pretty&lt;/CODE&gt; JSON but &lt;CODE&gt;true&lt;/CODE&gt; or &lt;CODE&gt;compact&lt;/CODE&gt; JSON and Splunk should like it just fine.  When Splunk presents it to you in search, it will &lt;CODE&gt;pretty&lt;/CODE&gt; it for you then.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2019 17:34:34 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2019-08-01T17:34:34Z</dc:date>
    <item>
      <title>python script return json, and show a table in search.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/python-script-return-json-and-show-a-table-in-search/m-p/420182#M74002</link>
      <description>&lt;P&gt;I use python script to get json data thouth an API, and i want show them in a table in splunk search.&lt;BR /&gt;
the python script used print(json) method, and the splunk used "|script  ***" command.&lt;BR /&gt;
but the splunk search result was only a part of  json data(before ther first comma).&lt;BR /&gt;
Why? and what should i do to show all json data in a table? &lt;BR /&gt;
please help me,thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 04:05:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/python-script-return-json-and-show-a-table-in-search/m-p/420182#M74002</guid>
      <dc:creator>xuehui</dc:creator>
      <dc:date>2019-08-01T04:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: python script return json, and show a table in search.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/python-script-return-json-and-show-a-table-in-search/m-p/420183#M74003</link>
      <description>&lt;P&gt;Ideally splunk likes 100% true JSON which means NO SPACES.  So make sure that your script does NOT output &lt;CODE&gt;pretty&lt;/CODE&gt; JSON but &lt;CODE&gt;true&lt;/CODE&gt; or &lt;CODE&gt;compact&lt;/CODE&gt; JSON and Splunk should like it just fine.  When Splunk presents it to you in search, it will &lt;CODE&gt;pretty&lt;/CODE&gt; it for you then.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 17:34:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/python-script-return-json-and-show-a-table-in-search/m-p/420183#M74003</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-08-01T17:34:34Z</dc:date>
    </item>
  </channel>
</rss>

