<?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: Splunk Rest API response in JSON format in Other Usage</title>
    <link>https://community.splunk.com/t5/Other-Usage/Splunk-Rest-API-response-in-JSON-format/m-p/676470#M1680</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;That's working great.&lt;/P&gt;&lt;P&gt;Thank you for saving my time.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eshwar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 03 Feb 2024 10:34:40 GMT</pubDate>
    <dc:creator>Eshwar</dc:creator>
    <dc:date>2024-02-03T10:34:40Z</dc:date>
    <item>
      <title>Splunk Rest API response in JSON format</title>
      <link>https://community.splunk.com/t5/Other-Usage/Splunk-Rest-API-response-in-JSON-format/m-p/676391#M1674</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;We are in the process of sending the alerts from Splunk to another application via REST API but response of the REST API is displaying in XML format as our other application would have expect&amp;nbsp; JSON format however we tried using Postman application as well but the response is same in XML so can any one suggest&amp;nbsp; JSON response REST API to get the alert details?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eshwar&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 13:36:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Splunk-Rest-API-response-in-JSON-format/m-p/676391#M1674</guid>
      <dc:creator>Eshwar</dc:creator>
      <dc:date>2024-02-02T13:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Rest API response in JSON format</title>
      <link>https://community.splunk.com/t5/Other-Usage/Splunk-Rest-API-response-in-JSON-format/m-p/676465#M1677</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/256988"&gt;@Eshwar&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can add "output_mode=json" parameter to get json output. Please see below;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k -u admin:password https://localhost:8089/services/search/jobs/export -d search="search sourcetype=splunkd earliest=-1h" -d output_mode=json&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 09:25:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Splunk-Rest-API-response-in-JSON-format/m-p/676465#M1677</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2024-02-03T09:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Rest API response in JSON format</title>
      <link>https://community.splunk.com/t5/Other-Usage/Splunk-Rest-API-response-in-JSON-format/m-p/676468#M1678</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I tried with output_mode=json but not able to get JSON response as my REST end point is for fired alerts as below.&lt;/P&gt;&lt;P&gt;&lt;A href="https://localhost:8089/services/alerts/fired_alerts" target="_blank"&gt;https://localhost:8089/services/alerts/fired_alerts&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 10:09:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Splunk-Rest-API-response-in-JSON-format/m-p/676468#M1678</guid>
      <dc:creator>Eshwar</dc:creator>
      <dc:date>2024-02-03T10:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Rest API response in JSON format</title>
      <link>https://community.splunk.com/t5/Other-Usage/Splunk-Rest-API-response-in-JSON-format/m-p/676469#M1679</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/256988"&gt;@Eshwar&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Please try below;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k -u admin:password  "https://localhost:8089/services/alerts/fired_alerts?output_mode=json&amp;amp;count=0"&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 03 Feb 2024 10:20:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Splunk-Rest-API-response-in-JSON-format/m-p/676469#M1679</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2024-02-03T10:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Rest API response in JSON format</title>
      <link>https://community.splunk.com/t5/Other-Usage/Splunk-Rest-API-response-in-JSON-format/m-p/676470#M1680</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;That's working great.&lt;/P&gt;&lt;P&gt;Thank you for saving my time.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eshwar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 10:34:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Splunk-Rest-API-response-in-JSON-format/m-p/676470#M1680</guid>
      <dc:creator>Eshwar</dc:creator>
      <dc:date>2024-02-03T10:34:40Z</dc:date>
    </item>
  </channel>
</rss>

