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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...