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!

Agentic Operations Start with Context: Build the Right Data Foundation

Agentic Operations Start with Context: Build the Right Data Foundation   By Courtney Wright, Product Marketing ...

Assisted, Augmented or Agentic? Choose Your Splunk Starting Point

Assisted, Augmented or Agentic? Choose Your Splunk Starting Point   By Courtney Wright, Product Marketing ...

Session 2 | Beyond the Thread: Operationalizing AI with Confidence

Session 2   Beyond the Thread: Operationalizing AI with Confidence    The true power of the Cisco Data Fabric ...