Hi,would like to check how to migrate the field aliases from one splunk to another splunk without recreating the field aliases in the new splunk? thks
The most generic way of transferring configurations - including field aliases - from one Splunk instance to other instances is apps. Package the configurations that together make up a logical package into an app, and install that app on the other Splunk instances.
For a manual approach you can of course copy the FIELDALIAS-foo
settings in props.conf from one instance to another, but using apps will be much easier to maintain in the long run.
Martin's answer is 100% right. For more details refer this http://docs.splunk.com/Documentation/Splunk/6.1.2/Knowledge/Addaliasestofields
Splunk says:
You add your field aliases to props.conf, which you edit in $SPLUNK_HOME/etc/system/local/, or your own custom app directory in $SPLUNK_HOME/etc/apps/. (We recommend using the latter directory if you want to make it easy to transfer your data customizations to other index servers.)
The most generic way of transferring configurations - including field aliases - from one Splunk instance to other instances is apps. Package the configurations that together make up a logical package into an app, and install that app on the other Splunk instances.
For a manual approach you can of course copy the FIELDALIAS-foo
settings in props.conf from one instance to another, but using apps will be much easier to maintain in the long run.
Is it possible to provide the url to package the configuration? thks