Refine your search:

2
1

How do I list machines reporting to my server?

asked 22 Oct '10, 17:53

jawehren's gravatar image

jawehren
212
accept rate: 0%


3 Answers:

This search will give you all hosts reporting to your indexer and the last time they forwarded data.

| metadata type=hosts index=foo | eval last_contact=now()-recentTime
link

answered 22 Oct '10, 21:02

ftk's gravatar image

ftk ♦
6.8k1727
accept rate: 38%

Run the following search:

| metadata hosts
link

answered 22 Oct '10, 17:55

southeringtonp's gravatar image

southeringtonp ♦
4.9k2524
accept rate: 35%

Here are a couple searches that will get a list of hosts. This one will give you all machines in last 10 minutes reporting in:

* minutesago=10 | dedup host | stats list(host)

you can run this over any time frame you want... minutesago=30? Or, you can use the time picker and select "custom time" to look at all host reporting in during the time frame of your choice.

Here is another search that gives you all hosts reporting in, but also the number of events from each host:

* minutesago=10 | chart count(host) by host

The above search will give you each host reporting in during last 10 minutes, and also the number of events from that host. Lets you see who is most active.

link

answered 22 Oct '10, 20:30

muebel's gravatar image

muebel ♦
1.1k6434
accept rate: 40%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×138

Asked: 22 Oct '10, 17:53

Seen: 1,656 times

Last updated: 18 Dec '10, 07:22

Copyright © 2005-2012 Splunk Inc. All rights reserved.