Splunk Search

host name is listed twice - lowercase and CAPS

pil321
Communicator

not sure how this happened, but I have the same host listed twice; once in all lower case (host1) and once in all CAPS (HOST1). I want to filter out the lowercase one (not many entries for it and has stopped collecting logs). If I tag the lower case one (host1::bogus) would it also tag the upper case one as well? Or, could I filter it out by doing a search for all lowercase (not sure how to do that)?

Tags (1)
0 Karma
1 Solution

jtrucks
Splunk Employee
Splunk Employee

Check out CASE() and TERM() to do case sensitive matches. You could set these in a tag or eventtype to accomplish this.

--
Jesse Trucks
Minister of Magic

View solution in original post

jtrucks
Splunk Employee
Splunk Employee

Check out CASE() and TERM() to do case sensitive matches. You could set these in a tag or eventtype to accomplish this.

--
Jesse Trucks
Minister of Magic
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...