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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...