Getting Data In

How to filter fields in exporting logs into csv in Web GUI?

kristen
Explorer

I am sampling the logs of the last 24 hours in GUI by
1. search queries: index=*

2. On GUI timeframe options, select last24 hours

3. Click search

4. Search completed

5. Export results to csv

 

In the csv obtained, it is seen that it parsed all of the fields in each event log into a new column, resulting too many columns in the csv. I would only like to export _raw, timestamp, host into the csv. Would there be any suggestion? Thank you.

Labels (1)
0 Karma
1 Solution

kristen
Explorer

Just utilize table command. e.g.:

index=* earliest=timestamp latest=timestamp|table _raw, _time, host

View solution in original post

0 Karma

kristen
Explorer

Just utilize table command. e.g.:

index=* earliest=timestamp latest=timestamp|table _raw, _time, host

0 Karma
Get Updates on the Splunk Community!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...