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!

Splunk App for Anomaly Detection End of Life Announcement

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...