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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...