Getting Data In

Logs dont show upp i "real time"

fisk12
Path Finder

I recive some hosts from firewalls/Wireless controllers and they show up when you search for *. Recently i have some events from a apache webserver. I used this guide. http://danielmiessler.com/blog/howto-use-splunk-as-your-remote-syslog-server

And i have setup syslog-ng to filter the events and put them in a folder upon arrival like this http://answers.splunk.com/questions/8912/syslog-ng-filter-by-ip The events appers as expected in the folder and you se them if you search for exampel
source="/opt/splunk/var/log/syslog-ng/192.168.1.5/messages" but i would like them to appear when you search for *. Any ideas what to look for?

Tags (1)
0 Karma

woodcock
Esteemed Legend

Your timestamps are probably incorrect, possibly due to TZ issues. Run this search and make sure that avg(lagSeconds) is small and >0:

index=* | eval lagSeconds=_index_time - _time | stats avg(lagSeconds) by sourcetype,host,index
0 Karma

bwooden
Splunk Employee
Splunk Employee

Are your timestamps correct? A real time search won't display events if timestamps are incorrect.

0 Karma
Get Updates on the Splunk Community!

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...