Getting Data In

How to assign a field alias to a json field?

Ultra Champion

We have the following in props.conf -

FIELDALIAS-alias1 = apiRequest.apiInfo.clientID AS clientID

It doesn't seem to do what we had in mind meaning to alias apiRequest.apiInfo.clientID as clientID.

0 Karma
1 Solution

Splunk Employee
Splunk Employee

it's always safe to enclose a field with special characters in single or double quotes.

With Splunk... the answer is always "YES!". It just might require more regex than you're prepared for!

View solution in original post

0 Karma

Splunk Employee
Splunk Employee

it's always safe to enclose a field with special characters in single or double quotes.

With Splunk... the answer is always "YES!". It just might require more regex than you're prepared for!

View solution in original post

0 Karma

Ultra Champion

Makes perfect sense @rsennett.

0 Karma

Ultra Champion

When we do the same exact thing from the UI, the UI adds double-quotes. I guess we need to do the same thing in props.conf.

0 Karma
Don’t Miss Global Splunk
User Groups Week!

Free LIVE events worldwide 2/8-2/12
Connect, learn, and collect rad prizes
and swag!