Getting Data In

hostname garbage(space or blank) on the search line

himang2c
New Member

The environment is Deployment Server and Client configuration.
We can see several hosts. but when host field is selected,
We can see hostname garbage(space or blank ) on the Search line.

ex) index=ABC host="ABCDEF " <-- one space
but, We can see if this like
index=ABC host="ABCDEF*" <-- if put *

so, We can not have any other search from the search line.

what is solution ?

Tags (1)
0 Karma

mwhite_splunk
Splunk Employee
Splunk Employee

Maybe you should try regex:

index=ABC host=ABCDEF\s

or

index=ABC host=ABCDEF?

See your Splunk Quick Reference Guide for more on RegEx.

http://docs.splunk.com/images/1/17/4.2.x_search_language_refcard.pdf

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 ...