Splunk Search

I want to write ".......some text Unable to reach on port some text ...." using a splunk query

tusharsappal
Explorer

I want to write ".......some text Unable to reach on port <1234> some text ...." using a splunk query , how will I be doing this .

Tags (2)
0 Karma

gfuente
Motivator

Hello

First you should create the query to get the servername and port data, like:

... | stats count by servername, port 

And then make eval to concatenate text with servername and port like:

...| eval message = ".......some text Unable to reach " .servername. " on port " .port. " some text..."

Regards

0 Karma
Get Updates on the Splunk Community!

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...