Basic query for a newb

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Basic query for a newb

Post by JohnFLi »

I am trying Log Server for the first time.
I have it looking at the Domain Controller logs

How can I find out failed login attempts on a specic machine? I know the machine name, I'm just trying to verify that somebody did attempt to log on to it.
Everybody is somebody else’s weirdo
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Basic query for a newb

Post by rkennedy »

I don't have access to a DC's logs, so going to take a guess here with the EventID. Usually, this is the EventID that corresponds if a Windows machine was sending it's own logs in. Not exactly sure if it's the same for the DC.

Does the log still contain the EventID 4625? If so, from the Dashboards page, you should be able to click 'Load Query', and then select the 'Windows Failed Logins' one. Then, query for a string that would contain that host (ip of it, or perhaps hostname).

If it doesn't have the EventID 4625, we may need to create a few filters to apply. Can you show us an example of the log that would contain an invalid login? It doesn't have to be for the host in specific we're looking for.
Former Nagios Employee
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Basic query for a newb

Post by JohnFLi »

I tried the built in 'failed windows logons' which works sorta ok..... but how do I narrow that down to a certain machine name or date?
Everybody is somebody else’s weirdo
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Basic query for a newb

Post by rkennedy »

You should be able to type the hostname / IP in the query box, or filter based on specific fields in NLS. Can you show post a screenshot of the full log you're seeing so that we can determine which field would be best to filter on?
Former Nagios Employee
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Basic query for a newb

Post by JohnFLi »

Log.jpg
I was able to get the name of the system somehwat filtered.... but I even purposly did a failed login attempt and it doesn't show.
You do not have the required permissions to view the files attached to this post.
Everybody is somebody else’s weirdo
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Basic query for a newb

Post by rkennedy »

Can you also show us the filters you currently have applied?

When you send over the screenshot, click inside one of those 'logs' first, and expand it. After that, it'll show us how all of the fields line up. Send a screenshot of this as well. We need to find a 'field' that we can use to filter by.
Former Nagios Employee
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Basic query for a newb

Post by JohnFLi »

Log.jpg
Hope this covers the info you asked for.
You do not have the required permissions to view the files attached to this post.
Everybody is somebody else’s weirdo
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Basic query for a newb

Post by rkennedy »

Which filters are you using? (you'll want to click them to expand)

Judging by the data you sent over, you'll want to use at least two. You'll want to match the Category to must be 'Credential Validation', and the Status to mustnot be 0x0. You can apply these filters by clicking the magnifying glass next to the field, and then changing them accordingly.

As you're just getting started, if might be easier to do a demonstration and show you a few things about NLS. Have you had a Quickstart yet for NLS? If not, I recommend signing up for one here - https://www.nagios.com/services/quickst ... og-server/
Former Nagios Employee
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Basic query for a newb

Post by JohnFLi »

yes, I think I should get the quick start training.

Thank you..... feel free to close this item
Everybody is somebody else’s weirdo
Locked