<?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 I can find field defintion/regex   for a particular source type  with metadata? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-I-can-find-field-defintion-regex-for-a-particular-source/m-p/287583#M87063</link>
    <description>&lt;P&gt;Give a complete example of what you have as data and what you expect to get as a result of your search.  I have no idea what you are asking.&lt;/P&gt;</description>
    <pubDate>Sat, 24 Oct 2015 07:42:58 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-10-24T07:42:58Z</dc:date>
    <item>
      <title>How I can find field defintion/regex   for a particular source type  with metadata?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-I-can-find-field-defintion-regex-for-a-particular-source/m-p/287582#M87062</link>
      <description>&lt;P&gt;I like to find out how a particular field is extracted from a given sourcetype. Can I find this via splunk front end using metadata or similar command?&lt;BR /&gt;
&amp;lt;P&amp;gt;&lt;BR /&gt;
Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2015 15:43:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-I-can-find-field-defintion-regex-for-a-particular-source/m-p/287582#M87062</guid>
      <dc:creator>aartist</dc:creator>
      <dc:date>2015-10-23T15:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: How I can find field defintion/regex   for a particular source type  with metadata?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-I-can-find-field-defintion-regex-for-a-particular-source/m-p/287583#M87063</link>
      <description>&lt;P&gt;Give a complete example of what you have as data and what you expect to get as a result of your search.  I have no idea what you are asking.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Oct 2015 07:42:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-I-can-find-field-defintion-regex-for-a-particular-source/m-p/287583#M87063</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-10-24T07:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: How I can find field defintion/regex   for a particular source type  with metadata?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-I-can-find-field-defintion-regex-for-a-particular-source/m-p/287584#M87064</link>
      <description>&lt;P&gt;If I understand you correctly, like this (be sure to swap out &lt;CODE&gt;PutYourSourcetypeHere&lt;/CODE&gt; and &lt;CODE&gt;PutYourFieldNameHere&lt;/CODE&gt; with your strings):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest/services/configs/conf-props sourcetype="PutYourSourcetypeHere" | eval fields_with_string="," | foreach * [eval fields_with_string=if((like($&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;$, "%PutYourFieldNameHere%")), fields_with_string . $&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;$ . ",", fields_with_string)] | where fields_with_string!=","
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 24 Oct 2015 15:09:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-I-can-find-field-defintion-regex-for-a-particular-source/m-p/287584#M87064</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-10-24T15:09:53Z</dc:date>
    </item>
  </channel>
</rss>

