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 Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...