I am wondering if there is a way that fields can be linked (sort of like aliases in PowerShell if that helps for context).
For example, the default host field and a field named "computer_fqdn" give the same value. However, if you search for "host=examplename" but the event that you're looking for uses the "computer_fqdn" field, the event won't show.
I'm happy to answer any questions regarding this issue.
Thanks in advance,
As @ITWhisperer said there is concept ALIAS which give you this kind of functionality. Another more extended concept is CIM (Common Information Model) which helps users/developers onboarding systems to Splunk to use common names etc. With this concept you could create Dashboards, Alerts, Reports with those common names, data models, tag etc. without knowing exact field names e.g. in Cisco SW/FW vs. Palo Alto vs. Juniper vs. Forte etc.
You could found CIM app https://splunkbase.splunk.com/app/1621 and documentation from https://docs.splunk.com/Documentation/CIM/latest/User/Overview
This has used in quite many Apps and TAs on splunkbase.
host is usually used by Splunk for host the event came from - is this the host field you are talking about or is there also a host field in your event data as well as computer_fqdn?
Yeah the host field I am talking about is the host of which the event was raised.
For example if I was to search host="computer1", it would show all the events that took place on that computer. The issue is that one of the add-ons I use, doesn't use the host field it instead uses a field called "computer_fqdn", but they both hold the same value.
My goal is to essentially have host="computer1" and computer_fqdn="computer1" give the same results when searched.
I didn't end up editing stanzas, but I found a way to do it just through the Splunk Cloud settings. Your suggestion definitely lead me down the right path though 🙂