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: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

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

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