All Apps and Add-ons

How to setup/configure application logs forwarded into splunk?

ashish9191
New Member

how to find logs path in servers

0 Karma
1 Solution

Richfez
SplunkTrust
SplunkTrust

There are a variety of ways to find the paths where servers are saving their log files.

1) Ask the owner of the application where they have configured it to store its log files.

2) Check the configuration of the application to see where it stores it log files.

3) Search the internet for the above two items.

4) Learn how to work 'lsof' (See #3, but a simple "sudo lsof | less" and start scrolling down the list can be useful)

5) Poke around for a while - for instance, a lot of interesting things can be found in /var/log on most *nix-based operating systems. In Windows most things generate events that end up in the Event Logs.

Beyond that, a little more information may be helpful. Like, what applications do you have installed?

View solution in original post

Richfez
SplunkTrust
SplunkTrust

There are a variety of ways to find the paths where servers are saving their log files.

1) Ask the owner of the application where they have configured it to store its log files.

2) Check the configuration of the application to see where it stores it log files.

3) Search the internet for the above two items.

4) Learn how to work 'lsof' (See #3, but a simple "sudo lsof | less" and start scrolling down the list can be useful)

5) Poke around for a while - for instance, a lot of interesting things can be found in /var/log on most *nix-based operating systems. In Windows most things generate events that end up in the Event Logs.

Beyond that, a little more information may be helpful. Like, what applications do you have installed?

ddrillic
Ultra Champion

I vote for -

-- 1) Ask the owner of the application where they have configured it to store its log files.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...