Getting Data In

Field alias on extracted fields not working on all fields

erikwie
Path Finder

I got an issue with a few field alias on extracted fields from a json log 
This is done on a search head and done in the web gui
props.conf reads
[surcetype_name]
FIELDALIAS-<class> = field_name1 ASNEW alias1 field_name2 ASNEW alias2 field_name3 ASNEW alias3 field_name4 ASNEW alias4
EXTRACT-<class> = regex string to get field_name1
EXTRACT-<class> = regex string to get field_name2
EXTRACT-<class> = regex string to get field_name3
EXTRACT-<class> = regex string to get field_name4

According to https://docs.splunk.com/Documentation/Splunk/7.3.3/Knowledge/Searchtimeoperationssequence

As this is done in a searchhead the EXCTRACT-<class> is performed before FIELDALIAS-<class>

But there is only one of the aliases that returns data, when I do a table with the field_name and alias side by side I see that the exctraction is done right and there is data, but the alias is blank.

Anyone got a tip to what it can be that I got wrong here?

Labels (1)
Tags (1)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Deep Dive: Accelerate threat investigation with Splunk’s AI Assistant in Security

AI is one of the biggest topics in the market today, and for security teams, its value goes far beyond the ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Detection Engineering Office Hours: Real-World Troubleshooting & Q&A

[REGISTER HERE] This thread is for the Community Office Hours session on Detection Engineering Office Hours: ...