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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...