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!

test 2

test 222222

test

test

Join the Hackathon at .conf26 and build a No-Code AI agent

Join us for the AI Agent Buildathon, an in-person, three-hour hands-on Hackathon where you’ll use Splunk Agent ...