<?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 Is there a way to index Avro files in Splunk? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-index-Avro-files-in-Splunk/m-p/407921#M72336</link>
    <description>&lt;P&gt;Hi Splunkers,&lt;/P&gt;

&lt;P&gt;I am in an odd pickle here.  &lt;/P&gt;

&lt;P&gt;So, I am ingesting data from Amazon Web Services (AWS) to my Splunk instance. I am able to see the data flowing in but the data is encrypted .avro, which from my knowledge, does not work with Splunk. Is there an add on or another way to decrypt and index these Avro files like JSON?&lt;/P&gt;

&lt;P&gt;I apologize in advance if this question feels repetitive. I didn't find another answer for it.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Oct 2018 20:17:08 GMT</pubDate>
    <dc:creator>djain</dc:creator>
    <dc:date>2018-10-03T20:17:08Z</dc:date>
    <item>
      <title>Is there a way to index Avro files in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-index-Avro-files-in-Splunk/m-p/407921#M72336</link>
      <description>&lt;P&gt;Hi Splunkers,&lt;/P&gt;

&lt;P&gt;I am in an odd pickle here.  &lt;/P&gt;

&lt;P&gt;So, I am ingesting data from Amazon Web Services (AWS) to my Splunk instance. I am able to see the data flowing in but the data is encrypted .avro, which from my knowledge, does not work with Splunk. Is there an add on or another way to decrypt and index these Avro files like JSON?&lt;/P&gt;

&lt;P&gt;I apologize in advance if this question feels repetitive. I didn't find another answer for it.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 20:17:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-index-Avro-files-in-Splunk/m-p/407921#M72336</guid>
      <dc:creator>djain</dc:creator>
      <dc:date>2018-10-03T20:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to index Avro files in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-index-Avro-files-in-Splunk/m-p/407922#M72337</link>
      <description>&lt;P&gt;There is not an add-on that can natively ingest Avro files. Splunk is not able to read it because .avro files are in a binary format that Splunk can't read. &lt;/P&gt;

&lt;P&gt;Alternatively, you can change the format to a text format prior to ingestion in order for Splunk to read it. For more information in this approach please check the answers post link below:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/83891/indexing-an-avro-file.html" target="_blank"&gt;https://answers.splunk.com/answers/83891/indexing-an-avro-file.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The example made is as follow:&lt;/P&gt;

&lt;P&gt;Avro to “json” conversion: &lt;/P&gt;

&lt;H2&gt;Install Avro Tools:&lt;/H2&gt;

&lt;P&gt;wget '&lt;A href="https://archive.apache.org/dist/avro/avro-1.7.5/py/avro-1.7.5.tar.gz" target="_blank"&gt;https://archive.apache.org/dist/avro/avro-1.7.5/py/avro-1.7.5.tar.gz&lt;/A&gt;' &lt;BR /&gt;
tar xvf avro-1.7.6.tar.gz &lt;BR /&gt;
cd avro-1.7.6 &lt;BR /&gt;
sudo python setup.py (&lt;A href="https://setup.py/" target="_blank"&gt;https://setup.py/&lt;/A&gt;) install &lt;/P&gt;

&lt;H2&gt;Install Avro Tools using PIP:&lt;/H2&gt;

&lt;P&gt;pip install avro &lt;/P&gt;

&lt;H2&gt;Conversion from Avro to json&lt;/H2&gt;

&lt;P&gt;avro cat "/avro_file_path/*.avro" -- format json &amp;gt;"output_file_path/output.json" &lt;/P&gt;

&lt;H2&gt;Data input &amp;gt;&amp;gt; Files &amp;amp; Directories &amp;gt;&amp;gt; Moniter "output_file_path/output.json"&lt;/H2&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:11:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-index-Avro-files-in-Splunk/m-p/407922#M72337</guid>
      <dc:creator>hramos_splunk</dc:creator>
      <dc:date>2020-09-30T00:11:22Z</dc:date>
    </item>
  </channel>
</rss>

