<?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: Logs compression in Splunk HEC spring boot in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Logs-compression-in-Splunk-HEC-spring-boot/m-p/690803#M114923</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/269046"&gt;@priyanka2887&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;At which layer? TLS? HTTP? Splunk?&lt;/P&gt;&lt;P&gt;TLS compression is largely deprecated, vulnerable to well-known attacks, and not (as far as I know) available in core JDK implementations of TLS 1.2+.&lt;/P&gt;&lt;P&gt;HttpEventCollectorLogbackAppender's underlying HTTP implementation, OkHttp, should compress any payload over 1024 bytes by default. See&amp;nbsp;&lt;A href="https://github.com/square/okhttp/blob/master/okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt" target="_blank"&gt;https://github.com/square/okhttp/blob/master/okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;HttpEventCollectorLogbackAppender doesn't expose a method or property to modify the threshold. See&amp;nbsp;&lt;A href="https://github.com/splunk/splunk-library-javalogging/blob/main/src/main/java/com/splunk/logging/HttpEventCollectorLogbackAppender.java" target="_blank"&gt;https://github.com/splunk/splunk-library-javalogging/blob/main/src/main/java/com/splunk/logging/HttpEventCollectorLogbackAppender.java&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://github.com/splunk/splunk-library-javalogging/blob/main/src/main/java/com/splunk/logging/HttpEventCollectorSender.java" target="_blank"&gt;https://github.com/splunk/splunk-library-javalogging/blob/main/src/main/java/com/splunk/logging/HttpEventCollectorSender.java&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;If you want to add support for modifying the compression threshold, see the Contributing section at&amp;nbsp;&lt;A href="https://github.com/splunk/splunk-library-javalogging/blob/main/README.md" target="_blank"&gt;https://github.com/splunk/splunk-library-javalogging/blob/main/README.md&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Raw data is always compressed in Splunk, although the algorithm is configurable. See the&amp;nbsp;journalCompression setting in&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Indexesconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Indexesconf&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 15 Jun 2024 14:29:10 GMT</pubDate>
    <dc:creator>tscroggins</dc:creator>
    <dc:date>2024-06-15T14:29:10Z</dc:date>
    <item>
      <title>Logs compression in Splunk HEC spring boot</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Logs-compression-in-Splunk-HEC-spring-boot/m-p/690734#M114921</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Can we compress the logs using Splunk HEC&amp;nbsp;HttpEventCollectorLogbackAppender? Please guide here, how to compress the logs using splunk hec configuration in logback.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 14:04:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Logs-compression-in-Splunk-HEC-spring-boot/m-p/690734#M114921</guid>
      <dc:creator>priyanka2887</dc:creator>
      <dc:date>2024-06-14T14:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Logs compression in Splunk HEC spring boot</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Logs-compression-in-Splunk-HEC-spring-boot/m-p/690803#M114923</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/269046"&gt;@priyanka2887&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;At which layer? TLS? HTTP? Splunk?&lt;/P&gt;&lt;P&gt;TLS compression is largely deprecated, vulnerable to well-known attacks, and not (as far as I know) available in core JDK implementations of TLS 1.2+.&lt;/P&gt;&lt;P&gt;HttpEventCollectorLogbackAppender's underlying HTTP implementation, OkHttp, should compress any payload over 1024 bytes by default. See&amp;nbsp;&lt;A href="https://github.com/square/okhttp/blob/master/okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt" target="_blank"&gt;https://github.com/square/okhttp/blob/master/okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;HttpEventCollectorLogbackAppender doesn't expose a method or property to modify the threshold. See&amp;nbsp;&lt;A href="https://github.com/splunk/splunk-library-javalogging/blob/main/src/main/java/com/splunk/logging/HttpEventCollectorLogbackAppender.java" target="_blank"&gt;https://github.com/splunk/splunk-library-javalogging/blob/main/src/main/java/com/splunk/logging/HttpEventCollectorLogbackAppender.java&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://github.com/splunk/splunk-library-javalogging/blob/main/src/main/java/com/splunk/logging/HttpEventCollectorSender.java" target="_blank"&gt;https://github.com/splunk/splunk-library-javalogging/blob/main/src/main/java/com/splunk/logging/HttpEventCollectorSender.java&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;If you want to add support for modifying the compression threshold, see the Contributing section at&amp;nbsp;&lt;A href="https://github.com/splunk/splunk-library-javalogging/blob/main/README.md" target="_blank"&gt;https://github.com/splunk/splunk-library-javalogging/blob/main/README.md&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Raw data is always compressed in Splunk, although the algorithm is configurable. See the&amp;nbsp;journalCompression setting in&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Indexesconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Indexesconf&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jun 2024 14:29:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Logs-compression-in-Splunk-HEC-spring-boot/m-p/690803#M114923</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2024-06-15T14:29:10Z</dc:date>
    </item>
  </channel>
</rss>

