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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...