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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...