<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to write a search to extract these field values from my sample data without mismatch and export to CSV? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-extract-these-field-values-from-my/m-p/258857#M77574</link>
    <description>&lt;P&gt;May need &lt;CODE&gt;spath&lt;/CODE&gt; before rename?&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jul 2016 19:18:36 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-07-13T19:18:36Z</dc:date>
    <item>
      <title>How to write a search to extract these field values from my sample data without mismatch and export to CSV?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-extract-these-field-values-from-my/m-p/258855#M77572</link>
      <description>&lt;P&gt;Below is my applogs data:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{"name":"blink-api-manager","submodule":"perfLogger","level":30,"req":{"url":"/api/accounts/transfers/retrieveAccounts","method":"GET","uuid":"ciqki748r0ur3tvmx6nlh7k3s"},"APIResponseTime":{"AccountsView.findByCustomerId":{"api":892.391628}},"OverallResponseTime":894.698927,"msg":"","time":"2016-07-13T06:26:24.069Z","v":0} 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have more than 20K data and need to filter 4 values: URL - APIResponseTime - OverallResponseTime - Time orderwise and need to download it in a CSV format. How it can be done?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 11:31:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-extract-these-field-values-from-my/m-p/258855#M77572</guid>
      <dc:creator>sathishsathiyam</dc:creator>
      <dc:date>2016-07-13T11:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a search to extract these field values from my sample data without mismatch and export to CSV?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-extract-these-field-values-from-my/m-p/258856#M77573</link>
      <description>&lt;P&gt;Run following search and export result as csv&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Your base search | rename req.* as * | table url APIResponseTime OVerallResponseTime time 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;See this for export method&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/Search/Exportsearchresults#Export_data_using_Splunk_Web"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/Search/Exportsearchresults#Export_data_using_Splunk_Web&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 18:11:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-extract-these-field-values-from-my/m-p/258856#M77573</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-07-13T18:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a search to extract these field values from my sample data without mismatch and export to CSV?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-extract-these-field-values-from-my/m-p/258857#M77574</link>
      <description>&lt;P&gt;May need &lt;CODE&gt;spath&lt;/CODE&gt; before rename?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 19:18:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-extract-these-field-values-from-my/m-p/258857#M77574</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-07-13T19:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a search to extract these field values from my sample data without mismatch and export to CSV?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-extract-these-field-values-from-my/m-p/258858#M77575</link>
      <description>&lt;P&gt;The data looks like a valid JSON , if the sourcetype is configured correctly then the JSON should be parsed correctly with fields already available. But you're correct if that's not the case. Sathish to confirm how his logs are setup/looking in Splunk.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 19:29:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-extract-these-field-values-from-my/m-p/258858#M77575</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-07-13T19:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a search to extract these field values from my sample data without mismatch and export to CSV?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-extract-these-field-values-from-my/m-p/258859#M77576</link>
      <description>&lt;P&gt;Thanks for the info, it just worked with table command itself. &lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 05:11:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-extract-these-field-values-from-my/m-p/258859#M77576</guid>
      <dc:creator>sathishsathiyam</dc:creator>
      <dc:date>2016-07-14T05:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a search to extract these field values from my sample data without mismatch and export to CSV?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-extract-these-field-values-from-my/m-p/258860#M77577</link>
      <description>&lt;P&gt;Yes its a valid JSON and since fields were already available, splunk parsed it correctly&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 05:13:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-extract-these-field-values-from-my/m-p/258860#M77577</guid>
      <dc:creator>sathishsathiyam</dc:creator>
      <dc:date>2016-07-14T05:13:11Z</dc:date>
    </item>
  </channel>
</rss>

