<?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: Modify Splunk Output in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Modify-Splunk-Output/m-p/29853#M6048</link>
    <description>&lt;P&gt;One last thing. In the SDKs a search string always should start with "search ..." The broser GUI always assumes this and puts it there for you.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Aug 2012 18:17:50 GMT</pubDate>
    <dc:creator>wcolgate_splunk</dc:creator>
    <dc:date>2012-08-14T18:17:50Z</dc:date>
    <item>
      <title>Modify Splunk Output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Modify-Splunk-Output/m-p/29851#M6046</link>
      <description>&lt;P&gt;So here's my problem, I'm using splunk to index some server logs. I am using the splunk javasdk to do a search and get the output as an xml file. &lt;BR /&gt;
Now my question is can I limit the information splunk sends me? By editing my search I end up getting more information rather than less. For example things like the index and index time are of no use to me. any suggestions?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2012 23:52:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Modify-Splunk-Output/m-p/29851#M6046</guid>
      <dc:creator>nielsenr</dc:creator>
      <dc:date>2012-08-08T23:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Splunk Output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Modify-Splunk-Output/m-p/29852#M6047</link>
      <description>&lt;P&gt;You can use features of the search language to remove unwanted fields from the reports.&lt;/P&gt;

&lt;P&gt;For example (the ... is the actual search command like "search index=main *" then "pipe to" using "|".&lt;/P&gt;

&lt;P&gt;Remove the "host" and "ip" fields.&lt;/P&gt;

&lt;P&gt;... | fields - host, ip&lt;/P&gt;

&lt;P&gt;Keep only the "host" and "ip" fields, and display them in the order: "host", "ip".&lt;/P&gt;

&lt;P&gt;... | fields host, ip&lt;/P&gt;

&lt;P&gt;Keep only the fields 'source', 'sourcetype', 'host', and all fields beginning with 'error'.&lt;/P&gt;

&lt;P&gt;... | fields source, sourcetype, host, error*&lt;/P&gt;

&lt;P&gt;etcetera.  There is a easy-to-digest summary here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/SearchCheatSheet"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/SearchCheatSheet&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2012 18:16:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Modify-Splunk-Output/m-p/29852#M6047</guid>
      <dc:creator>wcolgate_splunk</dc:creator>
      <dc:date>2012-08-14T18:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Splunk Output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Modify-Splunk-Output/m-p/29853#M6048</link>
      <description>&lt;P&gt;One last thing. In the SDKs a search string always should start with "search ..." The broser GUI always assumes this and puts it there for you.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2012 18:17:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Modify-Splunk-Output/m-p/29853#M6048</guid>
      <dc:creator>wcolgate_splunk</dc:creator>
      <dc:date>2012-08-14T18:17:50Z</dc:date>
    </item>
  </channel>
</rss>

