<?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: exporting data does not have host information in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/exporting-data-does-not-have-host-information/m-p/27706#M7035</link>
    <description>&lt;P&gt;No, raw format is supposed to contain only the raw event. (the content of the hidden field _raw)&lt;/P&gt;

&lt;P&gt;If you want more details, try to build a table, with the fields you want.&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
mysearch | eval raw=_raw | table _time host source sourcetype raw&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Or edit the raw event to add the fields&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
mysearch | eval _raw="time="._time." host=".host." sourcetype=".sourcetype." source=".source." raw="._raw&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 11:40:53 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2020-09-28T11:40:53Z</dc:date>
    <item>
      <title>exporting data does not have host information</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/exporting-data-does-not-have-host-information/m-p/27705#M7034</link>
      <description>&lt;P&gt;I want to export my logs to a file(raw text) from the search i have done. It does it but problem is it does not include the source of those logs viz hostname the sourcetype etc. Is there a way this information can be exported in raw text exports? I also did not find this in csv format too.&lt;/P&gt;

&lt;P&gt;thanks&lt;BR /&gt;
nitn&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 18:13:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/exporting-data-does-not-have-host-information/m-p/27705#M7034</guid>
      <dc:creator>creativenitin</dc:creator>
      <dc:date>2012-04-16T18:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: exporting data does not have host information</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/exporting-data-does-not-have-host-information/m-p/27706#M7035</link>
      <description>&lt;P&gt;No, raw format is supposed to contain only the raw event. (the content of the hidden field _raw)&lt;/P&gt;

&lt;P&gt;If you want more details, try to build a table, with the fields you want.&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
mysearch | eval raw=_raw | table _time host source sourcetype raw&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Or edit the raw event to add the fields&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
mysearch | eval _raw="time="._time." host=".host." sourcetype=".sourcetype." source=".source." raw="._raw&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:40:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/exporting-data-does-not-have-host-information/m-p/27706#M7035</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2020-09-28T11:40:53Z</dc:date>
    </item>
  </channel>
</rss>

