Getting Data In

How to create a FIELDALIAS for a tagged field

splunker12er
Motivator

I do have differnet host servers(db,php,widnows)

I tagged each "host" field into "db_server" "php_server" "win_server"

I also tried to create a field alias for the tagged field "tag::host" as Host_Name, but that doesnt create a FIELDALIAS. Any mistake did i made here? please help

My configs:

tag.conf

[host=10.250.200.6]

database_srv = enabled

props.conf

[*]

FIELDALIAS-HostName = "tag::host" AS Host_Name

0 Karma

lmyrefelt
Builder

Heey man, thanks for the down vote!

Take a few minutes and read the docs ... and you will se that it is not thought out to work the way you want.
You could possible use a lookup instead .

0 Karma

lmyrefelt
Builder

It only works with "normal / regular" fields ... you could in your search try to "change" / format the tags (if possible) with the replace and or rename commands

0 Karma

splunker12er
Motivator

tried with normal fields it works. But for tagged fields (tag::fieldname) it doesnt work.
Any tricks to make this work ?

0 Karma
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, ...