# Collecting powershell logs with the old beat version

**URL:** <https://discuss.elastic.co/t/collecting-powershell-logs-with-the-old-beat-version/268637>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [March 29, 2021, 9:08am UTC](https://discuss.elastic.co/t/collecting-powershell-logs-with-the-old-beat-version/268637 "2021-03-29T09:08:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anna\_Foxx](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@Anna\_Foxx](https://discuss.elastic.co/u/Anna_Foxx)\
**Post date:** [March 29, 2021, 9:08am UTC](https://discuss.elastic.co/t/collecting-powershell-logs-with-the-old-beat-version/268637/1 "2021-03-29T09:08:15Z")

</div>

Hi!

In order to collect powershell logs by winlogbeat 6.8, I tried to change config file just adding 2 rows under

```auto
winlogbeat.event_logs:
-name: Windows Powershell
-name: Microsoft-Windows-Powershell/Operational

```

Unfortunately, as a result, I see powershell logs only from system. Has anybody faced with this issue?

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [March 30, 2021, 2:15pm UTC](https://discuss.elastic.co/t/collecting-powershell-logs-with-the-old-beat-version/268637/2 "2021-03-30T14:15:47Z")

</div>

Does the winlogbeat log contain any warnings or errors?

I notice a case issue with the names. `Powershell` should be `PowerShell`. Maybe that's the issue.

```auto
  - name: Windows PowerShell
  - name: Microsoft-Windows-PowerShell/Operational

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 27, 2021, 4:16pm UTC](https://discuss.elastic.co/t/collecting-powershell-logs-with-the-old-beat-version/268637/3 "2021-04-27T16:16:17Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
