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!

A Four-Part Event Series: Full Stack Observability For the AI Era

As AI reshapes applications, infrastructure, and the way teams operate, the traditional boundaries of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...