Dashboards & Visualizations

No Results found

Jamietriplet
Explorer

Hello All

 

Please i need help with the below, i am trying to display a particular column with the below query but i got a 'no results found' output

 

| inputlookup TagDescriptionLookup.csv
| fields Site UnitName TagName TagDescription Units
| where column = "TagName"
| rename column AS ColumnName
| table ColumnName

 

Thanks

Labels (1)
0 Karma

Jamietriplet
Explorer

Hello @gcusello  thanks for your input,

I need help to write a query that searches through a csv file and allows user to select through a dropdown and displays a result from the CSV file based on user selection.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Jamietriplet ,

It's a normal dashboard:

you have to create a dropdown using a search, putting attention that the fields to use in the input search and panel search use the same field name (field names are case sensitive).

Ciao.

Giuseppe

0 Karma

deepakc
Builder

This should give you the column you want
If you do just, this should have your data and display it

| inputlookup TagDescriptionLookup.csv

#This should just give you the column data

| inputlookup TagDescriptionLookup.csv
| fields TagName

For further info  look here, there are many examples and syntax details

https://docs.splunk.com/Documentation/Splunk/9.2.1/SearchReference/Inputlookup#Examples

0 Karma

Jamietriplet
Explorer

Hello @deepakc thanks for your input

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Jamietriplet ,

the "column" field isn't present in the available fields (Site UnitName TagName TagDescription Units).

so the where condition isn't verified.

What do you want to check?

Ciao.

Giuseppe

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!

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 ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...