Splunk Search

how to write a request

gitingua
Communicator

| inputlookup file1.csv

field1field2
1a
2b
3c

 

it is necessary so

123
abc

 

 

help! Thanks 

 

0 Karma
1 Solution

venkatasri
SplunkTrust
SplunkTrust

Hi @gitingua 

| inputlookup <lookup_name> | transpose | fields - column

you can rename 'row 1', row2 etc to desired ones

--

An upvote would be appreciated if this reply helps! 

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Have you looked at the transform command?

---
If this reply helps you, Karma would be appreciated.

venkatasri
SplunkTrust
SplunkTrust

Hi @gitingua 

| inputlookup <lookup_name> | transpose | fields - column

you can rename 'row 1', row2 etc to desired ones

--

An upvote would be appreciated if this reply helps! 

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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