LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Nginx log files entries from 4 server in another server (https://www.linuxquestions.org/questions/linux-server-73/nginx-log-files-entries-from-4-server-in-another-server-4175629205/)

bmxakias 05-07-2018 01:20 PM

Nginx log files entries from 4 server in another server
 
Hello

Is there any software/way to have all the Nginx log files entries to another extra server all together?

Maybe having an interface also to search on them?

Thank you

Habitual 05-07-2018 02:20 PM

There sure is:
http://www.idata.co.il/2017/01/monit...nd-metricbeat/

bmxakias 05-07-2018 02:46 PM

If i am not wrong Metricbeat is for metrics but i don't need metrics....

I need the actual log entries in a list and to be able to search on them....

Habitual 05-07-2018 05:05 PM

Quote:

Originally Posted by bmxakias (Post 5851770)
If i am not wrong Metricbeat is for metrics but i don't need metrics....

I need the actual log entries in a list and to be able to search on them....

Use Filebeat then, sorry. First link from that URL

additionally,
https://www.digitalocean.com/communi...als?q=filebeat

Read/Try/Ask

bathory 05-08-2018 02:04 AM

Quote:

Originally Posted by bmxakias (Post 5851734)
Hello

Is there any software/way to have all the Nginx log files entries to another extra server all together?

Maybe having an interface also to search on them?

Thank you

You can use syslog facility to send nginx logs to an external server.
From there perhaps you can try this.

Regards

Habitual 05-08-2018 08:48 AM

Quote:

Originally Posted by bmxakias (Post 5851770)
i don't need metrics....

I need the actual log entries in a list and to be able to search on them....

Log forwarding. There are a quite a few methods around.
I used {r,}syslog until we didn't. I had to "see the logs" all in "one place" also, otherwise, a boring parade of dry logs.
"Managers Love Shiny shit" So, of course graphs, or charts. Kibana is strong.fu

I heard about "Kibana" when "Elasticsearch" first came on the scene.

Visualizing Logs Using ElasticSearch, Logstash and Kibana

I believe what you choose to "view forwarded logs" is secondary to getting log forwarding working.
I encourage you to see the results that can be achieved with Kibana.

Have Fun!


All times are GMT -5. The time now is 10:05 AM.