<?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: How to send indexed logs from Splunk to third party in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-indexed-logs-from-Splunk-to-third-party/m-p/393574#M95154</link>
    <description>&lt;P&gt;Thanks @wyfwa4 , but can you please let me know the data will be in raw format, and how to read the data as it was already compressed by Splunk.&lt;/P&gt;</description>
    <pubDate>Fri, 31 May 2019 01:53:09 GMT</pubDate>
    <dc:creator>ayushchoudhary</dc:creator>
    <dc:date>2019-05-31T01:53:09Z</dc:date>
    <item>
      <title>How to send indexed logs from Splunk to third party</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-indexed-logs-from-Splunk-to-third-party/m-p/393572#M95152</link>
      <description>&lt;P&gt;Is it possible to have old archived (indexed) logs from Splunk to send to &lt;BR /&gt;
any other third party solution ensuring that the log keeps their original raw format and timestamps?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 10:10:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-indexed-logs-from-Splunk-to-third-party/m-p/393572#M95152</guid>
      <dc:creator>ayushchoudhary</dc:creator>
      <dc:date>2019-05-29T10:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to send indexed logs from Splunk to third party</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-indexed-logs-from-Splunk-to-third-party/m-p/393573#M95153</link>
      <description>&lt;P&gt;Assuming you mean that you want to send the data before it is deleted from Splunk - then the answer is yes. See this link. Please note that the sending to the third party is not managed by Splunk you will need to manage that part yourself. &lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Indexer/Automatearchiving"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Indexer/Automatearchiving&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;if you set-up a frozen path for an index, then Splunk will write the data to that path before removing/deleting from the index. You can then use another tool to send the data. For example you could set-up syslog to write the contents of the frozen folder to a third party system. Another option is to define a frozen script which will run when data is being deleted - which would allow a more complex data processing function to be implemented. &lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 15:05:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-indexed-logs-from-Splunk-to-third-party/m-p/393573#M95153</guid>
      <dc:creator>wyfwa4</dc:creator>
      <dc:date>2019-05-29T15:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to send indexed logs from Splunk to third party</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-indexed-logs-from-Splunk-to-third-party/m-p/393574#M95154</link>
      <description>&lt;P&gt;Thanks @wyfwa4 , but can you please let me know the data will be in raw format, and how to read the data as it was already compressed by Splunk.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 01:53:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-indexed-logs-from-Splunk-to-third-party/m-p/393574#M95154</guid>
      <dc:creator>ayushchoudhary</dc:creator>
      <dc:date>2019-05-31T01:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to send indexed logs from Splunk to third party</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-indexed-logs-from-Splunk-to-third-party/m-p/393575#M95155</link>
      <description>&lt;P&gt;There are two options for the frozen data - either writing the Splunk formatted buckets to disk (coldToFrozenDir) or run a script (coldToFrozenScript), both are configured on the index, in the indexes.conf file see - &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Indexesconf"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Indexesconf&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;The coldToFrozenScript will run any defined script before the data is deleted - so it depends on what your script does to determine whether the raw data is in its original form or not. There is a sample script provided ($SPLUNK_HOME/bin/coldToFrozenExample.py) which can be modified for your requirements. The script contains a sample function called "handleOldFlatfileExport". This is not run unless you modify the code to use this function. There are also some articles about using this script - &lt;A href="https://answers.splunk.com/answers/338594/does-anyone-have-a-working-example-of-coldtofrozen.html"&gt;https://answers.splunk.com/answers/338594/does-anyone-have-a-working-example-of-coldtofrozen.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You would need to modify the script and test to see if you can get it working with your data. I would set-up a test index and set the "frozenTimePeriodInSecs" to a low number and then use a test file to import data into that index. You can then test the script in a short timeframe&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 13:08:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-indexed-logs-from-Splunk-to-third-party/m-p/393575#M95155</guid>
      <dc:creator>wyfwa4</dc:creator>
      <dc:date>2019-05-31T13:08:31Z</dc:date>
    </item>
  </channel>
</rss>

