Listing all logs path

Hello dear,
Is it possible to listing all logs path in graylog2 ?
For example, i will give you screenshot taken from Scalyr

As you can see, there are /var/log/nginx/pos.access.log, /var/log/nginx/pos.error.log, etc…

In graylog2, how do i do that ? I have deploy the collectors to all servers.

Thank you very much for your time

if you have the information shipped to Graylog what the source file is - by default does filebeat that - then you can search/show the content only from that specific file like:

file:\/var\/log\/nginx\/pos\.access\.log 

in the search bar.

could i use Graylog API ?
I have log lists in scalyr. Now, i would like to ensure all of them is listed in Graylog also
or any idea or should i check one by one ?

sure you can query that by API.

Or you create a quick value widget of the field that contains the file name and check that generated list.

Do you know which one should be use ?
https://discover.logs.ovh.com/api/api-browser

For example, StaticFields : Static fields of an input

I would use: https://discover.logs.ovh.com/api/api-browser#!/Search/Relative/searchRelativeChunked_get_0

could you give me the example for using it ?
The endpoint is /search/universal/relative/ right ?
there are query, range, and fields…

I do not know your data - I did not have access to your data.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.