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 | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...