<?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: CLI Search - Export JSON File? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/CLI-Search-Export-JSON-File/m-p/613228#M213115</link>
    <description>&lt;P&gt;New to splunk and bringing this back up - how does one do this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;For context, I have a splunk container running on docker, and was hoping to translate the splunk index data into json using a cli search and saving the output as a local file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 15 Sep 2022 13:38:12 GMT</pubDate>
    <dc:creator>zsbbb</dc:creator>
    <dc:date>2022-09-15T13:38:12Z</dc:date>
    <item>
      <title>CLI Search - Export JSON File?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/CLI-Search-Export-JSON-File/m-p/87802#M182171</link>
      <description>&lt;P&gt;Can I run a CLI search that will output the results to a file in json format?&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Joe&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2011 20:01:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/CLI-Search-Export-JSON-File/m-p/87802#M182171</guid>
      <dc:creator>cramasta</dc:creator>
      <dc:date>2011-10-06T20:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: CLI Search - Export JSON File?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/CLI-Search-Export-JSON-File/m-p/87803#M182172</link>
      <description>&lt;P&gt;Coming soon to a Splunk version near you, watch the release notes...&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2012 03:43:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/CLI-Search-Export-JSON-File/m-p/87803#M182172</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2012-04-19T03:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: CLI Search - Export JSON File?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/CLI-Search-Export-JSON-File/m-p/613228#M213115</link>
      <description>&lt;P&gt;New to splunk and bringing this back up - how does one do this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;For context, I have a splunk container running on docker, and was hoping to translate the splunk index data into json using a cli search and saving the output as a local file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 13:38:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/CLI-Search-Export-JSON-File/m-p/613228#M213115</guid>
      <dc:creator>zsbbb</dc:creator>
      <dc:date>2022-09-15T13:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: CLI Search - Export JSON File?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/CLI-Search-Export-JSON-File/m-p/613338#M213158</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249505"&gt;@zsbbb&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can export any search output as json using below sample;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k -u admin:changeme https://localhost:8089/services/search/jobs/export -d search="search sourcetype=access_* earliest=-7d" -d output_mode=json -o /path/to/local/file.json&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 16 Sep 2022 05:27:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/CLI-Search-Export-JSON-File/m-p/613338#M213158</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2022-09-16T05:27:13Z</dc:date>
    </item>
  </channel>
</rss>

