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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...