Analytics for Solr logs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Analytics for Solr logs

Zisis T.
I've stumbled upon
https://github.com/apache/lucene-solr/blob/visual-guide/solr/solr-ref-guide/src/logs.adoc
which looks very interesting for getting insights into the Solr logs.

I cannot find though postlogs command inside the Solr bin dir (there is post
command though) nor a way to create the logs collection. I've looked into
solr-8.4.1 and solr-7.5.0 but could not find anything.

1) Is this still supported?
2) Where can I find the logs collection configuration? How can I create it?
3) Is post the same command as postlogs?

Thanks



--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Reply | Threaded
Open this post in threaded view
|

Re: Analytics for Solr logs

Alexandre Rafalovitch
The tool was introduced in Solr 8.5 and it is in bin/postlogs
location. It is quite new.

Regards,
   Alex.

On Tue, 13 Oct 2020 at 12:39, Zisis T. <[hidden email]> wrote:

>
> I've stumbled upon
> https://github.com/apache/lucene-solr/blob/visual-guide/solr/solr-ref-guide/src/logs.adoc
> which looks very interesting for getting insights into the Solr logs.
>
> I cannot find though postlogs command inside the Solr bin dir (there is post
> command though) nor a way to create the logs collection. I've looked into
> solr-8.4.1 and solr-7.5.0 but could not find anything.
>
> 1) Is this still supported?
> 2) Where can I find the logs collection configuration? How can I create it?
> 3) Is post the same command as postlogs?
>
> Thanks
>
>
>
> --
> Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Reply | Threaded
Open this post in threaded view
|

Re: Analytics for Solr logs

Zisis T.
Thanks Alexandre, silly me. I though 8.4.1 was recent enough...



--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Reply | Threaded
Open this post in threaded view
|

Re: Analytics for Solr logs

Cassandra Targett
While the tool is only included in 8.5 and higher, it will index logs from any version of Solr 7.x or 8.x (and possibly even 6.x). So if you want to use it, you could download Solr 8.5 or higher to your local machine and index your 8.4.1 logs there, or use an 8.5 or higher Docker image. You probably need to copy them locally; AFAIK, it can't take a URL to go get files from a non-local filestore like S3, etc.

I use it at least weekly in my work…it’s an immense help to troubleshooting when you aren’t sure what’s going on with the system.
On Oct 14, 2020, 3:50 AM -0500, Zisis T. <[hidden email]>, wrote:
> Thanks Alexandre, silly me. I though 8.4.1 was recent enough...
>
>
>
> --
> Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html