<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Using Appian Log Reader Plugin to read login-audit.csv</title><link>https://community.appian.com/discussions/f/plug-ins/30373/using-appian-log-reader-plugin-to-read-login-audit-csv</link><description>Greetings, 
 
 I am looking to utilize the Log Reader plugin to read the login-audit.csv files in logs. I noticed the function returns the structure CsvContents, but it is treating my first row as a header when there is none. How do I go about making</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Using Appian Log Reader Plugin to read login-audit.csv</title><link>https://community.appian.com/thread/120991?ContentTypeID=1</link><pubDate>Fri, 27 Oct 2023 12:52:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:121803ea-5d84-4a7a-bac9-3abad350a167</guid><dc:creator>srikanthreddy9369</dc:creator><description>&lt;p&gt;It&amp;#39;s possible to configure the Log Reader plugin to treat the first row of your login-audit.csv file as part of the rest of the rows and not as a header.&amp;nbsp;To achieve this, you can specify an option to disable the header recognition when using the Log Reader plugin. If you&amp;#39;re using a specific programming language or tool, the exact method to do this may vary, but here&amp;#39;s a general example of how you might modify your code:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="python"&gt;# Example Python code
from log_reader import LogReader

# Initialize the Log Reader with the option to treat the first row as data
log_reader = LogReader(header=False)

# Read the login-audit.csv file
csv_contents = log_reader.read_csv(&amp;quot;login-audit.csv&amp;quot;)

# Now, the first row will be part of the rest of the rows&lt;/pre&gt;&lt;/p&gt;
&lt;div class="bg-black rounded-md"&gt;
&lt;div class="flex items-center relative text-gray-200 bg-gray-800 gizmo:dark:bg-token-surface-primary px-4 py-2 text-xs font-sans justify-between rounded-t-md"&gt;&lt;span&gt;&lt;/span&gt;&lt;code class="!whitespace-pre hljs language-python"&gt;&lt;span class="hljs-comment"&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>