<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Unable to access tls.log in Suricata after certain size]]></title><description><![CDATA[<p dir="auto">After a Suricata log grow beyond a certain size, it return error</p>
<p dir="auto"><img src="/assets/uploads/files/1632216556515-51eb12bc-0a35-4296-90d5-8b93cc271a61-image.png" alt="51eb12bc-0a35-4296-90d5-8b93cc271a61-image.png" class=" img-fluid img-markdown" />[0_1632216720856_PHP_errors.log](Uploading 100%) <a href="/assets/uploads/files/1632216778382-php_errors.log.zip">PHP_errors.log.zip</a></p>
]]></description><link>https://forum.netgate.com/topic/166685/unable-to-access-tls-log-in-suricata-after-certain-size</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 02:38:47 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/166685.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 21 Sep 2021 09:30:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to access tls.log in Suricata after certain size on Tue, 21 Sep 2021 20:54:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gertjan">@<bdi>gertjan</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/bmeeks">@<bdi>bmeeks</bdi></a> Thanks. I reduced the value to half size from default and I will grab using SFTP. cheers</p>
]]></description><link>https://forum.netgate.com/post/1002585</link><guid isPermaLink="true">https://forum.netgate.com/post/1002585</guid><dc:creator><![CDATA[jorgek]]></dc:creator><pubDate>Tue, 21 Sep 2021 20:54:24 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to access tls.log in Suricata after certain size on Tue, 21 Sep 2021 13:35:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bmeeks">@<bdi>bmeeks</bdi></a> said in <a href="/post/1002501">Unable to access tls.log in Suricata after certain size</a>:</p>
<blockquote>
<p dir="auto">some other tool</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jorgek">@<bdi>jorgek</bdi></a> : Activate the SSH access - port 22.<br />
Use an SFTP capable program like WinSCP.<br />
Use a decent text file viewer, like Notepad++</p>
<p dir="auto">Now you can view, and more, any sized file.</p>
<p dir="auto">Remember : PHP's main job is building web browser html pages. These tend to be small, so they can load fast.<br />
A web page shouldn't be "500 Mega" in size.</p>
<p dir="auto">Big log files, the ones produces by web, mail dns etc server can grow <strong>fast</strong>, grow big, and can't be 'showed' with a web browser. And if it was possible, using some custom javascript, ploughing through the (log) file and sending it over, part after part, would be painfully slow.</p>
<p dir="auto">The command line access rulez forever ;)</p>
]]></description><link>https://forum.netgate.com/post/1002504</link><guid isPermaLink="true">https://forum.netgate.com/post/1002504</guid><dc:creator><![CDATA[Gertjan]]></dc:creator><pubDate>Tue, 21 Sep 2021 13:35:11 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to access tls.log in Suricata after certain size on Tue, 21 Sep 2021 13:25:16 GMT]]></title><description><![CDATA[<p dir="auto">Yes, this is a known issue with pretty much any application using PHP that tries to load and render large text files. The PHP code is attempting to load the entire file into a string variable, then it pumps the contents of that string out to your browser. There is not enough allocated memory in the PHP subsystem to load the entire file into the in-memory string variable, thus the error.</p>
<p dir="auto">You will need to browse that file using some other tool that can read in only pieces at the time. Or better  yet, turn on the automatic log managment functions on the LOGS MGMT tab and set the maximum file size for the various logs to relatively low values. I suggest making 1 MB the maximum, with 250K or 500K being even better.</p>
]]></description><link>https://forum.netgate.com/post/1002501</link><guid isPermaLink="true">https://forum.netgate.com/post/1002501</guid><dc:creator><![CDATA[bmeeks]]></dc:creator><pubDate>Tue, 21 Sep 2021 13:25:16 GMT</pubDate></item></channel></rss>