I created a field alias via the UI -
I made it global and under
$SPLUNK_HOME/etc/apps/<app name>/local/props.conf, we see -
[<sourcetype>] FIELDALIAS-test2 = status ASNEW aaaaaa
When searching -
index=<index_name> sourcetype="<sourcetype>" status=* the field
aaaaaa dones't show up.
What do I miss?
Hi @danielbb ,
Syntax for defining
FIELDALIAS is incorrect. It should be,
[<sourcetype>] FIELDALIAS-test2 = status AS aaaaaa
As you have configured it from the UI this should not be the case. Which Splunk version you are using?
May be your FIELDALIAS created from UI is being ignored by any manually added FIELDALIAS for same sourcetype with same name.
From version 7, FIELDALIAS created from web are store with
As per the documentation, creating FIELDALIAS with props.conf
AS keyword is used in definition.
But both will work.
can you please check the permission of the FIELDALIAS?
If permission is private and you are looking for FIELDALIAS in the different app that it is created, it will not show.
If the permission is private, change it to 'All Apps', 'Read' allow 'Everyone'.
Still it is not working? which Splunk version you are using?
Check the article with FieldAlias bug on Splunk versions.