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!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...