Splunk Search

Search TCP Data Input

dbabanov
Path Finder

Hello!
I adds TCP Data Inputs and indexes the TCP port 80.

I use local forwarder and indexer.

How can i search this logs?
What sourcetype? Syslog?

Sorry, but i can`t find answer..

Tags (2)
0 Karma

dbabanov
Path Finder

Ok!
But how can i search this log in search-string?

0 Karma

Ayn
Legend

It depends on what source and sourcetype you chose when setting up the input. source will likely be tcp:80 so:

source=tcp:80
0 Karma

HiroshiSatoh
Champion

Please check your settings.
Splunk > Manager » Data inputs » TCP

0 Karma

HiroshiSatoh
Champion

You should have set up sourcetype and host if "TCP Data Inputs". Do you use in any applications "local forwarder"?

Do you find from Hosts summary of the search?
Splunk > Search » Summary » Hosts

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!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

Data Management Digest – May 2026

Welcome to the May 2026 edition of Data Management Digest!   As your trusted partner in data innovation, the ...