<?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 Why does Splunk Export to JSON give only strings? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-Export-to-JSON-give-only-strings/m-p/426050#M74666</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;When we try to export a stats table to JSON, the integer values are also represented as string in the JSON.&lt;/P&gt;

&lt;P&gt;Example:&lt;/P&gt;

&lt;P&gt;My query returns the below Json&lt;/P&gt;

&lt;P&gt;{"preview":false,"result":{"URL":"/?-","SL":"0","cs_method":"GET","Average":"6.67","p90(time_taken)":"31","URLCount":"66"}}&lt;/P&gt;

&lt;P&gt;The URLCount,p90(time_taken),Average and SL should be in Int&lt;/P&gt;

&lt;P&gt;Expected Json&lt;/P&gt;

&lt;P&gt;{"preview":false,"result":{"URL":"/?-","Swimlane":0,"cs_method":"GET","Average":6.67,"p90(time_taken)":31,"URLCount":66}}&lt;/P&gt;

&lt;P&gt;can someone please let me know how can we achieve this?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 21:01:43 GMT</pubDate>
    <dc:creator>edwintom</dc:creator>
    <dc:date>2020-09-29T21:01:43Z</dc:date>
    <item>
      <title>Why does Splunk Export to JSON give only strings?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-Export-to-JSON-give-only-strings/m-p/426050#M74666</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;When we try to export a stats table to JSON, the integer values are also represented as string in the JSON.&lt;/P&gt;

&lt;P&gt;Example:&lt;/P&gt;

&lt;P&gt;My query returns the below Json&lt;/P&gt;

&lt;P&gt;{"preview":false,"result":{"URL":"/?-","SL":"0","cs_method":"GET","Average":"6.67","p90(time_taken)":"31","URLCount":"66"}}&lt;/P&gt;

&lt;P&gt;The URLCount,p90(time_taken),Average and SL should be in Int&lt;/P&gt;

&lt;P&gt;Expected Json&lt;/P&gt;

&lt;P&gt;{"preview":false,"result":{"URL":"/?-","Swimlane":0,"cs_method":"GET","Average":6.67,"p90(time_taken)":31,"URLCount":66}}&lt;/P&gt;

&lt;P&gt;can someone please let me know how can we achieve this?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:01:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-Export-to-JSON-give-only-strings/m-p/426050#M74666</guid>
      <dc:creator>edwintom</dc:creator>
      <dc:date>2020-09-29T21:01:43Z</dc:date>
    </item>
  </channel>
</rss>

