Getting Data In

Searching events for a specific host, why are we getting results for 2 hosts: one upper case hostname and one lower case?

umang_solanki
New Member

Hello,

In our Splunk Enterprise, we have created a customized indexer. We are trying to get certain events of a specific host, but as soon as we type index="Event_Logs" host=WindowServer in Search, we get the results of 2 hosts with the same host name.
1. WINDOWSERVER (UPPER_CASE)
2. windowserver (lower_case)

The count appearing in the Search results is different.

Any idea about this behavior?

Appreciate your help.

== Umang Solanki

Tags (3)
0 Karma

woodcock
Esteemed Legend

This is problem is primarily a windows problem in that it frequently will ALL-CAPS hostnames but sometimes leave it the way you configured it. You could modify the hostname in Windows to be ALL-CAPS OR you can override the host at index time OR deal with it at search time like this:

index="Event_Logs" host=WindowServer | eval host=upper(host)

Don't forget about the domain problem, too. Here is a good discussion on that and more details, too:

http://answers.splunk.com/answers/28879/host-value-for-windows.html

0 Karma

bmacias84
Champion

what are the two source/sourcetypes. I am guessing one is scripted input.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...