<?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: Editing of search results using python and not inline with my search in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Editing-of-search-results-using-python-and-not-inline-with-my/m-p/21776#M233</link>
    <description>&lt;P&gt;Tell us more about what you want to achieve, preferably with log samples, and we can probably advise you where to go next. Writing your own custom command is one of many routes to take, and not the easiest one so there may be other alternatives that could work even better.&lt;/P&gt;</description>
    <pubDate>Thu, 02 May 2013 06:43:22 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2013-05-02T06:43:22Z</dc:date>
    <item>
      <title>Editing of search results using python and not inline with my search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Editing-of-search-results-using-python-and-not-inline-with-my/m-p/21775#M232</link>
      <description>&lt;P&gt;Hi, is there any way where I can rename a specific value of the search results by coding it in our own custom command python file? Please help. Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2013 03:04:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Editing-of-search-results-using-python-and-not-inline-with-my/m-p/21775#M232</guid>
      <dc:creator>sarahh</dc:creator>
      <dc:date>2013-05-02T03:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Editing of search results using python and not inline with my search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Editing-of-search-results-using-python-and-not-inline-with-my/m-p/21776#M233</link>
      <description>&lt;P&gt;Tell us more about what you want to achieve, preferably with log samples, and we can probably advise you where to go next. Writing your own custom command is one of many routes to take, and not the easiest one so there may be other alternatives that could work even better.&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2013 06:43:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Editing-of-search-results-using-python-and-not-inline-with-my/m-p/21776#M233</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-05-02T06:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Editing of search results using python and not inline with my search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Editing-of-search-results-using-python-and-not-inline-with-my/m-p/21777#M234</link>
      <description>&lt;P&gt;for example, theres a data in one of the search event containing "category_id = plants" Is there anyway where i can edit/shuffle the word "plants" by coding in my custom command python file? A pity i couldn't upload the picture to have a clearer view. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 May 2013 14:16:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Editing-of-search-results-using-python-and-not-inline-with-my/m-p/21777#M234</guid>
      <dc:creator>sarahh</dc:creator>
      <dc:date>2013-05-04T14:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Editing of search results using python and not inline with my search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Editing-of-search-results-using-python-and-not-inline-with-my/m-p/21778#M235</link>
      <description>&lt;P&gt;Why not just do&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | replace plants with somethingelse in category_id
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval category_id=if(category_id=="plants","somethingelse",category_id)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;?&lt;/P&gt;

&lt;P&gt;Or if you want to change how the actual raw data is displayed, you could instead do&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | replace "category_id = plants" with "category_id = somethingelse" in _raw
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;...or the same eval technique as above but with _raw instead.&lt;/P&gt;</description>
      <pubDate>Sat, 04 May 2013 14:22:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Editing-of-search-results-using-python-and-not-inline-with-my/m-p/21778#M235</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-05-04T14:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Editing of search results using python and not inline with my search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Editing-of-search-results-using-python-and-not-inline-with-my/m-p/21779#M236</link>
      <description>&lt;P&gt;See below - I still don't understand the requirement that this has to be done in Python. Why?&lt;/P&gt;</description>
      <pubDate>Sat, 04 May 2013 14:26:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Editing-of-search-results-using-python-and-not-inline-with-my/m-p/21779#M236</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-05-04T14:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Editing of search results using python and not inline with my search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Editing-of-search-results-using-python-and-not-inline-with-my/m-p/21780#M237</link>
      <description>&lt;P&gt;because i wanna it to be tgt with my custom command. so that when i run my custom command, the results will be out immediately.&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2013 11:48:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Editing-of-search-results-using-python-and-not-inline-with-my/m-p/21780#M237</guid>
      <dc:creator>sarahh</dc:creator>
      <dc:date>2013-05-05T11:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Editing of search results using python and not inline with my search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Editing-of-search-results-using-python-and-not-inline-with-my/m-p/21781#M238</link>
      <description>&lt;P&gt;I still don't understand - do you mean that you already wrote a custom command that does some other things and now you want to add this additional functionality to it?&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2013 04:12:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Editing-of-search-results-using-python-and-not-inline-with-my/m-p/21781#M238</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-05-06T04:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Editing of search results using python and not inline with my search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Editing-of-search-results-using-python-and-not-inline-with-my/m-p/21782#M239</link>
      <description>&lt;P&gt;yes, that's what i mean.&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2013 05:30:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Editing-of-search-results-using-python-and-not-inline-with-my/m-p/21782#M239</guid>
      <dc:creator>sarahh</dc:creator>
      <dc:date>2013-05-06T05:30:24Z</dc:date>
    </item>
  </channel>
</rss>

