<?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 create a dashboard when required fields are not present in the event logs? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-when-required-fields-are-not-present/m-p/189220#M54523</link>
    <description>&lt;P&gt;hi moiezuddin,&lt;/P&gt;

&lt;P&gt;it is necessary to extract these fields using regular expressions before achieving dashboards using these fields. And for that you need to identify in your data the values corresponding to each field you need.&lt;BR /&gt;
eg extraction of the field at random from your data: &lt;BR /&gt;
&lt;CODE&gt;source="dashboard_field.csv" host="student09-PC" index="field" sourcetype="csv" |rex "^[^'\n]*'(?P\w+'\))" |table type&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;this allows to retrieve the values of a certain type field that I choose.&lt;BR /&gt;
try this and let me know if it works. or  or you send me the file with which you work at &lt;CODE&gt;gyslainko@gmail.com&lt;/CODE&gt;, and I'll help you extract these fields and then send you the regular expressions that you will use to work with.&lt;/P&gt;

&lt;P&gt;please forgive my english. after&lt;/P&gt;</description>
    <pubDate>Thu, 19 Mar 2015 10:07:26 GMT</pubDate>
    <dc:creator>gyslainlatsa</dc:creator>
    <dc:date>2015-03-19T10:07:26Z</dc:date>
    <item>
      <title>How to create a dashboard when required fields are not present in the event logs?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-when-required-fields-are-not-present/m-p/189219#M54522</link>
      <description>&lt;P&gt;I have a source="/opt/www/logs&lt;/P&gt;

&lt;P&gt;i need the fields &lt;CODE&gt;jobTitle&lt;/CODE&gt;, &lt;CODE&gt;orgName&lt;/CODE&gt;, &lt;CODE&gt;orgSegment&lt;/CODE&gt;, &lt;CODE&gt;parentOrgname&lt;/CODE&gt;, and &lt;CODE&gt;userType&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Can anyone help provide the search?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2015 07:19:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-when-required-fields-are-not-present/m-p/189219#M54522</guid>
      <dc:creator>moiezuddin</dc:creator>
      <dc:date>2015-03-19T07:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard when required fields are not present in the event logs?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-when-required-fields-are-not-present/m-p/189220#M54523</link>
      <description>&lt;P&gt;hi moiezuddin,&lt;/P&gt;

&lt;P&gt;it is necessary to extract these fields using regular expressions before achieving dashboards using these fields. And for that you need to identify in your data the values corresponding to each field you need.&lt;BR /&gt;
eg extraction of the field at random from your data: &lt;BR /&gt;
&lt;CODE&gt;source="dashboard_field.csv" host="student09-PC" index="field" sourcetype="csv" |rex "^[^'\n]*'(?P\w+'\))" |table type&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;this allows to retrieve the values of a certain type field that I choose.&lt;BR /&gt;
try this and let me know if it works. or  or you send me the file with which you work at &lt;CODE&gt;gyslainko@gmail.com&lt;/CODE&gt;, and I'll help you extract these fields and then send you the regular expressions that you will use to work with.&lt;/P&gt;

&lt;P&gt;please forgive my english. after&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2015 10:07:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-when-required-fields-are-not-present/m-p/189220#M54523</guid>
      <dc:creator>gyslainlatsa</dc:creator>
      <dc:date>2015-03-19T10:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard when required fields are not present in the event logs?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-when-required-fields-are-not-present/m-p/189221#M54524</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
If the file contain these fields &lt;BR /&gt;
try like this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="/opt/www/logs" | table jobTitle orgName orgSegment parentOrgname userType
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 Mar 2015 12:27:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-when-required-fields-are-not-present/m-p/189221#M54524</guid>
      <dc:creator>chimell</dc:creator>
      <dc:date>2015-03-20T12:27:45Z</dc:date>
    </item>
  </channel>
</rss>

