Getting Data In

How to find lost logs from universal forwarder?

ozirus
Path Finder

Hi,

I've a universal forwarder on a Linux machine that forwards Security Onion logs to my Splunk instance.

Logs are coming to network interface via port 9998 (checked tcpdump), When I try to search with;

index=_internal metrics kb group=per_sourcetype_thruput | eval sizeMB = round(kb/1024,2)| stats sum(sizeMB) by series | sort -sum(sizeMB) | rename sum(sizeMB) AS "Size on Disk (MB)" 

It shows source names etc. and logs are coming to my instance but when I try to see the logs, I can't find the logs. They're being saved somewhere but I can't figure out the search to see them.

How can i do this?

Regards,

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

You could have a timestamp problem. Try searching All Time to see if Splunk is logging the events in the future.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

You could have a timestamp problem. Try searching All Time to see if Splunk is logging the events in the future.

---
If this reply helps you, Karma would be appreciated.

ozirus
Path Finder

Thanks! It was.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Please accept the answer.

---
If this reply helps you, Karma would be appreciated.
0 Karma

ozirus
Path Finder

It wasn't available yesterday. Now it is accepted i guess. Thanks again!

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Mastering Threat Intelligence in ES 8.5, Splunk AI Assistant v2, and More from Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Break the Build: Inside the KubeDoom Lounge at .conf26

    You step up to the machine. The pixelated corridors of a certain 1993 FPS load in front of you, EMP Pulse ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...