<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Logs Archives - SearchStax Docs</title>
	<atom:link href="https://demo.searchstax.com/docs/category/managed-solr/mloud-manager/dedicated-deployments-logs/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Documentation</description>
	<lastBuildDate>Mon, 03 Jun 2024 19:19:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>

<image>
	<url>https://demo.searchstax.com/docs/wp-content/uploads/2023/10/cropped-favicon-32x32.png</url>
	<title>Logs Archives - SearchStax Docs</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Solr Logs</title>
		<link>https://demo.searchstax.com/docs/searchstax-cloud-log-files/</link>
					<comments>https://demo.searchstax.com/docs/searchstax-cloud-log-files/#respond</comments>
		
		<dc:creator><![CDATA[Bruce]]></dc:creator>
		<pubDate>Fri, 08 Apr 2022 20:58:56 +0000</pubDate>
				<category><![CDATA[Logs]]></category>
		<guid isPermaLink="false">https://demo.searchstax.com/docs/?p=11171</guid>

					<description><![CDATA[<p>Solr and Load Balancer Logs The SearchStax Managed Search service log files help you tune Solr performance and isolate potential bugs in your application. The SearchStax Help Center references many&#8230; <a class="more-link" href="https://demo.searchstax.com/docs/searchstax-cloud-log-files/">Continue reading <span class="screen-reader-text">Solr Logs</span></a></p>
<p>The post <a href="https://demo.searchstax.com/docs/searchstax-cloud-log-files/">Solr Logs</a> appeared first on <a href="https://demo.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading" id="h-solr-and-load-balancer-logs">Solr and Load Balancer Logs  </h1>



<hr class="wp-block-separator has-alpha-channel-opacity" id="wp-block-separator"/>



<p>The SearchStax Managed Search service log files help you tune Solr performance and isolate potential bugs in your application. The SearchStax <a href="https://demo.searchstax.com/docs/hc/what-is-http-error-403/">Help Center</a> references many typical errors and other log entries very specifically.</p>



<p>The Solr log files may be viewed in a limited way from the Solr dashboard. Recent <strong>solr.log</strong> files may be downloaded from SearchStax Managed Search. There is a special log in SearchStax Managed Search that records your team&#8217;s actions in the SearchStax Managed Search Dashboard. Some other logs are available through the agency of SearchStax support engineers.</p>



<div class="alert alert-success">

<h4>Time Stamps in Solr.log Files</h4>

<p>The <strong>date/time stamps</strong> in solr.log files are in UTC (Coordinated Universal Time).</p>
</div>



<p>Contents:</p>



<ol class="wp-block-list">
<li><a href="#solr">Solr Server Logs</a>
<ul class="wp-block-list">
<li><a href="#logretention">Log Retention</a></li>



<li><a href="#loglevel">Logging Levels</a></li>
</ul>
</li>



<li><a href="#lblogs">Load Balancer Logs</a></li>



<li><a href="#nginx">Nginx Logs</a></li>



<li><a href="#activity">SearchStax Managed Search Activity Log</a></li>
</ol>



<h2 class="wp-block-heading" id="solr">Solr Server Logs</h2>



<p>Each Solr instance maintains a <strong>solr.log</strong> file, managed by <a href="https://en.wikipedia.org/wiki/Log4j" target="_blank" rel="noreferrer noopener">Apache Log4j</a>. </p>



<p>This file accumulates log messages at the <strong>INFO, WARN, </strong>and<strong> ERROR</strong> levels until the size of the file reaches 33.55 MB or until Solr is restarted. At that point, Solr closes the file, renames it <strong>solr.log.N</strong>, and opens a new <strong>solr.log</strong> file. You can see the files in the SearchStax Managed Search dashboard, <strong>Dedicated Infrastructure &gt;</strong> <strong>Deployment &gt; Deployment Details &gt; Logs screen. </strong></p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="893" height="198" src="https://demo.searchstax.com/docs/wp-content/uploads/2024/02/image.png" alt="" class="wp-image-17353" srcset="https://demo.searchstax.com/docs/wp-content/uploads/2024/02/image.png 893w, https://demo.searchstax.com/docs/wp-content/uploads/2024/02/image-300x67.png 300w, https://demo.searchstax.com/docs/wp-content/uploads/2024/02/image-768x170.png 768w" sizes="(max-width: 893px) 100vw, 893px" /></figure>



<p><strong>Solr.log</strong> is the live file, containing the most-recent log entries.  The file extensions (X in solr.log.X) do not always reflect the age of the file contents. Sort the files by date to put them in chronological sequence. </p>



<p>The files in this list are a snapshot of the Solr log files on the server. This snapshot is updated at the top of every hour. This means that when you experiment with your system, you must wait until the top of the hour to see changes in the logs. (If you are in India, the logs become available at the bottom of every hour.)</p>



<p></p>



<h3 class="wp-block-heading" id="logretention">Log Retention</h3>



<p>The topic of &#8220;log retention&#8221; using Log4j is a matter of file size rather than age. Please see <a href="https://solr.apache.org/guide/7_1/configuring-logging.html" target="_blank" rel="noreferrer noopener">Configuring Logging</a> for more information. </p>



<p>As expressed in SearchStax Managed Search, a new <strong>solr.log</strong> file is initiated each time a Solr instance is started. That file continues to record log messages until either Solr stops, or until the size of solr.log exceeds 33.55 MB. The <strong>solr.log</strong> file of a small, stable system can accumulate log messages for weeks or months without rolling over.</p>



<p>SearchStax Managed Search retains a maximum of ten rollover files. Therefore, when <strong>solr.log</strong> rolls over for the eleventh time, the oldest file will be deleted.</p>



<ul class="wp-block-list">
<li></li>
</ul>



<p>Note that you must examine the logs from each Solr node in your cluster. Solr problems sometimes occur on only one node. </p>



<h3 class="wp-block-heading" id="loglevel">Logging Levels</h3>



<p>The remarks in this section assume that you want to modify the default logging behavior of Log4j in SearchStax Managed Search.</p>



<p>You can adjust Solr logging in the Solr Dashboard:</p>



<figure class="wp-block-image size-large"><img decoding="async" width="887" height="411" src="https://demo.searchstax.com/docs/wp-content/uploads/2021/03/solrLoggingLevels.png" alt="Searchstax Solr Log Files" class="wp-image-7319" srcset="https://demo.searchstax.com/docs/wp-content/uploads/2021/03/solrLoggingLevels.png 887w, https://demo.searchstax.com/docs/wp-content/uploads/2021/03/solrLoggingLevels-300x139.png 300w, https://demo.searchstax.com/docs/wp-content/uploads/2021/03/solrLoggingLevels-768x356.png 768w" sizes="(max-width: 887px) 100vw, 887px" /></figure>



<div class="alert alert-warning">
<h3>Solr Dashboard log changes affect only one server</h3>
<p>SearchStax Managed Search connects to the Solr Dashboard of one Solr node chosen randomly
by a load balancer. Changes to logging levels affect only one server of the cluster. When you return to the Solr Dashboard to undo your log settings later, you might not be connected to the same node. This can make it difficult to back out your changes.</p>
<p>To cleanly reset all servers to default logging, perform a rolling restart of the cluster. Each server returns to default logging as it restarts. </p>
</div>



<p>You can monitor significant Solr events on an adjacent screen in the Solr dashboard:</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="294" src="https://demo.searchstax.com/docs/wp-content/uploads/2021/03/solrErrorDisplay-1024x294.png" alt="Searchstax Solr Log Files" class="wp-image-7320" srcset="https://demo.searchstax.com/docs/wp-content/uploads/2021/03/solrErrorDisplay-1024x294.png 1024w, https://demo.searchstax.com/docs/wp-content/uploads/2021/03/solrErrorDisplay-300x86.png 300w, https://demo.searchstax.com/docs/wp-content/uploads/2021/03/solrErrorDisplay-768x220.png 768w, https://demo.searchstax.com/docs/wp-content/uploads/2021/03/solrErrorDisplay.png 1192w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>See <a href="https://solr.apache.org/guide/6_6/configuring-logging.html" target="_blank" rel="noreferrer noopener">Configuring Logging</a> in the Apache Solr documentation.</p>



<h2 class="wp-block-heading" id="lblogs">Load Balancer Logs</h2>



<p>All traffic to a SearchStax cluster passes through a Load Balancer that distributes requests across the available servers. </p>



<p>Due to technical considerations, query logs are most naturally obtained from the Solr cluster&#8217;s load balancer. SearchStax Managed Search makes the load balancer logs available through the deployment dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="586" src="https://demo.searchstax.com/docs/wp-content/uploads/2023/04/image-15-1024x586.png" alt="" class="wp-image-14512" srcset="https://demo.searchstax.com/docs/wp-content/uploads/2023/04/image-15-1024x586.png 1024w, https://demo.searchstax.com/docs/wp-content/uploads/2023/04/image-15-300x172.png 300w, https://demo.searchstax.com/docs/wp-content/uploads/2023/04/image-15-768x439.png 768w, https://demo.searchstax.com/docs/wp-content/uploads/2023/04/image-15.png 1388w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>These are access logs that record the incoming queries, like this one:</p>



<pre class="wp-block-preformatted">{"httpRequest":{"remoteIp":"76.9.66.238","requestMethod":"GET","requestSize":"118","requestUrl":"https://ss123456-us-west2-gcp.searchstax.com/solr/filmcollection/select?q=director_name:%22Steven%20Spielberg%22&amp;wt=json&amp;indent=true&amp;fl=movie_title","responseSize":"956","serverIp":"10.76.0.2","status":200,"userAgent":"curl/7.58.0"},"insertId":"1sxeg25ff8ohxo","jsonPayload":{"@type":"type.googleapis.com/google.cloud.loadbalancing.type.LoadBalancerLogEntry","enforcedSecurityPolicy":{"configuredAction":"ACCEPT","name":"ss123456-armor","outcome":"ACCEPT","priority":2147483647},"statusDetails":"response_sent_by_backend"},"logName":"projects/searchstax-production/logs/requests","receiveTimestamp":"2019-01-09T15:00:29.930210771Z","resource":{"labels":{"backend_service_name":"","forwarding_rule_name":"ss123456-https-forwarding","project_id":"searchstax-production","target_proxy_name":"ss123456-https-proxy","url_map_name":"ss123456-loadbalancer","zone":"global"},"type":"http_load_balancer"},"severity":"INFO","spanId":"e549479c9a69ea78","timestamp":"2019-01-09T15:00:29.513737511Z","trace":"projects/searchstax-production/traces/b8e7795aa135c44964cd1a8343a2f34c"}</pre>



<p>SearchStax updates these logs once per hour.</p>



<h2 class="wp-block-heading" id="nginx">Nginx Logs</h2>



<p>SearchStax Managed Search single-node deployments don&#8217;t have Load Balancers, but do use Nginx to handle incoming requests.</p>



<p>SearchStax premium clients may ask our Support Desk for help in obtaining the Nginx logs when necessary. </p>



<h2 class="wp-block-heading" id="activity">SearchStax Managed Search Activity Log</h2>



<p>SearchStax Managed Search automatically records all significant user actions that occur in the SearchStax Managed Search Dashboard. To view them, click <strong>Activity Log</strong> in the left-side navigation panel.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="509" src="https://demo.searchstax.com/docs/wp-content/uploads/2024/06/image-18-1024x509.png" alt="" class="wp-image-18922" srcset="https://demo.searchstax.com/docs/wp-content/uploads/2024/06/image-18-1024x509.png 1024w, https://demo.searchstax.com/docs/wp-content/uploads/2024/06/image-18-300x149.png 300w, https://demo.searchstax.com/docs/wp-content/uploads/2024/06/image-18-768x382.png 768w, https://demo.searchstax.com/docs/wp-content/uploads/2024/06/image-18.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Activity Log entries are retained indefinitely.</p>



<h2 class="wp-block-heading" id="help-with-log-files">Help with Log Files</h2>



<p>Premium customers may ask SearchStax support for help tracking down memory and performance issues. This often involves enabling logging on servers that the SearchStax end-user cannot reach.</p>



<p>For this type of help please reach out to the <a href="mailto:support@demo.searchstax.com?subject=Help%20with%20Log%20Files" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<h2 class="wp-block-heading" id="questions">Questions?</h2>



<p>Do not hesitate to contact the <a href="mailto:support@demo.searchstax.com?subject=Solr%20and%20Load%20Balancer%20Log%20Files%20in%20SearchStax%20Cloud" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>
</div></div>
<p>The post <a href="https://demo.searchstax.com/docs/searchstax-cloud-log-files/">Solr Logs</a> appeared first on <a href="https://demo.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://demo.searchstax.com/docs/searchstax-cloud-log-files/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
